summaryrefslogtreecommitdiff
path: root/board/isee/igep00x0/igep00x0.h
diff options
context:
space:
mode:
authorJavier Martinez Canillas <javier@dowhile0.org>2012-12-27 03:36:01 +0000
committerTom Rini <trini@ti.com>2013-02-07 10:36:25 -0500
commit9d4f542123a4ec7557e40a6944c93cbae9242eb3 (patch)
tree4bda8a16b39e830189f02a22b6561cec04f24200 /board/isee/igep00x0/igep00x0.h
parent77eea280744c8adf040d5949c677d905a70d3cf3 (diff)
downloadu-boot-imx-9d4f542123a4ec7557e40a6944c93cbae9242eb3.zip
u-boot-imx-9d4f542123a4ec7557e40a6944c93cbae9242eb3.tar.gz
u-boot-imx-9d4f542123a4ec7557e40a6944c93cbae9242eb3.tar.bz2
OMAP3: igep00x0: add boot status GPIO LED
This patch adds an GPIO LED boot status for IGEP boards. The GPIO LED used is the red LED0 while the Linux kernel uses the green LED0 as the boot status. By using different GPIO LEDs, the user can know in which step of the boot process the board currently is. Signed-off-by: Javier Martinez Canillas <javier.martinez@collabora.co.uk> Acked-by: Igor Grinberg <grinberg@compulab.co.il>
Diffstat (limited to 'board/isee/igep00x0/igep00x0.h')
-rw-r--r--board/isee/igep00x0/igep00x0.h8
1 files changed, 8 insertions, 0 deletions
diff --git a/board/isee/igep00x0/igep00x0.h b/board/isee/igep00x0/igep00x0.h
index 6d538db..3a84335 100644
--- a/board/isee/igep00x0/igep00x0.h
+++ b/board/isee/igep00x0/igep00x0.h
@@ -23,6 +23,14 @@
#ifndef _IGEP00X0_H_
#define _IGEP00X0_H_
+#if (CONFIG_MACH_TYPE == MACH_TYPE_IGEP0020)
+#define IGEP00X0_GPIO_LED 27
+#endif
+
+#if (CONFIG_MACH_TYPE == MACH_TYPE_IGEP0030)
+#define IGEP00X0_GPIO_LED 16
+#endif
+
const omap3_sysinfo sysinfo = {
DDR_STACKED,
#if (CONFIG_MACH_TYPE == MACH_TYPE_IGEP0020)