[U-Boot] [PATCH] arm/imx31_phycore: Fix bi_arch_number

Detlev Zundel dzu at denx.de
Thu May 7 13:08:55 CEST 2009


Signed-off-by: Detlev Zundel <dzu at denx.de>
Cc: Sascha Hauer <s.hauer at pengutronix.de>
---
 board/imx31_phycore/imx31_phycore.c |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/board/imx31_phycore/imx31_phycore.c b/board/imx31_phycore/imx31_phycore.c
index 93a5c40..92aba96 100644
--- a/board/imx31_phycore/imx31_phycore.c
+++ b/board/imx31_phycore/imx31_phycore.c
@@ -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;
 }
-- 
1.6.0.6



More information about the U-Boot mailing list