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

index 0402a0b72921040b689a6bd42b9630c34f75426d..7214008988b200d5c7e6c7ff039ae78017219db0 100644 (file)
@@ -70,7 +70,6 @@ int board_early_init_f(void)
 
 int board_init(void)
 {
-       gd->bd->bi_arch_number = MACH_TYPE_MX31LITE; /* board id for linux */
        gd->bd->bi_boot_params = (0x80000100);  /* adress of boot parameters */
 
        return 0;
index 2a02b3d5f5c32ac121a71bdeb8ec4a3bba391710..5e976bc165699f8b5ace1803705706f96a629ef3 100644 (file)
@@ -41,6 +41,8 @@
 
 #define CONFIG_SYS_TEXT_BASE   0xa0000000
 
+#define CONFIG_MACH_TYPE       MACH_TYPE_MX31LITE
+
 /* Temporarily disabled */
 #if 0
 #define CONFIG_OF_LIBFDT               1