diff options
author | Fabio Estevam <fabio.estevam@freescale.com> | 2011-09-22 08:07:22 +0000 |
---|---|---|
committer | Albert ARIBAUD <albert.u.boot@aribaud.net> | 2011-09-30 22:01:04 +0200 |
commit | 00e11a439729a1a63ec13fea85a4c091c2d0376c (patch) | |
tree | a4f1762d7d5ed34de95ba843903db5aa0ee4fdad | |
parent | 7c2eabab0d494a46cff3ff7a5c62d9a97df34eb0 (diff) | |
download | u-boot-imx-00e11a439729a1a63ec13fea85a4c091c2d0376c.zip u-boot-imx-00e11a439729a1a63ec13fea85a4c091c2d0376c.tar.gz u-boot-imx-00e11a439729a1a63ec13fea85a4c091c2d0376c.tar.bz2 |
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.c | 1 | ||||
-rw-r--r-- | include/configs/mx53evk.h | 2 |
2 files changed, 2 insertions, 1 deletions
diff --git a/board/freescale/mx53evk/mx53evk.c b/board/freescale/mx53evk/mx53evk.c index 81857ff..fd821c0 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 7fb1d9a..b127b06 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 */ |