From 77eea280744c8adf040d5949c677d905a70d3cf3 Mon Sep 17 00:00:00 2001 From: Javier Martinez Canillas Date: Thu, 27 Dec 2012 01:35:56 +0000 Subject: OMAP3: use a single board file for IGEP devices Even when the IGEPv2 board and the IGEP Computer-on-Module are different from a form factor point of view, they are very similar in the fact that share many components and how they are wired. So, it is possible (and better) to have a single board file for both devices and just use the CONFIG_MACH_TYPE to make a differentiation between each board when needed. This change avoids code duplication by removing 298 lines of code and makes future maintenance easier. Signed-off-by: Javier Martinez Canillas Acked-by: Igor Grinberg --- include/configs/igep00x0.h | 2 ++ 1 file changed, 2 insertions(+) (limited to 'include/configs/igep00x0.h') diff --git a/include/configs/igep00x0.h b/include/configs/igep00x0.h index f8131b1..c590614 100644 --- a/include/configs/igep00x0.h +++ b/include/configs/igep00x0.h @@ -115,7 +115,9 @@ #ifdef CONFIG_BOOT_NAND #define CONFIG_CMD_NAND #endif +#if (CONFIG_MACH_TYPE == MACH_TYPE_IGEP0020) #define CONFIG_CMD_NET /* bootp, tftpboot, rarpboot */ +#endif #define CONFIG_CMD_DHCP #define CONFIG_CMD_PING #define CONFIG_CMD_NFS /* NFS support */ -- cgit v1.1 From 9d4f542123a4ec7557e40a6944c93cbae9242eb3 Mon Sep 17 00:00:00 2001 From: Javier Martinez Canillas Date: Thu, 27 Dec 2012 03:36:01 +0000 Subject: 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 Acked-by: Igor Grinberg --- include/configs/igep00x0.h | 3 +++ 1 file changed, 3 insertions(+) (limited to 'include/configs/igep00x0.h') diff --git a/include/configs/igep00x0.h b/include/configs/igep00x0.h index c590614..f1d6c6a 100644 --- a/include/configs/igep00x0.h +++ b/include/configs/igep00x0.h @@ -85,6 +85,9 @@ #define CONFIG_OMAP_HSMMC 1 #define CONFIG_DOS_PARTITION 1 +/* define to enable boot progress via leds */ +#define CONFIG_SHOW_BOOT_PROGRESS + /* USB */ #define CONFIG_MUSB_UDC 1 #define CONFIG_USB_OMAP3 1 -- cgit v1.1