Commit 4c414387308b2e08479080ab07e03c9259d38d6f

Authored by Fabio Estevam
Committed by Albert ARIBAUD
1 parent da3598ac7a

imx31_litekit: 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/logicpd/imx31_litekit/imx31_litekit.c
... ... @@ -70,7 +70,6 @@
70 70  
71 71 int board_init(void)
72 72 {
73   - gd->bd->bi_arch_number = MACH_TYPE_MX31LITE; /* board id for linux */
74 73 gd->bd->bi_boot_params = (0x80000100); /* adress of boot parameters */
75 74  
76 75 return 0;
include/configs/imx31_litekit.h
... ... @@ -41,6 +41,8 @@
41 41  
42 42 #define CONFIG_SYS_TEXT_BASE 0xa0000000
43 43  
  44 +#define CONFIG_MACH_TYPE MACH_TYPE_MX31LITE
  45 +
44 46 /* Temporarily disabled */
45 47 #if 0
46 48 #define CONFIG_OF_LIBFDT 1