On Tue, Feb 25, 2020 at 3:06 AM Tom Rini <[email protected]> wrote: > > In a few places we have Kconfig entries that set SPL_LDSCRIPT to what is > the default value anyways. Drop these. > > Cc: Michal Simek <[email protected]> > Cc: Rick Chen <[email protected]> > Cc: Philippe Reynes <[email protected]> > Cc: Eric Jarrige <[email protected]> > Signed-off-by: Tom Rini <[email protected]> > ---
I see more in defconfig files. $ cd configs $ git grep SPL_LDSCRIPT axm_defconfig:CONFIG_SPL_LDSCRIPT="arch/$(ARCH)/cpu/u-boot-spl.lds" brppt2_defconfig:CONFIG_SPL_LDSCRIPT="arch/$(ARCH)/cpu/u-boot-spl.lds" mx31pdk_defconfig:CONFIG_SPL_LDSCRIPT="arch/arm/cpu/u-boot-spl.lds" taurus_defconfig:CONFIG_SPL_LDSCRIPT="arch/$(ARCH)/cpu/u-boot-spl.lds" They are the same as the default. Can you remove them too? > arch/microblaze/Kconfig | 3 --- > arch/riscv/Kconfig | 3 --- > board/armadeus/apf27/Kconfig | 3 --- > 3 files changed, 9 deletions(-) > > diff --git a/arch/microblaze/Kconfig b/arch/microblaze/Kconfig > index 5ce8261451d3..2bd260e5d76e 100644 > --- a/arch/microblaze/Kconfig > +++ b/arch/microblaze/Kconfig > @@ -30,7 +30,4 @@ config STACK_SIZE > > source "board/xilinx/microblaze-generic/Kconfig" > > -config SPL_LDSCRIPT > - default "arch/microblaze/cpu/u-boot-spl.lds" > - > endmenu > diff --git a/arch/riscv/Kconfig b/arch/riscv/Kconfig > index 3338b788f84a..f49618d24d26 100644 > --- a/arch/riscv/Kconfig > +++ b/arch/riscv/Kconfig > @@ -229,7 +229,4 @@ config STACK_SIZE_SHIFT > int > default 14 > > -config SPL_LDSCRIPT > - default "arch/riscv/cpu/u-boot-spl.lds" > - > endmenu > diff --git a/board/armadeus/apf27/Kconfig b/board/armadeus/apf27/Kconfig > index a342d2e05ec5..65544a844834 100644 > --- a/board/armadeus/apf27/Kconfig > +++ b/board/armadeus/apf27/Kconfig > @@ -1,8 +1,5 @@ > if TARGET_APF27 > > -config SPL_LDSCRIPT > - default "arch/$(ARCH)/cpu/u-boot-spl.lds" > - > config SYS_BOARD > default "apf27" > > -- > 2.17.1 > -- Best Regards Masahiro Yamada

