]> git.dujemihanovic.xyz Git - u-boot.git/commitdiff
da850evm: fix linux bootparam address
authorBen Gardiner <bengardiner@nanometrics.ca>
Thu, 14 Oct 2010 21:26:32 +0000 (17:26 -0400)
committerWolfgang Denk <wd@denx.de>
Sun, 17 Oct 2010 18:14:59 +0000 (20:14 +0200)
This patch fixes the LINUX_BOOT_PARAM_ADDR define to be based off of
PHYS_SDRAM_1 instead of CONFIG_SYS_MEMTEST_START. On da830 they are the same
thing but on da850 the CONFIG_SYS_MEMSTART define is offset from the
PHYS_SDRAM_1 start.

Without this patch it is not possible to boot linux on da850 -- bootm hangs
at "Uncompressing Linux... done, booting the kernel."

Signed-off-by: Ben Gardiner <bengardiner@nanometrics.ca>
Signed-off-by: Sandeep Paulraj <s-paulraj@ti.com>
include/configs/da850evm.h

index d544c13a6c9ec64003fbce27e030d4b5f7e02a3a..7bf6336b1312544958874f6dd37395fd5992b853 100644 (file)
 /*
  * Linux Information
  */
-#define LINUX_BOOT_PARAM_ADDR  (CONFIG_SYS_MEMTEST_START + 0x100)
+#define LINUX_BOOT_PARAM_ADDR  (PHYS_SDRAM_1 + 0x100)
 #define CONFIG_CMDLINE_TAG
 #define CONFIG_SETUP_MEMORY_TAGS
 #define CONFIG_BOOTARGS                \