Skip to contentSkip to conversation

i.MX31: Fix architecture numbers for ADS and Litekit boards

PATCH New Magnus Lilja 2 participants 2 messages Apr 20, 2008 – Apr 25, 2008 Arm i.MX and Layerscape

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 i.MX31: Fix architecture numbers for ADS and Litekit boards

Correct the Linux architecture number for i.MX31 Litekit and ADS boards.

---

 board/imx31_litekit/imx31_litekit.c |    2 +-
 board/mx31ads/mx31ads.c             |    2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)
board/imx31_litekit/imx31_litekit.c +1 -1
index 5ba60e9..e0fbf25 100644
@@ -52,7 +52,7 @@ int board_init (void)
 	mx31_gpio_mux(MUX_RTS1__UART1_RTS_B);
 	mx31_gpio_mux(MUX_RTS1__UART1_CTS_B);
 
-	gd->bd->bi_arch_number = 447;		/* board id for linux */
+	gd->bd->bi_arch_number = MACH_TYPE_MX31LITE; /* board id for linux */
 	gd->bd->bi_boot_params = (0x80000100);	/* adress of boot parameters */
 
 	return 0;
board/mx31ads/mx31ads.c +1 -1
index 7c50c02..4fc95b4 100644
@@ -81,7 +81,7 @@ int board_init (void)
 	readb(CS4_BASE + 8);
 	readb(CS4_BASE + 7);
 
-	gd->bd->bi_arch_number = 447;		/* board id for linux */
+	gd->bd->bi_arch_number = MACH_TYPE_MX31ADS;	/* board id for linux */
 	gd->bd->bi_boot_params = 0x80000100;	/* adress of boot parameters */
 
 	return 0;
#1 lore raw

PATCH 1/1 i.MX31: Fix architecture numbers for ADS and Litekit boards

Quoted 8 lines · In message <[email protected]> you wrote:

Correct the Linux architecture number for i.MX31 Litekit and ADS boards.

---

 board/imx31_litekit/imx31_litekit.c |    2 +-
 board/mx31ads/mx31ads.c             |    2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

Applied, thanks.

Best regards,

Wolfgang Denk

Signature · 5 lines
DENX Software Engineering GmbH,     MD: Wolfgang Denk & Detlev Zundel
HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany
Phone: (+49)-8142-66989-10 Fax: (+49)-8142-66989-80 Email: wd at denx.de
Every living thing wants to survive.
	-- Spock, "The Ultimate Computer", stardate 4731.3