summaryrefslogtreecommitdiff
path: root/include/configs/3c120_devboard.h
diff options
context:
space:
mode:
authorMarek Vasut <marex@denx.de>2015-12-15 03:09:24 +0100
committerThomas Chou <thomas@wytron.com.tw>2015-12-19 09:48:14 +0800
commitbc3abe149f95c72e6f14acba5583c72c61464cd3 (patch)
tree64f58432746ec85e0c6810cb7a374f218e85125f /include/configs/3c120_devboard.h
parent7ef051ec9e5d77b0222e02201cdbc9f8d8ebc194 (diff)
downloadu-boot-imx-bc3abe149f95c72e6f14acba5583c72c61464cd3.zip
u-boot-imx-bc3abe149f95c72e6f14acba5583c72c61464cd3.tar.gz
u-boot-imx-bc3abe149f95c72e6f14acba5583c72c61464cd3.tar.bz2
nios2: Preconfigure $loadaddr variable
Preset the $loadaddr environment variable to some sane default, let's say half of the RAM. This variable is where the kernel is loaded using all sorts of .*load commands, so it's convenient to have it set. Signed-off-by: Marek Vasut <marex@denx.de> Signed-off-by: Thomas Chou <thomas@wytron.com.tw>
Diffstat (limited to 'include/configs/3c120_devboard.h')
-rw-r--r--include/configs/3c120_devboard.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/include/configs/3c120_devboard.h b/include/configs/3c120_devboard.h
index 00e8374..6c9dc3f 100644
--- a/include/configs/3c120_devboard.h
+++ b/include/configs/3c120_devboard.h
@@ -95,7 +95,8 @@
#define CONFIG_SYS_PBSIZE (CONFIG_SYS_CBSIZE + \
sizeof(CONFIG_SYS_PROMPT) + \
16) /* Print buf size */
-#define CONFIG_SYS_LOAD_ADDR CONFIG_SYS_SDRAM_BASE
+#define CONFIG_SYS_LOAD_ADDR 0xd4000000 /* Half of RAM */
+#define CONFIG_LOADADDR CONFIG_SYS_LOAD_ADDR
#define CONFIG_SYS_MEMTEST_START CONFIG_SYS_SDRAM_BASE
#define CONFIG_SYS_MEMTEST_END (CONFIG_SYS_MONITOR_BASE - \
CONFIG_ENV_SIZE - \