]> git.dujemihanovic.xyz Git - u-boot.git/commitdiff
mx51evk: Place machine ID into board config
authorFabio Estevam <fabio.estevam@freescale.com>
Thu, 22 Sep 2011 08:07:18 +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>
board/freescale/mx51evk/mx51evk.c
include/configs/mx51evk.h

index 94ea1f29051fc675b4de614a778f0ee63c1c5da2..8da1ee8b1aa15c016b41d2dae6ab041254140d69 100644 (file)
@@ -403,7 +403,6 @@ int board_init(void)
 {
        system_rev = get_cpu_rev();
 
-       gd->bd->bi_arch_number = MACH_TYPE_MX51_BABBAGE;
        /* address of boot parameters */
        gd->bd->bi_boot_params = PHYS_SDRAM_1 + 0x100;
 
index 7d05dc8429295f6370dcb8ee3c4960ed15e43f32..d62a4f2965598e0a8c6fc83d03893ac7ace1b40b 100644 (file)
@@ -48,6 +48,7 @@
 
 #define CONFIG_OF_LIBFDT               1
 
+#define CONFIG_MACH_TYPE       MACH_TYPE_MX51_BABBAGE
 /*
  * Size of malloc() pool
  */