diff options
author | H. Nikolaus Schaller <hns@goldelico.com> | 2011-04-22 18:16:05 +0200 |
---|---|---|
committer | H. Nikolaus Schaller <hns@goldelico.com> | 2011-04-22 18:16:05 +0200 |
commit | 9ea48d8b7f2dec77064c73e82730ef24df1e2ffe (patch) | |
tree | 9cffd4cb371da4275ab28da244574f13a5ddcc7b | |
parent | 67fa659acb97323da480a4a545560d4d27c5796a (diff) | |
download | bootable_bootloader_goldelico_gta04-9ea48d8b7f2dec77064c73e82730ef24df1e2ffe.zip bootable_bootloader_goldelico_gta04-9ea48d8b7f2dec77064c73e82730ef24df1e2ffe.tar.gz bootable_bootloader_goldelico_gta04-9ea48d8b7f2dec77064c73e82730ef24df1e2ffe.tar.bz2 |
fixed GPIOs for GTA04
-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 |