mx31pdk: Move CONFIG_SPL_LDSCRIPT to defconfig
authorTom Rini <trini@konsulko.com>
Mon, 24 Feb 2020 18:05:36 +0000 (13:05 -0500)
committerTom Rini <trini@konsulko.com>
Mon, 16 Mar 2020 22:54:18 +0000 (18:54 -0400)
As there is only one mx31pdk config file and with upcoming updates to
the Kconfig parsing logic, rather than have an entry in
board/freescale/mx31pdk/Kconfig, move this single setting to the
defconfig file.

Cc: Magnus Lilja <lilja.magnus@gmail.com>
Signed-off-by: Tom Rini <trini@konsulko.com>
Reviewed-by: Magnus Lilja <lilja.magnus@gmail.com>
board/freescale/mx31pdk/Kconfig
configs/mx31pdk_defconfig

index b9fc2d51778628ef5de6996572a8a0086a8a9406..055545c93063c5641ab7bd8fd283981b9bf808a3 100644 (file)
@@ -1,8 +1,5 @@
 if TARGET_MX31PDK
 
-config SPL_LDSCRIPT
-       default "arch/$(ARCH)/cpu/u-boot-spl.lds"
-
 config SYS_BOARD
        default "mx31pdk"
 
index ac1dac000521c2dacc28b8323a9617034a22e2f2..595a1be2372e7be57d977983d1eadea4f1b2b21f 100644 (file)
@@ -2,6 +2,7 @@ CONFIG_ARM=y
 # CONFIG_SPL_USE_ARCH_MEMCPY is not set
 # CONFIG_SPL_USE_ARCH_MEMSET is not set
 CONFIG_ARCH_MX31=y
+CONFIG_SPL_LDSCRIPT="arch/arm/cpu/u-boot-spl.lds"
 CONFIG_SYS_TEXT_BASE=0x87e00000
 CONFIG_SPL_LIBGENERIC_SUPPORT=y
 CONFIG_TARGET_MX31PDK=y