diff options
author | Max Filippov | 2018-02-12 15:39:19 -0800 |
---|---|---|
committer | Tom Rini | 2018-02-23 10:21:41 -0500 |
commit | 10117a298554d586e7a288a9fa0b574ce35d62a0 (patch) | |
tree | a75db473fccd8729d41d46153803c9dab699efb7 /include | |
parent | fa2c14676c7c6f3115dd4d9b2a4cc3b35c3ad2a2 (diff) |
xtensa: clean up CONFIG_SYS_TEXT_ADDR
Drop CONFIG_SYS_MEMORY_TOP. Rename CONFIG_SYS_TEXT_ADDR to
XTENSA_SYS_TEXT_ADDR.
Signed-off-by: Max Filippov <jcmvbkbc@gmail.com>
Diffstat (limited to 'include')
-rw-r--r-- | include/configs/xtfpga.h | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/include/configs/xtfpga.h b/include/configs/xtfpga.h index 79cc1e8fc1b..496f3772d5d 100644 --- a/include/configs/xtfpga.h +++ b/include/configs/xtfpga.h @@ -98,9 +98,8 @@ #define CONFIG_SYS_MEMORY_SIZE CONFIG_SYS_SDRAM_SIZE #endif -#define CONFIG_SYS_MEMORY_TOP MEMADDR(CONFIG_SYS_MEMORY_SIZE) -#define CONFIG_SYS_TEXT_ADDR \ - (CONFIG_SYS_MEMORY_TOP - CONFIG_SYS_MONITOR_LEN) +#define XTENSA_SYS_TEXT_ADDR \ + (MEMADDR(CONFIG_SYS_MEMORY_SIZE) - CONFIG_SYS_MONITOR_LEN) /* Used by tftpboot; env var 'loadaddr' */ #define CONFIG_SYS_LOAD_ADDR MEMADDR(0x02000000) |