summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorH. Nikolaus Schaller <hns@goldelico.com>2011-04-22 18:16:05 +0200
committerH. Nikolaus Schaller <hns@goldelico.com>2011-04-22 18:16:05 +0200
commit9ea48d8b7f2dec77064c73e82730ef24df1e2ffe (patch)
tree9cffd4cb371da4275ab28da244574f13a5ddcc7b
parent67fa659acb97323da480a4a545560d4d27c5796a (diff)
downloadbootable_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.c10
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