mips: mtmips: spl/Kconfig: Set CONFIG_SPL_PAD_TO to 0x0 for ARCH_MTMIPS
authorStefan Roese <sr@denx.de>
Fri, 28 Oct 2022 12:46:29 +0000 (14:46 +0200)
committerDaniel Schwierzeck <daniel.schwierzeck@gmail.com>
Wed, 2 Nov 2022 20:54:26 +0000 (21:54 +0100)
It was noticed that while converting CONFIG_SPL_PAD_TO to Kconfig its
value for the MIPS MT762x/8x targets got not ported correctly. Its
default is not 0x10000 instead of 0x0. This patch fixes this issue.

Fixes: ca8a329a1b7f ("Convert CONFIG_SPL_PAD_TO et al to Kconfig")
Signed-off-by: Stefan Roese <sr@denx.de>
Cc: Ruben Winters <Ruben.Winters@gooiland-elektro.nl>
Cc: Weijie Gao <weijie.gao@mediatek.com>
Cc: Daniel Schwierzeck <daniel.schwierzeck@gmail.com>
Cc: Tom Rini <trini@konsulko.com>
common/spl/Kconfig

index b738c74..05181bd 100644 (file)
@@ -98,6 +98,7 @@ config SPL_PAD_TO
        default 0x11000 if ARCH_MX7 || (ARCH_MX6 && !MX6_OCRAM_256KB)
        default 0x10000 if ARCH_KEYSTONE
        default 0x8000 if ARCH_SUNXI && !MACH_SUN50I_H616
+       default 0x0 if ARCH_MTMIPS
        default TPL_MAX_SIZE if TPL_MAX_SIZE > SPL_MAX_SIZE
        default SPL_MAX_SIZE
        help