microblaze: move CONFIG_SYS_TEXT_BASE to defconfig
authorMasahiro Yamada <yamada.masahiro@socionext.com>
Fri, 11 Dec 2015 03:22:26 +0000 (12:22 +0900)
committerTom Rini <trini@konsulko.com>
Wed, 20 Jan 2016 15:19:35 +0000 (10:19 -0500)
This is how CONFIG options are defined by Kconfig.

Signed-off-by: Masahiro Yamada <yamada.masahiro@socionext.com>
Acked-by: Michal Simek <michal.simek@xilinx.com>
Kconfig
board/xilinx/microblaze-generic/config.mk
configs/microblaze-generic_defconfig

diff --git a/Kconfig b/Kconfig
index 9b07838..ee4e060 100644 (file)
--- a/Kconfig
+++ b/Kconfig
@@ -209,7 +209,7 @@ config SYS_EXTRA_OPTIONS
 
 config SYS_TEXT_BASE
        depends on SPARC || ARC || X86 || ARCH_UNIPHIER || ARCH_ZYNQMP || \
-               (M68K && !TARGET_ASTRO_MCF5373L)
+               (M68K && !TARGET_ASTRO_MCF5373L) || MICROBLAZE
        depends on !EFI_APP
        hex "Text Base"
        help
index 36bdd96..95ef9c0 100644 (file)
@@ -11,8 +11,6 @@
 #          the generated file from your Xilinx design flow.
 #
 
-CONFIG_SYS_TEXT_BASE = 0x29000000
-
 PLATFORM_CPPFLAGS += -mno-xl-soft-mul
 PLATFORM_CPPFLAGS += -mno-xl-soft-div
 PLATFORM_CPPFLAGS += -mxl-barrel-shift
index 54aa3ef..ed336e6 100644 (file)
@@ -1,6 +1,7 @@
 CONFIG_MICROBLAZE=y
 CONFIG_SPL_SYS_MALLOC_SIMPLE=y
 CONFIG_TARGET_MICROBLAZE_GENERIC=y
+CONFIG_SYS_TEXT_BASE=0x29000000
 CONFIG_DEFAULT_DEVICE_TREE="microblaze-generic"
 CONFIG_SPL=y
 CONFIG_SYS_PROMPT="U-Boot-mONStR> "