Skip to contentSkip to conversation

mips: mtmips: spl/Kconfig: Set CONFIG_SPL_PAD_TO to 0x0 for ARCH_MTMIPS

PATCH In review Stefan Roese 2 participants 2 messages Oct 28, 2022 – Nov 2, 2022

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 mips: mtmips: spl/Kconfig: Set CONFIG_SPL_PAD_TO to 0x0 for ARCH_MTMIPS

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")
Cc Ruben Winters <[email protected]>
Cc Weijie Gao <[email protected]>
Cc Daniel Schwierzeck <[email protected]>
Cc Tom Rini <[email protected]>
---
 common/spl/Kconfig | 1 +
 1 file changed, 1 insertion(+)
common/spl/Kconfig +1 -0
index b738c749fff4..05181bdba3e1 100644
@@ -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
Signature · 1 line
2.38.1
#1 lore raw
Quoted 10 lines · Stefan Roese

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")
Cc Ruben Winters <[email protected]>
Cc Weijie Gao <[email protected]>
Cc Daniel Schwierzeck <[email protected]>
Cc Tom Rini <[email protected]>
Quoted 4 lines
---
  common/spl/Kconfig | 1 +
  1 file changed, 1 insertion(+)

applied to u-boot-mips, thanks

Signature · 1 line
- Daniel