[U-Boot] [PATCH 2/7] BeagleBoard: fix LED 0/1 in driver

Joel A Fernandes agnel.joel at gmail.com
Tue Aug 16 04:42:02 CEST 2011


From: Jason Kridner <jkridner at beagleboard.org>

Fixed USR0/USR1 to be LED 0/1 respectively

Signed-off-by: Jason Kridner <jkridner at beagleboard.org>
Signed-off-by: Koen Kooi <koen at dominion.thruhere.net>
Signed-off-by: Joel A Fernandes <agnel.joel at gmail.com>
---
 board/ti/beagle/led.c |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/board/ti/beagle/led.c b/board/ti/beagle/led.c
index 08f95a0..d3de51f 100644
--- a/board/ti/beagle/led.c
+++ b/board/ti/beagle/led.c
@@ -27,8 +27,8 @@
 static unsigned int saved_state[2] = {STATUS_LED_OFF, STATUS_LED_OFF};
 
 /* GPIO pins for the LEDs */
-#define BEAGLE_LED_USR0	149
-#define BEAGLE_LED_USR1	150
+#define BEAGLE_LED_USR0	150
+#define BEAGLE_LED_USR1	149
 
 #ifdef STATUS_LED_GREEN
 void green_LED_off (void)
-- 
1.7.1



More information about the U-Boot mailing list