diff mbox

[U-Boot,3/4] Kconfig: zynqMP: Move CONFIG_SYS_TEXT_BASE to defconfig

Message ID 1433931659-39662-3-git-send-email-sivadur@xilinx.com
State Accepted
Delegated to: Michal Simek
Headers show

Commit Message

Siva Durga Prasad Paladugu June 10, 2015, 10:20 a.m. UTC
Move CONFIG_SYS_TEXT_BASE of ZynqMP_ep to its
respective defconfig

Signed-off-by: Siva Durga Prasad Paladugu <sivadur@xilinx.com>
---
 Kconfig                         |    2 +-
 configs/zynqmp_ep_defconfig     |    1 +
 include/configs/xilinx_zynqmp.h |    1 -
 3 files changed, 2 insertions(+), 2 deletions(-)
diff mbox

Patch

diff --git a/Kconfig b/Kconfig
index 15e15af..fc69189 100644
--- a/Kconfig
+++ b/Kconfig
@@ -178,7 +178,7 @@  config SYS_EXTRA_OPTIONS
 	  new boards should not use this option.
 
 config SYS_TEXT_BASE
-	depends on SPARC || ARC || X86 || ARCH_UNIPHIER
+	depends on SPARC || ARC || X86 || ARCH_UNIPHIER || ARCH_ZYNQMP
 	hex "Text Base"
 	help
 	  TODO: Move CONFIG_SYS_TEXT_BASE for all the architecture
diff --git a/configs/zynqmp_ep_defconfig b/configs/zynqmp_ep_defconfig
index 6b29eca..bba62bd 100644
--- a/configs/zynqmp_ep_defconfig
+++ b/configs/zynqmp_ep_defconfig
@@ -13,3 +13,4 @@  CONFIG_CMD_SOURCE=y
 CONFIG_CMD_TIME=y
 CONFIG_CMD_MISC=y
 CONFIG_CMD_TIMER=y
+CONFIG_SYS_TEXT_BASE=0x8000000
diff --git a/include/configs/xilinx_zynqmp.h b/include/configs/xilinx_zynqmp.h
index 18cd15b..8189add 100644
--- a/include/configs/xilinx_zynqmp.h
+++ b/include/configs/xilinx_zynqmp.h
@@ -40,7 +40,6 @@ 
 
 #define CONFIG_IDENT_STRING		" Xilinx ZynqMP"
 
-#define CONFIG_SYS_TEXT_BASE		0x8000000
 #define CONFIG_SYS_INIT_SP_ADDR		(CONFIG_SYS_SDRAM_BASE + 0x7fff0)
 
 /* Flat Device Tree Definitions */