Commit 4cd300ef1636173d7a1e4bcac1dfd482f813c2ab

Authored by Fabio Estevam
Committed by Albert ARIBAUD
1 parent 4c41438730

mx51evk: Place machine ID into board config

Let common code set the machine ID.

Signed-off-by: Fabio Estevam <fabio.estevam@freescale.com>

Showing 2 changed files with 1 additions and 1 deletions Side-by-side Diff

board/freescale/mx51evk/mx51evk.c
... ... @@ -403,7 +403,6 @@
403 403 {
404 404 system_rev = get_cpu_rev();
405 405  
406   - gd->bd->bi_arch_number = MACH_TYPE_MX51_BABBAGE;
407 406 /* address of boot parameters */
408 407 gd->bd->bi_boot_params = PHYS_SDRAM_1 + 0x100;
409 408  
include/configs/mx51evk.h
... ... @@ -48,6 +48,7 @@
48 48  
49 49 #define CONFIG_OF_LIBFDT 1
50 50  
  51 +#define CONFIG_MACH_TYPE MACH_TYPE_MX51_BABBAGE
51 52 /*
52 53 * Size of malloc() pool
53 54 */