[U-Boot] [PATCH] ARMV7: OMAP3: BeagleBoard: add more expansionboard IDs

Jason Kridner jkridner at beagleboard.org
Fri Nov 5 06:46:49 CET 2010


From: Koen Kooi <koen at dominion.thruhere.net>

Signed-off-by: Koen Kooi <koen at dominion.thruhere.net>
Signed-off-by: Jason Kridner <jkridner at beagleboard.org>
---
 board/ti/beagle/beagle.c |   16 ++++++++++++++++
 1 files changed, 16 insertions(+), 0 deletions(-)

diff --git a/board/ti/beagle/beagle.c b/board/ti/beagle/beagle.c
index d9b6f01..520e57d 100644
--- a/board/ti/beagle/beagle.c
+++ b/board/ti/beagle/beagle.c
@@ -48,6 +48,10 @@
 #define TINCANTOOLS_TRAINER		0x04000100
 #define TINCANTOOLS_SHOWDOG		0x03000100
 #define KBADC_BEAGLEFPGA		0x01000600
+#define LW_BEAGLETOUCH			0x01000700
+#define LCDOG_BRAINMUX			0x01000800
+#define LCDOG_BRAINMUXTOUCH		0x02000800
+#define SF_HARDHAT			0x01000900
 
 #define BEAGLE_NO_EEPROM		0xffffffff
 
@@ -223,6 +227,18 @@ int misc_init_r(void)
 		MUX_KBADC_BEAGLEFPGA();
 		setenv("buddy", "beaglefpga");
 		break;
+	case LW_BEAGLETOUCH:
+		printf("Recognized Liquidware Beagletouch board\n");
+		setenv("buddy", "beagletouch");
+		break;
+	case LCDOG_BRAINMUX:
+		printf("Recognized Brainmux LCDog board\n");
+		setenv("buddy", "lcdog");
+		break;
+	case LCDOG_BRAINMUXTOUCH:
+		printf("Recognized Brainmux LCDog Touch board\n");
+		setenv("buddy", "lcdogtouch");
+		break;
 	case BEAGLE_NO_EEPROM:
 		printf("No EEPROM on expansion board\n");
 		setenv("buddy", "none");
-- 
1.5.6.4



More information about the U-Boot mailing list