{
u16 csr;
int result = 1;
- int timeout = CONFIG_USB_MUSB_TIMEOUT;
+ int timeout = MUSB_TIMEOUT;
while (result > 0) {
csr = readw(&musbr->txcsr);
static int wait_until_txep_ready(struct usb_device *dev, u8 ep)
{
u16 csr;
- int timeout = CONFIG_USB_MUSB_TIMEOUT;
+ int timeout = MUSB_TIMEOUT;
do {
if (check_stall(ep, 1)) {
static int wait_until_rxep_ready(struct usb_device *dev, u8 ep)
{
u16 csr;
- int timeout = CONFIG_USB_MUSB_TIMEOUT;
+ int timeout = MUSB_TIMEOUT;
do {
if (check_stall(ep, 0)) {
extern unsigned char new[];
#endif
-#ifndef CONFIG_USB_MUSB_TIMEOUT
-# define CONFIG_USB_MUSB_TIMEOUT 100000
-#endif
+#define MUSB_TIMEOUT 100000
/* This defines the endpoint number used for control transfers */
#define MUSB_CONTROL_EP 0