From: Anatolij Gustschin Date: Wed, 21 Apr 2010 11:52:38 +0000 (+0200) Subject: tx25: fix crash while booting Linux X-Git-Tag: v2010.06-rc1~11^2~10 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=87db58dca47f93f9fb3b4ed0196dd7a3f5df1cb9;p=u-boot tx25: fix crash while booting Linux 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 Cc: John Rigby Cc: Stefano Babic --- diff --git a/board/karo/tx25/tx25.c b/board/karo/tx25/tx25.c index 4d6a96d20e..2608698e29 100644 --- a/board/karo/tx25/tx25.c +++ b/board/karo/tx25/tx25.c @@ -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; }