arm/imx31_phycore: Fix bi_arch_number
authorDetlev Zundel <dzu@denx.de>
Thu, 7 May 2009 11:08:55 +0000 (13:08 +0200)
committerJean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com>
Fri, 15 May 2009 08:32:40 +0000 (10:32 +0200)
Signed-off-by: Detlev Zundel <dzu@denx.de>
Cc: Sascha Hauer <s.hauer@pengutronix.de>
board/imx31_phycore/imx31_phycore.c

index 93a5c40d77ea4ff58132376eaba53386ad86a1b3..92aba96b98343a76f9ce53e9f8f5e82a462586ac 100644 (file)
@@ -61,8 +61,8 @@ int board_init (void)
        mx31_gpio_mux(MUX_CSPI2_MOSI__I2C2_SCL);
        mx31_gpio_mux(MUX_CSPI2_MISO__I2C2_SDA);
 
-       gd->bd->bi_arch_number = 447;           /* board id for linux */
-       gd->bd->bi_boot_params = (0x80000100);  /* adress of boot parameters */
+       gd->bd->bi_arch_number = MACH_TYPE_PCM037;      /* board id for linux */
+       gd->bd->bi_boot_params = (0x80000100);          /* adress of boot parameters */
 
        return 0;
 }