From: Ben Gardiner Date: Thu, 14 Oct 2010 21:26:32 +0000 (-0400) Subject: da850evm: fix linux bootparam address X-Git-Tag: v2010.12-rc1~104^2 X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=59e0d611ad0418245e9600b50bf1374a725c95b6;p=oweals%2Fu-boot.git da850evm: fix linux bootparam address 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 Signed-off-by: Sandeep Paulraj --- diff --git a/include/configs/da850evm.h b/include/configs/da850evm.h index d544c13a6c..7bf6336b13 100644 --- a/include/configs/da850evm.h +++ b/include/configs/da850evm.h @@ -138,7 +138,7 @@ /* * 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 \