]> git.kernelconcepts.de Git - karo-tx-uboot.git/commitdiff
tx25: fix crash while booting Linux
authorAnatolij Gustschin <agust@denx.de>
Wed, 21 Apr 2010 11:52:38 +0000 (13:52 +0200)
committerTom <Tom@bumblecow.com>
Mon, 10 May 2010 16:21:52 +0000 (11:21 -0500)
Currently booting Linux on TX25 board doesn't work
since there is no correct mach-id and boot parameters
setup for tx25 board. Fix it now.

Signed-off-by: Anatolij Gustschin <agust@denx.de>
Cc: John Rigby <jcrigby@gmail.com>
Cc: Stefano Babic <sbabic@denx.de>
board/karo/tx25/tx25.c

index 4d6a96d20e3af912bc545b9cd1d20ba219f708ed..2608698e2905edebc39a954e908070b0b00c9e50 100644 (file)
@@ -145,6 +145,9 @@ int board_init()
 
        mx25_uart_init_pins();
 #endif
+       /* board id for linux */
+       gd->bd->bi_arch_number = MACH_TYPE_TX25;
+       gd->bd->bi_boot_params = PHYS_SDRAM_1 + 0x100;
        return 0;
 }