summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorFabio Estevam <fabio.estevam@freescale.com>2011-09-22 08:07:22 +0000
committerAlbert ARIBAUD <albert.u.boot@aribaud.net>2011-09-30 22:01:04 +0200
commit00e11a439729a1a63ec13fea85a4c091c2d0376c (patch)
treea4f1762d7d5ed34de95ba843903db5aa0ee4fdad
parent7c2eabab0d494a46cff3ff7a5c62d9a97df34eb0 (diff)
downloadblackbird-obmc-uboot-00e11a439729a1a63ec13fea85a4c091c2d0376c.tar.gz
blackbird-obmc-uboot-00e11a439729a1a63ec13fea85a4c091c2d0376c.zip
mx53evk: Place machine ID into board config
Let common code set the machine ID. Signed-off-by: Fabio Estevam <fabio.estevam@freescale.com> Acked-by: Stefano Babic <sbabic@denx.de> Acked-by: Jason Liu <jason.hui@linaro.org>
-rw-r--r--board/freescale/mx53evk/mx53evk.c1
-rw-r--r--include/configs/mx53evk.h2
2 files changed, 2 insertions, 1 deletions
diff --git a/board/freescale/mx53evk/mx53evk.c b/board/freescale/mx53evk/mx53evk.c
index 81857ffed3..fd821c0b1d 100644
--- a/board/freescale/mx53evk/mx53evk.c
+++ b/board/freescale/mx53evk/mx53evk.c
@@ -355,7 +355,6 @@ int board_early_init_f(void)
int board_init(void)
{
- gd->bd->bi_arch_number = MACH_TYPE_MX53_EVK;
/* address of boot parameters */
gd->bd->bi_boot_params = PHYS_SDRAM_1 + 0x100;
diff --git a/include/configs/mx53evk.h b/include/configs/mx53evk.h
index 7fb1d9aa75..b127b06cc3 100644
--- a/include/configs/mx53evk.h
+++ b/include/configs/mx53evk.h
@@ -29,6 +29,8 @@
#define CONFIG_DISPLAY_CPUINFO
#define CONFIG_DISPLAY_BOARDINFO
+#define CONFIG_MACH_TYPE MACH_TYPE_MX53_EVK
+
#include <asm/arch/imx-regs.h>
#define CONFIG_CMDLINE_TAG 1 /* enable passing of ATAGs */
OpenPOWER on IntegriCloud