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

Tom Rini
2020-02-26T15:23:01Z

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@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@monstr.eu>
> > Cc: Rick Chen <rick@andestech.com>
> > Cc: Philippe Reynes <tremyfr@yahoo.fr>
> > Cc: Eric Jarrige <eric.jarrige@armadeus.org>
> > Signed-off-by: Tom Rini <trini@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>