]> git.dujemihanovic.xyz Git - u-boot.git/commitdiff
mx53evk: Place machine ID into board config
authorFabio Estevam <fabio.estevam@freescale.com>
Thu, 22 Sep 2011 08:07:22 +0000 (08:07 +0000)
committerAlbert ARIBAUD <albert.u.boot@aribaud.net>
Fri, 30 Sep 2011 20:01:04 +0000 (22:01 +0200)
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>
board/freescale/mx53evk/mx53evk.c
include/configs/mx53evk.h

index 81857ffed35fa9b3e2fb62ebdea3f43f70db3fc8..fd821c0b1db9b77d9d8b7a34599a9ad6cf6032e0 100644 (file)
@@ -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;
 
index 7fb1d9aa75935581f69f10638e77ff54e71f98eb..b127b06cc38e4124125eeab5bf3a40fd1c0d5075 100644 (file)
@@ -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 */