summaryrefslogtreecommitdiff
path: root/board/omap3/zoom2/zoom2.c
diff options
context:
space:
mode:
authorTom Rix <Tom.Rix@windriver.com>2009-05-31 12:44:39 +0200
committerWolfgang Denk <wd@denx.de>2009-06-12 20:39:53 +0200
commit83ae698ff26b81b569ca32f7f2b008ad0da15e66 (patch)
treeedde3a0a8ece31e491b9ce5088a377f650e27b99 /board/omap3/zoom2/zoom2.c
parent660888b7fb8840ce169dcd2589e49ab44c46b87b (diff)
downloadu-boot-imx-83ae698ff26b81b569ca32f7f2b008ad0da15e66.zip
u-boot-imx-83ae698ff26b81b569ca32f7f2b008ad0da15e66.tar.gz
u-boot-imx-83ae698ff26b81b569ca32f7f2b008ad0da15e66.tar.bz2
ZOOM2 Add led support.
This patch controls the large LED on the top left of the zoom2. Signed-off-by: Tom Rix <Tom.Rix@windriver.com>
Diffstat (limited to 'board/omap3/zoom2/zoom2.c')
-rw-r--r--board/omap3/zoom2/zoom2.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/board/omap3/zoom2/zoom2.c b/board/omap3/zoom2/zoom2.c
index 83e02f6..e5c248d 100644
--- a/board/omap3/zoom2/zoom2.c
+++ b/board/omap3/zoom2/zoom2.c
@@ -29,6 +29,9 @@
* MA 02111-1307 USA
*/
#include <common.h>
+#ifdef CONFIG_STATUS_LED
+#include <status_led.h>
+#endif
#include <asm/io.h>
#include <asm/arch/mem.h>
#include <asm/arch/mux.h>
@@ -86,7 +89,6 @@ int board_init (void)
#if defined(CONFIG_STATUS_LED) && defined(STATUS_LED_BOOT)
status_led_set (STATUS_LED_BOOT, STATUS_LED_ON);
#endif
-
return 0;
}