]> git.sur5r.net Git - u-boot/commitdiff
arc: move SYS_MONITOR_BASE setup in Konfig
authorAlexey Brodkin <abrodkin@synopsys.com>
Tue, 3 Feb 2015 10:58:18 +0000 (13:58 +0300)
committerAlexey Brodkin <abrodkin@synopsys.com>
Mon, 9 Feb 2015 13:41:20 +0000 (16:41 +0300)
Following SPARK ARC now has SYS_MONITOR_BASE setup via Kconfig.
This makes "include/configs/*.h" cleaner and more flexible.

Signed-off-by: Alexey Brodkin <abrodkin@synopsys.com>
Kconfig
configs/arcangel4-be_defconfig
configs/arcangel4_defconfig
configs/axs101_defconfig
configs/tb100_defconfig
include/configs/arcangel4.h
include/configs/axs101.h
include/configs/tb100.h

diff --git a/Kconfig b/Kconfig
index fed488fdaf94212dfce21902d2cf812a827f819e..9af31e3e77a2e36e7b0cd72384b6d4081c132a54 100644 (file)
--- a/Kconfig
+++ b/Kconfig
@@ -139,7 +139,7 @@ config SYS_EXTRA_OPTIONS
          new boards should not use this option.
 
 config SYS_TEXT_BASE
-       depends on SPARC
+       depends on SPARC || ARC
        hex "Text Base"
        help
          TODO: Move CONFIG_SYS_TEXT_BASE for all the architecture
index 5d2e126e2e8957e42f94ab53a6aeed27b31be82d..979f26e6dccece5024974614451e477603dbcea7 100644 (file)
@@ -2,3 +2,4 @@ CONFIG_ARC=y
 CONFIG_TARGET_ARCANGEL4=y
 CONFIG_SYS_CLK_FREQ=70000000
 CONFIG_CPU_BIG_ENDIAN=y
+CONFIG_SYS_TEXT_BASE=0x81000000
index a63ef21de80ce9cbb26940ee8931db5f69e12ee3..797595f2c30ebc6c270b41a8d360684044dbe696 100644 (file)
@@ -1,3 +1,4 @@
 CONFIG_ARC=y
 CONFIG_TARGET_ARCANGEL4=y
 CONFIG_SYS_CLK_FREQ=70000000
+CONFIG_SYS_TEXT_BASE=0x81000000
index d165e411caafe27a31a9c68c59c38998746c024a..34ed9633a1362f02e1adcfe7cba6e25b03c92a84 100644 (file)
@@ -2,4 +2,5 @@ CONFIG_ARC=y
 CONFIG_TARGET_AXS101=y
 CONFIG_SYS_CLK_FREQ=750000000
 CONFIG_ARC_CACHE_LINE_SHIFT=5
-CONFIG_SYS_DCACHE_OFF=y
\ No newline at end of file
+CONFIG_SYS_DCACHE_OFF=y
+CONFIG_SYS_TEXT_BASE=0x81000000
\ No newline at end of file
index e17a4958f5792afd32ce909c40d3c5856dd32a96..b0e8c9f602d9f1e4435b2b29a8738b3b3230fa0f 100644 (file)
@@ -2,3 +2,4 @@ CONFIG_ARC=y
 CONFIG_TARGET_TB100=y
 CONFIG_SYS_CLK_FREQ=500000000
 CONFIG_ARC_CACHE_LINE_SHIFT=5
+CONFIG_SYS_TEXT_BASE=0x84000000
index 80d6438ba152161be4ec708ceb9f8bea7193022f..5e4097fb82e1c9fcf665058c52f8f673e2237338 100644 (file)
@@ -15,7 +15,6 @@
 /*
  * Memory configuration
  */
-#define CONFIG_SYS_TEXT_BASE           0x81000000
 #define CONFIG_SYS_MONITOR_BASE                CONFIG_SYS_TEXT_BASE
 
 #define CONFIG_SYS_DDR_SDRAM_BASE      0x80000000
index e9a32314fd32bde07099e9ad965b6b4c2eb13d59..5fb8aca4bca95f3fa307407649e2d084b65ff2af 100644 (file)
@@ -20,7 +20,6 @@
 /*
  * Memory configuration
  */
-#define CONFIG_SYS_TEXT_BASE           0x81000000
 #define CONFIG_SYS_MONITOR_BASE                CONFIG_SYS_TEXT_BASE
 
 #define CONFIG_SYS_DDR_SDRAM_BASE      0x80000000
index 54eca6f5746b383fd60ca681862f69b238aba9b9..46df40661da631bbabb3d629982daf6cb0f7f0f5 100644 (file)
@@ -17,7 +17,6 @@
 /*
  * Memory configuration
  */
-#define CONFIG_SYS_TEXT_BASE           0x84000000
 #define CONFIG_SYS_MONITOR_BASE                CONFIG_SYS_TEXT_BASE
 
 #define CONFIG_SYS_DDR_SDRAM_BASE      0x80000000