diff mbox

[U-Boot,2/2] ARM: dig297: define CONFIG_MACH_TYPE

Message ID 1320228352-9004-1-git-send-email-luca.ceresoli@comelit.it
State Changes Requested
Headers show

Commit Message

Luca Ceresoli Nov. 2, 2011, 10:05 a.m. UTC
Signed-off-by: Luca Ceresoli <luca.ceresoli@comelit.it>
Cc: Sandeep Paulraj <s-paulraj@ti.com>
Cc: Albert Aribaud <albert.u.boot@aribaud.net>
Cc: Wolfgang Denk <wd@denx.de>
---
 board/comelit/dig297/dig297.c |    2 --
 include/configs/dig297.h      |    1 +
 2 files changed, 1 insertions(+), 2 deletions(-)
diff mbox

Patch

diff --git a/board/comelit/dig297/dig297.c b/board/comelit/dig297/dig297.c
index c81ce58..6548281 100644
--- a/board/comelit/dig297/dig297.c
+++ b/board/comelit/dig297/dig297.c
@@ -91,8 +91,6 @@  static const u32 gpmc_lan_config[] = {
 int board_init(void)
 {
 	gpmc_init();		/* in SRAM or SDRAM, finish GPMC */
-	/* board id for Linux */
-	gd->bd->bi_arch_number = MACH_TYPE_OMAP3_CPS;
 	/* boot param addr */
 	gd->bd->bi_boot_params = (OMAP34XX_SDRC_CS0 + 0x100);
 
diff --git a/include/configs/dig297.h b/include/configs/dig297.h
index e1e308c..9baf415 100644
--- a/include/configs/dig297.h
+++ b/include/configs/dig297.h
@@ -38,6 +38,7 @@ 
 #else
 #define MACH_TYPE_OMAP3_CPS 2751
 #endif
+#define CONFIG_MACH_TYPE MACH_TYPE_OMAP3_CPS
 
 /*
  * High Level Configuration Options