diff options
-rw-r--r-- | board/goldelico/gta04/status.c | 10 |
1 files changed, 7 insertions, 3 deletions
diff --git a/board/goldelico/gta04/status.c b/board/goldelico/gta04/status.c index 8d0dba1..a78ab92 100644 --- a/board/goldelico/gta04/status.c +++ b/board/goldelico/gta04/status.c @@ -79,20 +79,24 @@ static int isXM = 0; #define GPIO_GPSEXT 144 // external GPS antenna is plugged in #define GPIO_PENIRQ 160 // TSC must be set up to provide PENIRQ -#elif defined(CONFIG_OMAP3_BEAGLE_EXPANDER) +#elif defined(CONFIG_OMAP3_BEAGLE_HYBRID) #define GPIO_AUX 136 // AUX/User button #define GPIO_POWER 137 // POWER button #define GPIO_GPSEXT 138 // external GPS antenna is plugged in #define GPIO_PENIRQ 157 // TSC must be set up to provide PENIRQ -#else +#elif defined(CONFIG_OMAP3_BEAGLE_EXPANDER) #define GPIO_AUX 136 // AUX/User button -#define GPIO_POWER 137 // N/A on GTA04 +#define GPIO_POWER 137 // POWER button #define GPIO_GPSEXT 138 // external GPS antenna is plugged in #define GPIO_PENIRQ 157 // TSC must be set up to provide PENIRQ +#else + +#error unknown config + #endif #define GPIO_LED_AUX_RED (isXM?88:70) // AUX |