Skip to contentSkip to conversation

arm: mvebu: Add missing "if SPL"

PATCH In review Tom Rini 2 participants 3 messages Oct 15, 2021 – Oct 21, 2021

Subsystems (3)
lore
Share & tools
lore

Tom Rini

author
#0 lore raw

PATCH 1/1 arm: mvebu: Add missing "if SPL"

We can only select SPL_SKIP_LOWLEVEL_INIT if SPL is enabled, otherwise we get a warning about unmet dependencies on platforms that don't use SPL.

Fixes cf47a8cf8f7e ("arm: mvebu: Select SPL_SKIP_LOWLEVEL_INIT on ARMADA_32BIT")
Cc Stefan Roese <[email protected]>
---
 arch/arm/mach-mvebu/Kconfig | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
arch/arm/mach-mvebu/Kconfig +1 -1
index 54dff9986b41..c9dbef2e6392 100644
@@ -11,7 +11,7 @@ config ARMADA_32BIT
 	select SPL_DM if SPL
 	select SPL_DM_SEQ_ALIAS if SPL
 	select SPL_OF_CONTROL if SPL
-	select SPL_SKIP_LOWLEVEL_INIT
+	select SPL_SKIP_LOWLEVEL_INIT if SPL
 	select SPL_SIMPLE_BUS if SPL
 	select SUPPORT_SPL
 	select TRANSLATION_OFFSET
Signature · 1 line
2.25.1
Reviewed-by on v1 1/1
#1 lore raw
Quoted 7 lines · Tom Rini

We can only select SPL_SKIP_LOWLEVEL_INIT if SPL is enabled, otherwise we get a warning about unmet dependencies on platforms that don't use SPL.

Fixes cf47a8cf8f7e ("arm: mvebu: Select SPL_SKIP_LOWLEVEL_INIT on ARMADA_32BIT")
Cc Stefan Roese <[email protected]>

Thanks,
Stefan

Quoted 10 lines
---
  arch/arm/mach-mvebu/Kconfig | 2 +-
  1 file changed, 1 insertion(+), 1 deletion(-)
arch/arm/mach-mvebu/Kconfig +0 -0
index 54dff9986b41..c9dbef2e6392 100644

arch/arm/mach-mvebu/Kconfig config ARMADA_32BIT · line 17

Quoted 8 lines
arch/arm/mach-mvebu/Kconfig +1 -1
@@ -11,7 +11,7 @@ config ARMADA_32BIT
  	select SPL_DM if SPL
  	select SPL_DM_SEQ_ALIAS if SPL
  	select SPL_OF_CONTROL if SPL
-	select SPL_SKIP_LOWLEVEL_INIT
+	select SPL_SKIP_LOWLEVEL_INIT if SPL
  	select SPL_SIMPLE_BUS if SPL
  	select SUPPORT_SPL
  	select TRANSLATION_OFFSET

Viele Grüße,
Stefan

Signature · 3 lines
DENX Software Engineering GmbH,      Managing Director: Wolfgang Denk
HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany
Phone: (+49)-8142-66989-51 Fax: (+49)-8142-66989-80 Email: [email protected]
#2 lore raw
In reply to Tom Rini
Quoted 7 lines · Tom Rini

We can only select SPL_SKIP_LOWLEVEL_INIT if SPL is enabled, otherwise we get a warning about unmet dependencies on platforms that don't use SPL.

Fixes cf47a8cf8f7e ("arm: mvebu: Select SPL_SKIP_LOWLEVEL_INIT on ARMADA_32BIT")
Cc Stefan Roese <[email protected]>

Applied to u-boot-marvell/master

Thanks,
Stefan

Quoted 10 lines
---
  arch/arm/mach-mvebu/Kconfig | 2 +-
  1 file changed, 1 insertion(+), 1 deletion(-)
arch/arm/mach-mvebu/Kconfig +0 -0
index 54dff9986b41..c9dbef2e6392 100644

arch/arm/mach-mvebu/Kconfig config ARMADA_32BIT · line 17

Quoted 8 lines
arch/arm/mach-mvebu/Kconfig +1 -1
@@ -11,7 +11,7 @@ config ARMADA_32BIT
  	select SPL_DM if SPL
  	select SPL_DM_SEQ_ALIAS if SPL
  	select SPL_OF_CONTROL if SPL
-	select SPL_SKIP_LOWLEVEL_INIT
+	select SPL_SKIP_LOWLEVEL_INIT if SPL
  	select SPL_SIMPLE_BUS if SPL
  	select SUPPORT_SPL
  	select TRANSLATION_OFFSET

Viele Grüße,
Stefan

Signature · 3 lines
DENX Software Engineering GmbH,      Managing Director: Wolfgang Denk
HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany
Phone: (+49)-8142-66989-51 Fax: (+49)-8142-66989-80 Email: [email protected]