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 <s...@denx.de>
Cc: Ruben Winters <ruben.wint...@gooiland-elektro.nl>
Cc: Weijie Gao <weijie....@mediatek.com>
Cc: Daniel Schwierzeck <daniel.schwierz...@gmail.com>
Cc: Tom Rini <tr...@konsulko.com>
---
 common/spl/Kconfig | 1 +
 1 file changed, 1 insertion(+)

diff --git a/common/spl/Kconfig b/common/spl/Kconfig
index b738c749fff4..05181bdba3e1 100644
--- a/common/spl/Kconfig
+++ b/common/spl/Kconfig
@@ -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
-- 
2.38.1

Reply via email to