diff mbox

[U-Boot,2/2] OMAP3: igep00x0: Add new IGEP COM PROTON.

Message ID 1360139364-20295-3-git-send-email-eballetbo@gmail.com
State Superseded
Delegated to: Tom Rini
Headers show

Commit Message

Enric Balletbo Serra Feb. 6, 2013, 8:29 a.m. UTC
From: Enric Balletbo i Serra <eballetbo@iseebcn.com>

The IGEP COM PROTON is a new ultra compact module design with an
on-board ethernet controller.

Signed-off-by: Enric Balletbo i Serra <eballetbo@iseebcn.com>
---
 MAINTAINERS                    |    1 +
 board/isee/igep00x0/igep00x0.c |    3 +++
 board/isee/igep00x0/igep00x0.h |    3 +++
 boards.cfg                     |    1 +
 4 files changed, 8 insertions(+)
diff mbox

Patch

diff --git a/MAINTAINERS b/MAINTAINERS
index d3ed390..1aed6d9 100644
--- a/MAINTAINERS
+++ b/MAINTAINERS
@@ -607,6 +607,7 @@  Enric Balletbo i Serra <eballetbo@iseebcn.com>
 
 	igep0020	ARM ARMV7 (OMAP3xx SoC)
 	igep0030	ARM ARMV7 (OMAP3xx SoC)
+	igep0032	ARM ARMV7 (OMAP3xx SoC)
 
 Eric Benard <eric@eukrea.com>
 
diff --git a/board/isee/igep00x0/igep00x0.c b/board/isee/igep00x0/igep00x0.c
index 49fcf34..93aea8b 100644
--- a/board/isee/igep00x0/igep00x0.c
+++ b/board/isee/igep00x0/igep00x0.c
@@ -68,8 +68,11 @@  void show_boot_progress(int val)
 		return;
 	}
 
+/* Skip in the case of IGEP0032 machine */
+#if !(CONFIG_MACH_TYPE == MACH_TYPE_IGEP0032)
 	if (!gpio_request(IGEP00X0_GPIO_LED, ""))
 		gpio_direction_output(IGEP00X0_GPIO_LED, 1);
+#endif
 }
 #endif
 
diff --git a/board/isee/igep00x0/igep00x0.h b/board/isee/igep00x0/igep00x0.h
index dbc7cf6..f5fce9c 100644
--- a/board/isee/igep00x0/igep00x0.h
+++ b/board/isee/igep00x0/igep00x0.h
@@ -39,6 +39,9 @@  const omap3_sysinfo sysinfo = {
 #if (CONFIG_MACH_TYPE == MACH_TYPE_IGEP0030)
 	"IGEP COM MODULE/ELECTRON",
 #endif
+#if (CONFIG_MACH_TYPE == MACH_TYPE_IGEP0032)
+	"IGEP COM PROTON",
+#endif
 #if defined(CONFIG_ENV_IS_IN_ONENAND)
 	"ONENAND",
 #else
diff --git a/boards.cfg b/boards.cfg
index 691a32a..8453836 100644
--- a/boards.cfg
+++ b/boards.cfg
@@ -259,6 +259,7 @@  igep0020                     arm         armv7       igep00x0            isee
 igep0020_nand                arm         armv7       igep00x0            isee           omap3		igep00x0:MACH_TYPE=MACH_TYPE_IGEP0020,BOOT_NAND
 igep0030                     arm         armv7       igep00x0            isee           omap3		igep00x0:MACH_TYPE=MACH_TYPE_IGEP0030,BOOT_ONENAND
 igep0030_nand                arm         armv7       igep00x0            isee           omap3		igep00x0:MACH_TYPE=MACH_TYPE_IGEP0030,BOOT_NAND
+igep0032                     arm         armv7       igep00x0            isee           omap3		igep00x0:MACH_TYPE=MACH_TYPE_IGEP0032,BOOT_ONENAND
 am3517_evm                   arm         armv7       am3517evm           logicpd        omap3
 mt_ventoux                   arm         armv7       mt_ventoux          teejet         omap3
 omap3_zoom1                  arm         armv7       zoom1               logicpd        omap3