[ARM] pxa: removing dead ARCH_GUMSTIX_ORIG
ARCH_GUMSTIX_ORIG doesn't exist in Kconfig, therefore removing all references for it from the source code. Signed-off-by: Christoph Egger <siccegge@cs.fau.de> Acked-by: Jaya Kumar <jayakumar.lkml@gmail.com> Signed-off-by: Eric Miao <eric.y.miao@gmail.com>
This commit is contained in:
parent
13a542475d
commit
8ae807c581
|
@ -14,25 +14,15 @@
|
||||||
|
|
||||||
/*
|
/*
|
||||||
GPIOn - Input from MAX823 (or equiv), normalizing USB +5V into a clean
|
GPIOn - Input from MAX823 (or equiv), normalizing USB +5V into a clean
|
||||||
interrupt signal for determining cable presence. On the original gumstix,
|
interrupt signal for determining cable presence. On the gumstix F,
|
||||||
this is GPIO81, and GPIO83 needs to be defined as well. On the gumstix F,
|
|
||||||
this moves to GPIO17 and GPIO37. */
|
this moves to GPIO17 and GPIO37. */
|
||||||
|
|
||||||
/* GPIOx - Connects to USB D+ and used as a pull-up after GPIOn
|
/* GPIOx - Connects to USB D+ and used as a pull-up after GPIOn
|
||||||
has detected a cable insertion; driven low otherwise. */
|
has detected a cable insertion; driven low otherwise. */
|
||||||
|
|
||||||
#ifdef CONFIG_ARCH_GUMSTIX_ORIG
|
|
||||||
|
|
||||||
#define GPIO_GUMSTIX_USB_GPIOn 81
|
|
||||||
#define GPIO_GUMSTIX_USB_GPIOx 83
|
|
||||||
|
|
||||||
#else
|
|
||||||
|
|
||||||
#define GPIO_GUMSTIX_USB_GPIOn 35
|
#define GPIO_GUMSTIX_USB_GPIOn 35
|
||||||
#define GPIO_GUMSTIX_USB_GPIOx 41
|
#define GPIO_GUMSTIX_USB_GPIOx 41
|
||||||
|
|
||||||
#endif
|
|
||||||
|
|
||||||
/* usb state change */
|
/* usb state change */
|
||||||
#define GUMSTIX_USB_INTR_IRQ IRQ_GPIO(GPIO_GUMSTIX_USB_GPIOn)
|
#define GUMSTIX_USB_INTR_IRQ IRQ_GPIO(GPIO_GUMSTIX_USB_GPIOn)
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue