edminiv2: Move CONFIG_SPL_LDSCRIPT to defconfig
authorTom Rini <trini@konsulko.com>
Wed, 11 Mar 2020 22:11:13 +0000 (18:11 -0400)
committerTom Rini <trini@konsulko.com>
Mon, 16 Mar 2020 22:54:18 +0000 (18:54 -0400)
As there is only one machine under mach-orion5x, having a Kconfig entry
for SPL_LDSCRIPT is not helpful, move this to the defconfig file.

Suggested-by: Masahiro Yamada <masahiroy@kernel.org>
Signed-off-by: Tom Rini <trini@konsulko.com>
Reviewed-by: Masahiro Yamada <masahiroy@kernel.org>
arch/arm/mach-orion5x/Kconfig
configs/edminiv2_defconfig

index 2984a3edda21cea233362dc8b5b95aeb08dc4f6e..7644b8dc854b3ac5086bfc7cce41c8f95b6528ca 100644 (file)
@@ -15,7 +15,4 @@ config SYS_SOC
 
 source "board/LaCie/edminiv2/Kconfig"
 
-config SPL_LDSCRIPT
-       default "$(CPUDIR)/orion5x/u-boot-spl.lds" if ORION5X
-
 endif
index 2bbd6a783b9437aeb72a9e1b3f06bb4e5d89c548..b9a68a9263aa53398f3383b7953bf6155ff85aa6 100644 (file)
@@ -1,6 +1,7 @@
 CONFIG_ARM=y
 CONFIG_ARCH_CPU_INIT=y
 CONFIG_ORION5X=y
+CONFIG_SPL_LDSCRIPT="arch/arm/cpu/arm926ejs/orion5x/u-boot-spl.lds"
 CONFIG_SYS_TEXT_BASE=0x00800000
 CONFIG_SPL_LIBCOMMON_SUPPORT=y
 CONFIG_SPL_LIBGENERIC_SUPPORT=y