diff options
author | Magnus Lilja <lilja.magnus@gmail.com> | 2008-04-20 10:35:03 +0200 |
---|---|---|
committer | Wolfgang Denk <wd@denx.de> | 2008-04-24 23:37:57 +0200 |
commit | 17c9de6bb33f676eb776dcbfc46fc1b14c3871a5 (patch) | |
tree | 56e2b339cab824c326697ea1a22b4acc7695e220 /board | |
parent | e7ae84d6c7288790e88639f57cb60daf89c11369 (diff) | |
download | u-boot-imx-17c9de6bb33f676eb776dcbfc46fc1b14c3871a5.zip u-boot-imx-17c9de6bb33f676eb776dcbfc46fc1b14c3871a5.tar.gz u-boot-imx-17c9de6bb33f676eb776dcbfc46fc1b14c3871a5.tar.bz2 |
i.MX31: Fix architecture numbers for ADS and Litekit boards
Correct the Linux architecture number for i.MX31 Litekit and ADS boards.
Signed-off-by: Magnus Lilja <lilja.magnus@gmail.com>
Diffstat (limited to 'board')
-rw-r--r-- | board/imx31_litekit/imx31_litekit.c | 2 | ||||
-rw-r--r-- | board/mx31ads/mx31ads.c | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/board/imx31_litekit/imx31_litekit.c b/board/imx31_litekit/imx31_litekit.c index 5ba60e9..e0fbf25 100644 --- a/board/imx31_litekit/imx31_litekit.c +++ b/board/imx31_litekit/imx31_litekit.c @@ -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; diff --git a/board/mx31ads/mx31ads.c b/board/mx31ads/mx31ads.c index a75cc2d..dd0e150 100644 --- a/board/mx31ads/mx31ads.c +++ b/board/mx31ads/mx31ads.c @@ -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; |