Skip to contentSkip to conversation

sunxi: Correct select's of SPL_STACK_R and SPL_SYS_MALLOC_SIMPLE

PATCH New Tom Rini 1 participant 2 messages Jun 21, 2017 Arm (32-bit)

lore
Share & tools
lore

Tom Rini

author
#0 lore raw

PATCH 1/1 sunxi: Correct select's of SPL_STACK_R and SPL_SYS_MALLOC_SIMPLE

On ARCH_SUNXI we've been selecting these targets for a long time if SUPPORT_SPL is set. However, Lichee Pi Zero is the first platform we've added that does support SPL but does not build SPL and has exposed a latent bug. Both of these symbols depend on SPL not SUPPORT_SPL, so we need to update our select here otherwise we get a Kconfig warning.

Fixes f02abb0608fe ("sunxi: add support for Lichee Pi Zero")
---
 arch/arm/Kconfig | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
arch/arm/Kconfig +2 -2
index dce41055619b..46183ae90091 100644
@@ -666,8 +666,8 @@ config ARCH_SUNXI
 	select OF_BOARD_SETUP
 	select OF_CONTROL
 	select OF_SEPARATE
-	select SPL_STACK_R if SUPPORT_SPL
-	select SPL_SYS_MALLOC_SIMPLE if SUPPORT_SPL
+	select SPL_STACK_R if SPL
+	select SPL_SYS_MALLOC_SIMPLE if SPL
 	select SYS_NS16550
 	select SPL_SYS_THUMB_BUILD if !ARM64
 	select USB if DISTRO_DEFAULTS
Signature · 1 line
1.9.1
author
#1 lore raw

PATCH 1/1 sunxi: Correct select's of SPL_STACK_R and SPL_SYS_MALLOC_SIMPLE

Quoted 8 lines · Tom Rini

On ARCH_SUNXI we've been selecting these targets for a long time if SUPPORT_SPL is set. However, Lichee Pi Zero is the first platform we've added that does support SPL but does not build SPL and has exposed a latent bug. Both of these symbols depend on SPL not SUPPORT_SPL, so we need to update our select here otherwise we get a Kconfig warning.

Fixes f02abb0608fe ("sunxi: add support for Lichee Pi Zero")

Applied to u-boot/master, thanks!

Signature · 8 lines
Tom
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 819 bytes
Desc: Digital signature
URL: <http://lists.denx.de/pipermail/u-boot/attachments/20170621/94335aac/attachment.sig>