[PATCH 4/7] Kconfig: Remove redundant variable sets

Tom Rini trini at konsulko.com
Wed Feb 26 16:23:01 CET 2020


On Wed, Feb 26, 2020 at 11:41:02AM +0900, Masahiro Yamada wrote:
> On Tue, Feb 25, 2020 at 3:06 AM Tom Rini <trini at konsulko.com> 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 <monstr at monstr.eu>
> > Cc: Rick Chen <rick at andestech.com>
> > Cc: Philippe Reynes <tremyfr at yahoo.fr>
> > Cc: Eric Jarrige <eric.jarrige at armadeus.org>
> > Signed-off-by: Tom Rini <trini at konsulko.com>
> > ---
> 
> 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"

Re-checking, all 4 of these cases are overriding the default, but the
cases of $(ARCH) aren't helpful and should just be 'arm' so I'll do
that.

-- 
Tom
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 659 bytes
Desc: not available
URL: <https://lists.denx.de/pipermail/u-boot/attachments/20200226/84e2fbe4/attachment.sig>


More information about the U-Boot mailing list