arm: Remove strongarm support
There are no platforms using this architecture anymore, remove it. Signed-off-by: Tom Rini <trini@konsulko.com>
This commit is contained in:
@@ -1048,13 +1048,6 @@ static int eth_set_config(struct eth_dev *dev, unsigned number,
|
||||
int result = 0;
|
||||
struct usb_gadget *gadget = dev->gadget;
|
||||
|
||||
if (gadget_is_sa1100(gadget)
|
||||
&& dev->config
|
||||
&& dev->tx_qlen != 0) {
|
||||
/* tx fifo is full, but we can't clear it...*/
|
||||
pr_err("can't change configurations");
|
||||
return -ESPIPE;
|
||||
}
|
||||
eth_reset_config(dev);
|
||||
|
||||
switch (number) {
|
||||
@@ -2019,14 +2012,6 @@ static int eth_bind(struct usb_gadget *gadget)
|
||||
/* sh doesn't support multiple interfaces or configs */
|
||||
cdc = 0;
|
||||
rndis = 0;
|
||||
} else if (gadget_is_sa1100(gadget)) {
|
||||
/* hardware can't write zlps */
|
||||
zlp = 0;
|
||||
/*
|
||||
* sa1100 CAN do CDC, without status endpoint ... we use
|
||||
* non-CDC to be compatible with ARM Linux-2.4 "usb-eth".
|
||||
*/
|
||||
cdc = 0;
|
||||
}
|
||||
|
||||
gcnum = usb_gadget_controller_number(gadget);
|
||||
|
||||
@@ -45,13 +45,6 @@
|
||||
#define gadget_is_sh(g) 0
|
||||
#endif
|
||||
|
||||
/* not yet stable on 2.6 (would help "original Zaurus") */
|
||||
#ifdef CONFIG_USB_GADGET_SA1100
|
||||
#define gadget_is_sa1100(g) (!strcmp("sa1100_udc", (g)->name))
|
||||
#else
|
||||
#define gadget_is_sa1100(g) 0
|
||||
#endif
|
||||
|
||||
/* handhelds.org tree (?) */
|
||||
#ifdef CONFIG_USB_GADGET_MQ11XX
|
||||
#define gadget_is_mq11xx(g) (!strcmp("mq11xx_udc", (g)->name))
|
||||
@@ -183,8 +176,6 @@ static inline int usb_gadget_controller_number(struct usb_gadget *gadget)
|
||||
return 0x02;
|
||||
else if (gadget_is_sh(gadget))
|
||||
return 0x04;
|
||||
else if (gadget_is_sa1100(gadget))
|
||||
return 0x05;
|
||||
else if (gadget_is_goku(gadget))
|
||||
return 0x06;
|
||||
else if (gadget_is_mq11xx(gadget))
|
||||
|
||||
Reference in New Issue
Block a user