Skip to content
Snippets Groups Projects
Commit 836d2cc2 authored by Alexey Brodkin's avatar Alexey Brodkin
Browse files

arc: move SYS_MONITOR_BASE setup in Konfig


Following SPARK ARC now has SYS_MONITOR_BASE setup via Kconfig.
This makes "include/configs/*.h" cleaner and more flexible.

Signed-off-by: default avatarAlexey Brodkin <abrodkin@synopsys.com>
parent a1dbe57d
No related branches found
No related tags found
No related merge requests found
...@@ -139,7 +139,7 @@ config SYS_EXTRA_OPTIONS ...@@ -139,7 +139,7 @@ config SYS_EXTRA_OPTIONS
new boards should not use this option. new boards should not use this option.
config SYS_TEXT_BASE config SYS_TEXT_BASE
depends on SPARC depends on SPARC || ARC
hex "Text Base" hex "Text Base"
help help
TODO: Move CONFIG_SYS_TEXT_BASE for all the architecture TODO: Move CONFIG_SYS_TEXT_BASE for all the architecture
......
...@@ -2,3 +2,4 @@ CONFIG_ARC=y ...@@ -2,3 +2,4 @@ CONFIG_ARC=y
CONFIG_TARGET_ARCANGEL4=y CONFIG_TARGET_ARCANGEL4=y
CONFIG_SYS_CLK_FREQ=70000000 CONFIG_SYS_CLK_FREQ=70000000
CONFIG_CPU_BIG_ENDIAN=y CONFIG_CPU_BIG_ENDIAN=y
CONFIG_SYS_TEXT_BASE=0x81000000
CONFIG_ARC=y CONFIG_ARC=y
CONFIG_TARGET_ARCANGEL4=y CONFIG_TARGET_ARCANGEL4=y
CONFIG_SYS_CLK_FREQ=70000000 CONFIG_SYS_CLK_FREQ=70000000
CONFIG_SYS_TEXT_BASE=0x81000000
...@@ -2,4 +2,5 @@ CONFIG_ARC=y ...@@ -2,4 +2,5 @@ CONFIG_ARC=y
CONFIG_TARGET_AXS101=y CONFIG_TARGET_AXS101=y
CONFIG_SYS_CLK_FREQ=750000000 CONFIG_SYS_CLK_FREQ=750000000
CONFIG_ARC_CACHE_LINE_SHIFT=5 CONFIG_ARC_CACHE_LINE_SHIFT=5
CONFIG_SYS_DCACHE_OFF=y CONFIG_SYS_DCACHE_OFF=y
\ No newline at end of file CONFIG_SYS_TEXT_BASE=0x81000000
\ No newline at end of file
...@@ -2,3 +2,4 @@ CONFIG_ARC=y ...@@ -2,3 +2,4 @@ CONFIG_ARC=y
CONFIG_TARGET_TB100=y CONFIG_TARGET_TB100=y
CONFIG_SYS_CLK_FREQ=500000000 CONFIG_SYS_CLK_FREQ=500000000
CONFIG_ARC_CACHE_LINE_SHIFT=5 CONFIG_ARC_CACHE_LINE_SHIFT=5
CONFIG_SYS_TEXT_BASE=0x84000000
...@@ -15,7 +15,6 @@ ...@@ -15,7 +15,6 @@
/* /*
* Memory configuration * Memory configuration
*/ */
#define CONFIG_SYS_TEXT_BASE 0x81000000
#define CONFIG_SYS_MONITOR_BASE CONFIG_SYS_TEXT_BASE #define CONFIG_SYS_MONITOR_BASE CONFIG_SYS_TEXT_BASE
#define CONFIG_SYS_DDR_SDRAM_BASE 0x80000000 #define CONFIG_SYS_DDR_SDRAM_BASE 0x80000000
......
...@@ -20,7 +20,6 @@ ...@@ -20,7 +20,6 @@
/* /*
* Memory configuration * Memory configuration
*/ */
#define CONFIG_SYS_TEXT_BASE 0x81000000
#define CONFIG_SYS_MONITOR_BASE CONFIG_SYS_TEXT_BASE #define CONFIG_SYS_MONITOR_BASE CONFIG_SYS_TEXT_BASE
#define CONFIG_SYS_DDR_SDRAM_BASE 0x80000000 #define CONFIG_SYS_DDR_SDRAM_BASE 0x80000000
......
...@@ -17,7 +17,6 @@ ...@@ -17,7 +17,6 @@
/* /*
* Memory configuration * Memory configuration
*/ */
#define CONFIG_SYS_TEXT_BASE 0x84000000
#define CONFIG_SYS_MONITOR_BASE CONFIG_SYS_TEXT_BASE #define CONFIG_SYS_MONITOR_BASE CONFIG_SYS_TEXT_BASE
#define CONFIG_SYS_DDR_SDRAM_BASE 0x80000000 #define CONFIG_SYS_DDR_SDRAM_BASE 0x80000000
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment