diff options
author | Anatolij Gustschin <agust@denx.de> | 2010-04-21 13:52:38 +0200 |
---|---|---|
committer | Stefano Babic <sbabic@denx.de> | 2010-05-05 09:48:41 +0200 |
commit | 87db58dca47f93f9fb3b4ed0196dd7a3f5df1cb9 (patch) | |
tree | 33093eae594305f8d268de7b3044dc783d27a6e1 /board/karo | |
parent | b88c5988db176a0f9de5598d5167ee2498637d40 (diff) | |
download | u-boot-87db58dca47f93f9fb3b4ed0196dd7a3f5df1cb9.tar.gz u-boot-87db58dca47f93f9fb3b4ed0196dd7a3f5df1cb9.tar.bz2 u-boot-87db58dca47f93f9fb3b4ed0196dd7a3f5df1cb9.zip |
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 <agust@denx.de>
Cc: John Rigby <jcrigby@gmail.com>
Cc: Stefano Babic <sbabic@denx.de>
Diffstat (limited to 'board/karo')
-rw-r--r-- | board/karo/tx25/tx25.c | 3 |
1 files changed, 3 insertions, 0 deletions
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; } |