diff options
| author | Fabio Estevam <[email protected]> | 2011-09-22 08:07:22 +0000 |
|---|---|---|
| committer | Albert ARIBAUD <[email protected]> | 2011-09-30 22:01:04 +0200 |
| commit | 00e11a439729a1a63ec13fea85a4c091c2d0376c (patch) | |
| tree | a4f1762d7d5ed34de95ba843903db5aa0ee4fdad | |
| parent | 7c2eabab0d494a46cff3ff7a5c62d9a97df34eb0 (diff) | |
mx53evk: Place machine ID into board config
Let common code set the machine ID.
Signed-off-by: Fabio Estevam <[email protected]>
Acked-by: Stefano Babic <[email protected]>
Acked-by: Jason Liu <[email protected]>
| -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 81857ffed35..fd821c0b1db 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 7fb1d9aa759..b127b06cc38 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 */ |
