Commit f39c008e924341fac899a352f7f6e83325893aee

Authored by Fabio Estevam
Committed by Albert ARIBAUD
1 parent 9aa3c6a1ee

mx25pdk: 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 2 additions and 1 deletions Side-by-side Diff

board/freescale/mx25pdk/mx25pdk.c
... ... @@ -42,7 +42,6 @@
42 42  
43 43 int board_init(void)
44 44 {
45   - gd->bd->bi_arch_number = MACH_TYPE_MX25_3DS;
46 45 /* address of boot parameters */
47 46 gd->bd->bi_boot_params = PHYS_SDRAM_1 + 0x100;
48 47  
include/configs/mx25pdk.h
... ... @@ -28,6 +28,8 @@
28 28 #define CONFIG_SETUP_MEMORY_TAGS
29 29 #define CONFIG_INITRD_TAG
30 30  
  31 +#define CONFIG_MACH_TYPE MACH_TYPE_MX25_3DS
  32 +
31 33 /* Size of malloc() pool */
32 34 #define CONFIG_SYS_MALLOC_LEN (CONFIG_ENV_SIZE + 2 * 1024 * 1024)
33 35