From 23830e98f5ad74343fc6c6182cd8d99507ab4e36 Mon Sep 17 00:00:00 2001 From: Tom Rini Date: Mon, 24 Feb 2020 13:05:36 -0500 Subject: [PATCH] mx31pdk: Move CONFIG_SPL_LDSCRIPT to defconfig 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 Signed-off-by: Tom Rini Reviewed-by: Magnus Lilja --- board/freescale/mx31pdk/Kconfig | 3 --- configs/mx31pdk_defconfig | 1 + 2 files changed, 1 insertion(+), 3 deletions(-) diff --git a/board/freescale/mx31pdk/Kconfig b/board/freescale/mx31pdk/Kconfig index b9fc2d5177..055545c930 100644 --- a/board/freescale/mx31pdk/Kconfig +++ b/board/freescale/mx31pdk/Kconfig @@ -1,8 +1,5 @@ if TARGET_MX31PDK -config SPL_LDSCRIPT - default "arch/$(ARCH)/cpu/u-boot-spl.lds" - config SYS_BOARD default "mx31pdk" diff --git a/configs/mx31pdk_defconfig b/configs/mx31pdk_defconfig index ac1dac0005..595a1be237 100644 --- a/configs/mx31pdk_defconfig +++ b/configs/mx31pdk_defconfig @@ -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 -- 2.25.1