]> git.kernelconcepts.de Git - karo-tx-uboot.git/commitdiff
SPEAr: Correct the definition of CONFIG_SYS_MONITOR_BASE
authorVipin Kumar <vipin.kumar@st.com>
Mon, 7 May 2012 07:36:55 +0000 (13:06 +0530)
committerAlbert ARIBAUD <albert.u.boot@aribaud.net>
Sat, 7 Jul 2012 12:07:41 +0000 (14:07 +0200)
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>
include/configs/spear-common.h

index 09604c5f101c6970257f4475b51d30746d479c85..0443bc6ebd2332a786436806c6914c37497552ae 100644 (file)
                                                "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)
 /*
 
 
 #define CONFIG_ENV_SIZE                                0x02000
+#define CONFIG_SYS_MONITOR_BASE                        CONFIG_SYS_TEXT_BASE
 
 /* Miscellaneous configurable options */
 #define CONFIG_ARCH_CPU_INIT