summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorVipin Kumar <vipin.kumar@st.com>2012-05-07 13:06:55 +0530
committerAlbert ARIBAUD <albert.u.boot@aribaud.net>2012-07-07 14:07:41 +0200
commit0296f1599227280c24f53175ff04cce1faa10373 (patch)
treefefcac40be1df825b0d9c15cbba68f81fa76fab0
parent484e0b05f2dca43a827c950c91b31e151b48a8ef (diff)
downloadu-boot-imx-0296f1599227280c24f53175ff04cce1faa10373.zip
u-boot-imx-0296f1599227280c24f53175ff04cce1faa10373.tar.gz
u-boot-imx-0296f1599227280c24f53175ff04cce1faa10373.tar.bz2
SPEAr: Correct the definition of CONFIG_SYS_MONITOR_BASE
The below text is copy pasted from README - CONFIG_SYS_MONITOR_BASE: Physical start address of boot monitor code (set by make config files to be same as the text base address (TEXT_BASE) used when linking) - same as CONFIG_SYS_FLASH_BASE when booting from flash. This patch corrects the definition of CONFIG_SYS_MONITOR_BASE and sets it to TEXT_BASE Signed-off-by: Vipin Kumar <vipin.kumar@st.com> Signed-off-by: Amit Virdi <amit.virdi@st.com> Signed-off-by: Stefan Roese <sr@denx.de>
-rw-r--r--include/configs/spear-common.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/include/configs/spear-common.h b/include/configs/spear-common.h
index 09604c5..0443bc6 100644
--- a/include/configs/spear-common.h
+++ b/include/configs/spear-common.h
@@ -162,8 +162,7 @@
"0x4C0000; bootm 0x1600000"
#endif
-#define CONFIG_SYS_MONITOR_BASE CONFIG_SYS_FLASH_BASE
-#define CONFIG_ENV_ADDR (CONFIG_SYS_MONITOR_BASE + \
+#define CONFIG_ENV_ADDR (CONFIG_SYS_FLASH_BASE + \
CONFIG_SYS_MONITOR_LEN)
#elif defined(CONFIG_ENV_IS_IN_NAND)
/*
@@ -200,6 +199,7 @@
#define CONFIG_ENV_SIZE 0x02000
+#define CONFIG_SYS_MONITOR_BASE CONFIG_SYS_TEXT_BASE
/* Miscellaneous configurable options */
#define CONFIG_ARCH_CPU_INIT