i.MX31: Fix architecture numbers for ADS and Litekit boards
authorMagnus Lilja <lilja.magnus@gmail.com>
Sun, 20 Apr 2008 08:35:03 +0000 (10:35 +0200)
committerWolfgang Denk <wd@denx.de>
Thu, 24 Apr 2008 21:37:57 +0000 (23:37 +0200)
Correct the Linux architecture number for i.MX31 Litekit and ADS boards.

Signed-off-by: Magnus Lilja <lilja.magnus@gmail.com>
board/imx31_litekit/imx31_litekit.c
board/mx31ads/mx31ads.c

index 5ba60e9f7eedc94cc927a3b37605399a564e3356..e0fbf25fc4726d771b3503b31ebcf7bd231aae1d 100644 (file)
@@ -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;
index a75cc2d0572f03c050310939580df8dff8259a5f..dd0e150e92a7d0a1b2d94b7bb2018af47eae451d 100644 (file)
@@ -93,7 +93,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;