Skip to contentSkip to conversation

arm: mvebu: Fix default CONFIG_BUILD_TARGET

PATCH In review Pali Rohár 2 participants 6 messages Dec 29, 2022 – Jan 11, 2023

lore
Share & tools
lore
#0 lore raw

PATCH 1/3 arm: mvebu: Fix default CONFIG_BUILD_TARGET

u-boot-with-spl.kwb is built only for SPL enabled 32-bit armada boards. u-boot.kwb is built for 32-bit armada and kirkwood boards but only for non-SPL targets.

So replace CONFIG_ARCH_MVEBU by CONFIG_ARMADA_32BIT (it implies CONFIG_ARCH_MVEBU) for u-boot-with-spl.kwb.

And add additional CONFIG_ARMADA_32BIT && !CONFIG_SPL for u-boot.kwb.

---
 Kconfig | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
Kconfig +2 -2
index 0cdc9658f796..2243cc51c7cb 100644
@@ -456,11 +456,11 @@ config BUILD_TARGET
 	string "Build target special images"
 	default "u-boot-with-spl.sfp" if TARGET_SOCFPGA_ARRIA10
 	default "u-boot-with-spl.sfp" if TARGET_SOCFPGA_GEN5
-	default "u-boot-with-spl.kwb" if ARCH_MVEBU && SPL
+	default "u-boot-with-spl.kwb" if ARMADA_32BIT && SPL
 	default "u-boot-elf.srec" if RCAR_GEN3
 	default "u-boot.itb" if !BINMAN && SPL_LOAD_FIT && (ARCH_ROCKCHIP || \
 				ARCH_SUNXI || RISCV || ARCH_ZYNQMP)
-	default "u-boot.kwb" if ARCH_KIRKWOOD
+	default "u-boot.kwb" if (ARCH_KIRKWOOD || ARMADA_32BIT) && !SPL
 	default "u-boot-with-spl.bin" if ARCH_AT91 && SPL_NAND_SUPPORT
 	default "u-boot-with-spl.imx" if ARCH_MX6 && SPL
 	help
Signature · 1 line
2.20.1
#1 lore raw

PATCH 2/3 powerpc/mpc85xx: Set default CONFIG_BUILD_TARGET

Final U-Boot binary for mpc85xx boards which use SPL and are not PBL-based based is u-boot-with-spl.bin. PBL is not used only on boards with e500v1 and e500v2 cores. Apparently CONFIG_E500 is set not only for e500 cores, but also for all other mpc85xx cores e500mc, e5500 and e5600. So do not use CONFIG_E500 and instead filter new cores with PBL based bootrom.

---
 Kconfig | 1 +
 1 file changed, 1 insertion(+)
Kconfig +1 -0
index 2243cc51c7cb..dedac5396918 100644
@@ -461,6 +461,7 @@ config BUILD_TARGET
 	default "u-boot.itb" if !BINMAN && SPL_LOAD_FIT && (ARCH_ROCKCHIP || \
 				ARCH_SUNXI || RISCV || ARCH_ZYNQMP)
 	default "u-boot.kwb" if (ARCH_KIRKWOOD || ARMADA_32BIT) && !SPL
+	default "u-boot-with-spl.bin" if MPC85xx && !E500MC && !E5500 && !E6500 && SPL
 	default "u-boot-with-spl.bin" if ARCH_AT91 && SPL_NAND_SUPPORT
 	default "u-boot-with-spl.imx" if ARCH_MX6 && SPL
 	help
Signature · 1 line
2.20.1
#2 lore raw

Re: [PATCH 2/3] powerpc/mpc85xx: Set default CONFIG_BUILD_TARGET

Quoted 7 lines · Pali Rohár

Final U-Boot binary for mpc85xx boards which use SPL and are not PBL-based based is u-boot-with-spl.bin. PBL is not used only on boards with e500v1 and e500v2 cores. Apparently CONFIG_E500 is set not only for e500 cores, but also for all other mpc85xx cores e500mc, e5500 and e5600. So do not use CONFIG_E500 and instead filter new cores with PBL based bootrom.

Applied to u-boot/master, thanks!

Signature · 1 line
Tom
#3 lore raw

PATCH 3/3 powerpc/mpc85xx: Unset CONFIG_SPL_TARGET="u-boot-with-spl.bin"

In reply to Pali Rohár

CONFIG_SPL_TARGET should specify additional SPL make target. But u-boot-with-spl.bin is final U-Boot binary, not SPL binary in some custom format. Moreover u-boot-with-spl.bin is already set in CONFIG_BUILD_TARGET, so make will build it by default.

---
 configs/P1010RDB-PA_36BIT_NAND_defconfig     | 1 -
 configs/P1010RDB-PA_36BIT_SDCARD_defconfig   | 1 -
 configs/P1010RDB-PA_36BIT_SPIFLASH_defconfig | 1 -
 configs/P1010RDB-PA_NAND_defconfig           | 1 -
 configs/P1010RDB-PA_SDCARD_defconfig         | 1 -
 configs/P1010RDB-PA_SPIFLASH_defconfig       | 1 -
 configs/P1010RDB-PB_36BIT_NAND_defconfig     | 1 -
 configs/P1010RDB-PB_36BIT_SDCARD_defconfig   | 1 -
 configs/P1010RDB-PB_36BIT_SPIFLASH_defconfig | 1 -
 configs/P1010RDB-PB_NAND_defconfig           | 1 -
 configs/P1010RDB-PB_SDCARD_defconfig         | 1 -
 configs/P1010RDB-PB_SPIFLASH_defconfig       | 1 -
 configs/P1020RDB-PC_36BIT_NAND_defconfig     | 1 -
 configs/P1020RDB-PC_36BIT_SDCARD_defconfig   | 1 -
 configs/P1020RDB-PC_36BIT_SPIFLASH_defconfig | 1 -
 configs/P1020RDB-PC_NAND_defconfig           | 1 -
 configs/P1020RDB-PC_SDCARD_defconfig         | 1 -
 configs/P1020RDB-PC_SPIFLASH_defconfig       | 1 -
 configs/P1020RDB-PD_NAND_defconfig           | 1 -
 configs/P1020RDB-PD_SDCARD_defconfig         | 1 -
 configs/P1020RDB-PD_SPIFLASH_defconfig       | 1 -
 configs/P2020RDB-PC_36BIT_NAND_defconfig     | 1 -
 configs/P2020RDB-PC_36BIT_SDCARD_defconfig   | 1 -
 configs/P2020RDB-PC_36BIT_SPIFLASH_defconfig | 1 -
 configs/P2020RDB-PC_NAND_defconfig           | 1 -
 configs/P2020RDB-PC_SDCARD_defconfig         | 1 -
 configs/P2020RDB-PC_SPIFLASH_defconfig       | 1 -
 27 files changed, 27 deletions(-)
configs/P1010RDB-PA_36BIT_NAND_defconfig +0 -1
index e15ca5ea2b5d..7d8ed14db21d 100644
@@ -49,7 +49,6 @@ CONFIG_TPL_RELOC_MALLOC=y
 CONFIG_TPL_RELOC_MALLOC_ADDR=0xd0034000
 CONFIG_TPL_RELOC_MALLOC_SIZE=0xc000
 CONFIG_SPL_NAND_SUPPORT=y
-CONFIG_SPL_TARGET="u-boot-with-spl.bin"
 CONFIG_TPL=y
 CONFIG_TPL_DRIVERS_MISC=y
 CONFIG_TPL_ENV_SUPPORT=y
configs/P1010RDB-PA_36BIT_SDCARD_defconfig +0 -1
index 230c6d02831c..d562e442fd42 100644
@@ -46,7 +46,6 @@ CONFIG_SPL_RELOC_MALLOC_SIZE=0x20000
 CONFIG_SPL_ENV_SUPPORT=y
 CONFIG_SPL_I2C=y
 CONFIG_SPL_MPC8XXX_INIT_DDR=y
-CONFIG_SPL_TARGET="u-boot-with-spl.bin"
 CONFIG_HUSH_PARSER=y
 CONFIG_SYS_PBSIZE=276
 CONFIG_CMD_IMLS=y
configs/P1010RDB-PA_36BIT_SPIFLASH_defconfig +0 -1
index 982420db74c4..03ddcc864352 100644
@@ -48,7 +48,6 @@ CONFIG_SPL_RELOC_MALLOC_SIZE=0x20000
 CONFIG_SPL_ENV_SUPPORT=y
 CONFIG_SPL_I2C=y
 CONFIG_SPL_MPC8XXX_INIT_DDR=y
-CONFIG_SPL_TARGET="u-boot-with-spl.bin"
 CONFIG_HUSH_PARSER=y
 CONFIG_SYS_PBSIZE=276
 CONFIG_CMD_IMLS=y
configs/P1010RDB-PA_NAND_defconfig +0 -1
index b3af4450d00f..1e207e0cf09b 100644
@@ -48,7 +48,6 @@ CONFIG_TPL_RELOC_MALLOC=y
 CONFIG_TPL_RELOC_MALLOC_ADDR=0xd0034000
 CONFIG_TPL_RELOC_MALLOC_SIZE=0xc000
 CONFIG_SPL_NAND_SUPPORT=y
-CONFIG_SPL_TARGET="u-boot-with-spl.bin"
 CONFIG_TPL=y
 CONFIG_TPL_DRIVERS_MISC=y
 CONFIG_TPL_ENV_SUPPORT=y
configs/P1010RDB-PA_SDCARD_defconfig +0 -1
index dd9120970bab..ef790bf09ed0 100644
@@ -45,7 +45,6 @@ CONFIG_SPL_RELOC_MALLOC_SIZE=0x20000
 CONFIG_SPL_ENV_SUPPORT=y
 CONFIG_SPL_I2C=y
 CONFIG_SPL_MPC8XXX_INIT_DDR=y
-CONFIG_SPL_TARGET="u-boot-with-spl.bin"
 CONFIG_HUSH_PARSER=y
 CONFIG_SYS_PBSIZE=276
 CONFIG_CMD_IMLS=y
configs/P1010RDB-PA_SPIFLASH_defconfig +0 -1
index ff7cfa246159..e6994aec2403 100644
@@ -47,7 +47,6 @@ CONFIG_SPL_RELOC_MALLOC_SIZE=0x20000
 CONFIG_SPL_ENV_SUPPORT=y
 CONFIG_SPL_I2C=y
 CONFIG_SPL_MPC8XXX_INIT_DDR=y
-CONFIG_SPL_TARGET="u-boot-with-spl.bin"
 CONFIG_HUSH_PARSER=y
 CONFIG_SYS_PBSIZE=276
 CONFIG_CMD_IMLS=y
configs/P1010RDB-PB_36BIT_NAND_defconfig +0 -1
index a61f4d017a68..d4b14d49f29e 100644
@@ -50,7 +50,6 @@ CONFIG_TPL_RELOC_MALLOC=y
 CONFIG_TPL_RELOC_MALLOC_ADDR=0xd0034000
 CONFIG_TPL_RELOC_MALLOC_SIZE=0xc000
 CONFIG_SPL_NAND_SUPPORT=y
-CONFIG_SPL_TARGET="u-boot-with-spl.bin"
 CONFIG_TPL=y
 CONFIG_TPL_DRIVERS_MISC=y
 CONFIG_TPL_ENV_SUPPORT=y
configs/P1010RDB-PB_36BIT_SDCARD_defconfig +0 -1
index 84e2d3c587a4..e0b964e1cc84 100644
@@ -47,7 +47,6 @@ CONFIG_SPL_RELOC_MALLOC_SIZE=0x20000
 CONFIG_SPL_ENV_SUPPORT=y
 CONFIG_SPL_I2C=y
 CONFIG_SPL_MPC8XXX_INIT_DDR=y
-CONFIG_SPL_TARGET="u-boot-with-spl.bin"
 CONFIG_HUSH_PARSER=y
 CONFIG_SYS_PBSIZE=276
 CONFIG_CMD_IMLS=y
configs/P1010RDB-PB_36BIT_SPIFLASH_defconfig +0 -1
index b883b81e0cd8..5ec89234f8ee 100644
@@ -49,7 +49,6 @@ CONFIG_SPL_RELOC_MALLOC_SIZE=0x20000
 CONFIG_SPL_ENV_SUPPORT=y
 CONFIG_SPL_I2C=y
 CONFIG_SPL_MPC8XXX_INIT_DDR=y
-CONFIG_SPL_TARGET="u-boot-with-spl.bin"
 CONFIG_HUSH_PARSER=y
 CONFIG_SYS_PBSIZE=276
 CONFIG_CMD_IMLS=y
configs/P1010RDB-PB_NAND_defconfig +0 -1
index 7f7870d82c52..7b5f6089e1ce 100644
@@ -49,7 +49,6 @@ CONFIG_TPL_RELOC_MALLOC=y
 CONFIG_TPL_RELOC_MALLOC_ADDR=0xd0034000
 CONFIG_TPL_RELOC_MALLOC_SIZE=0xc000
 CONFIG_SPL_NAND_SUPPORT=y
-CONFIG_SPL_TARGET="u-boot-with-spl.bin"
 CONFIG_TPL=y
 CONFIG_TPL_DRIVERS_MISC=y
 CONFIG_TPL_ENV_SUPPORT=y
configs/P1010RDB-PB_SDCARD_defconfig +0 -1
index e985f8cd75d0..57cdd7a71b5c 100644
@@ -46,7 +46,6 @@ CONFIG_SPL_RELOC_MALLOC_SIZE=0x20000
 CONFIG_SPL_ENV_SUPPORT=y
 CONFIG_SPL_I2C=y
 CONFIG_SPL_MPC8XXX_INIT_DDR=y
-CONFIG_SPL_TARGET="u-boot-with-spl.bin"
 CONFIG_HUSH_PARSER=y
 CONFIG_SYS_PBSIZE=276
 CONFIG_CMD_IMLS=y
configs/P1010RDB-PB_SPIFLASH_defconfig +0 -1
index 9f4ae14e0b23..43dcd13c9ab0 100644
@@ -48,7 +48,6 @@ CONFIG_SPL_RELOC_MALLOC_SIZE=0x20000
 CONFIG_SPL_ENV_SUPPORT=y
 CONFIG_SPL_I2C=y
 CONFIG_SPL_MPC8XXX_INIT_DDR=y
-CONFIG_SPL_TARGET="u-boot-with-spl.bin"
 CONFIG_HUSH_PARSER=y
 CONFIG_SYS_PBSIZE=276
 CONFIG_CMD_IMLS=y
configs/P1020RDB-PC_36BIT_NAND_defconfig +0 -1
index 3f93b318c92f..96035d45238d 100644
@@ -50,7 +50,6 @@ CONFIG_TPL_RELOC_MALLOC=y
 CONFIG_TPL_RELOC_MALLOC_ADDR=0xf8fb4000
 CONFIG_TPL_RELOC_MALLOC_SIZE=0xc000
 CONFIG_SPL_NAND_SUPPORT=y
-CONFIG_SPL_TARGET="u-boot-with-spl.bin"
 CONFIG_TPL=y
 CONFIG_TPL_ENV_SUPPORT=y
 CONFIG_TPL_I2C=y
configs/P1020RDB-PC_36BIT_SDCARD_defconfig +0 -1
index 3b3cf1ee7a5e..160355d98917 100644
@@ -47,7 +47,6 @@ CONFIG_SPL_RELOC_MALLOC_SIZE=0x1b000
 CONFIG_SPL_ENV_SUPPORT=y
 CONFIG_SPL_I2C=y
 CONFIG_SPL_MPC8XXX_INIT_DDR=y
-CONFIG_SPL_TARGET="u-boot-with-spl.bin"
 CONFIG_HUSH_PARSER=y
 # CONFIG_AUTO_COMPLETE is not set
 CONFIG_SYS_PBSIZE=276
configs/P1020RDB-PC_36BIT_SPIFLASH_defconfig +0 -1
index aba5b9cedd43..4633f91b1ee5 100644
@@ -49,7 +49,6 @@ CONFIG_SPL_RELOC_MALLOC_SIZE=0x1b000
 CONFIG_SPL_ENV_SUPPORT=y
 CONFIG_SPL_I2C=y
 CONFIG_SPL_MPC8XXX_INIT_DDR=y
-CONFIG_SPL_TARGET="u-boot-with-spl.bin"
 CONFIG_HUSH_PARSER=y
 # CONFIG_AUTO_COMPLETE is not set
 CONFIG_SYS_PBSIZE=276
configs/P1020RDB-PC_NAND_defconfig +0 -1
index f3fc4c82a54d..1646601c1236 100644
@@ -49,7 +49,6 @@ CONFIG_TPL_RELOC_MALLOC=y
 CONFIG_TPL_RELOC_MALLOC_ADDR=0xf8fb4000
 CONFIG_TPL_RELOC_MALLOC_SIZE=0xc000
 CONFIG_SPL_NAND_SUPPORT=y
-CONFIG_SPL_TARGET="u-boot-with-spl.bin"
 CONFIG_TPL=y
 CONFIG_TPL_ENV_SUPPORT=y
 CONFIG_TPL_I2C=y
configs/P1020RDB-PC_SDCARD_defconfig +0 -1
index 25eb5d5da74a..99089d1aae11 100644
@@ -46,7 +46,6 @@ CONFIG_SPL_RELOC_MALLOC_SIZE=0x1b000
 CONFIG_SPL_ENV_SUPPORT=y
 CONFIG_SPL_I2C=y
 CONFIG_SPL_MPC8XXX_INIT_DDR=y
-CONFIG_SPL_TARGET="u-boot-with-spl.bin"
 CONFIG_HUSH_PARSER=y
 # CONFIG_AUTO_COMPLETE is not set
 CONFIG_SYS_PBSIZE=276
configs/P1020RDB-PC_SPIFLASH_defconfig +0 -1
index 054320f356cd..1832210b2734 100644
@@ -48,7 +48,6 @@ CONFIG_SPL_RELOC_MALLOC_SIZE=0x1b000
 CONFIG_SPL_ENV_SUPPORT=y
 CONFIG_SPL_I2C=y
 CONFIG_SPL_MPC8XXX_INIT_DDR=y
-CONFIG_SPL_TARGET="u-boot-with-spl.bin"
 CONFIG_HUSH_PARSER=y
 # CONFIG_AUTO_COMPLETE is not set
 CONFIG_SYS_PBSIZE=276
configs/P1020RDB-PD_NAND_defconfig +0 -1
index cc02fe6a8ac9..6dd3e5395e54 100644
@@ -49,7 +49,6 @@ CONFIG_TPL_RELOC_MALLOC=y
 CONFIG_TPL_RELOC_MALLOC_ADDR=0xf8fb4000
 CONFIG_TPL_RELOC_MALLOC_SIZE=0xc000
 CONFIG_SPL_NAND_SUPPORT=y
-CONFIG_SPL_TARGET="u-boot-with-spl.bin"
 CONFIG_TPL=y
 CONFIG_TPL_ENV_SUPPORT=y
 CONFIG_TPL_I2C=y
configs/P1020RDB-PD_SDCARD_defconfig +0 -1
index dc82da81b816..9bbbfdd32eab 100644
@@ -46,7 +46,6 @@ CONFIG_SPL_RELOC_MALLOC_SIZE=0x1b000
 CONFIG_SPL_ENV_SUPPORT=y
 CONFIG_SPL_I2C=y
 CONFIG_SPL_MPC8XXX_INIT_DDR=y
-CONFIG_SPL_TARGET="u-boot-with-spl.bin"
 CONFIG_HUSH_PARSER=y
 # CONFIG_AUTO_COMPLETE is not set
 CONFIG_SYS_PBSIZE=276
configs/P1020RDB-PD_SPIFLASH_defconfig +0 -1
index 7b80edeeeb92..8e4df6366c7e 100644
@@ -48,7 +48,6 @@ CONFIG_SPL_RELOC_MALLOC_SIZE=0x1b000
 CONFIG_SPL_ENV_SUPPORT=y
 CONFIG_SPL_I2C=y
 CONFIG_SPL_MPC8XXX_INIT_DDR=y
-CONFIG_SPL_TARGET="u-boot-with-spl.bin"
 CONFIG_HUSH_PARSER=y
 # CONFIG_AUTO_COMPLETE is not set
 CONFIG_SYS_PBSIZE=276
configs/P2020RDB-PC_36BIT_NAND_defconfig +0 -1
index 9162774ad70c..b018dfa2fa67 100644
@@ -50,7 +50,6 @@ CONFIG_TPL_RELOC_MALLOC=y
 CONFIG_TPL_RELOC_MALLOC_ADDR=0xf8fb4000
 CONFIG_TPL_RELOC_MALLOC_SIZE=0xc000
 CONFIG_SPL_NAND_SUPPORT=y
-CONFIG_SPL_TARGET="u-boot-with-spl.bin"
 CONFIG_TPL=y
 CONFIG_TPL_ENV_SUPPORT=y
 CONFIG_TPL_I2C=y
configs/P2020RDB-PC_36BIT_SDCARD_defconfig +0 -1
index fd143b610b98..1633595da7f2 100644
@@ -47,7 +47,6 @@ CONFIG_SPL_RELOC_MALLOC_SIZE=0x5b000
 CONFIG_SPL_ENV_SUPPORT=y
 CONFIG_SPL_I2C=y
 CONFIG_SPL_MPC8XXX_INIT_DDR=y
-CONFIG_SPL_TARGET="u-boot-with-spl.bin"
 CONFIG_HUSH_PARSER=y
 # CONFIG_AUTO_COMPLETE is not set
 CONFIG_SYS_PBSIZE=276
configs/P2020RDB-PC_36BIT_SPIFLASH_defconfig +0 -1
index edb8b9958eae..513d7f30a13e 100644
@@ -49,7 +49,6 @@ CONFIG_SPL_RELOC_MALLOC_SIZE=0x5b000
 CONFIG_SPL_ENV_SUPPORT=y
 CONFIG_SPL_I2C=y
 CONFIG_SPL_MPC8XXX_INIT_DDR=y
-CONFIG_SPL_TARGET="u-boot-with-spl.bin"
 CONFIG_HUSH_PARSER=y
 # CONFIG_AUTO_COMPLETE is not set
 CONFIG_SYS_PBSIZE=276
configs/P2020RDB-PC_NAND_defconfig +0 -1
index 1269d22f90c6..a274b69e6292 100644
@@ -49,7 +49,6 @@ CONFIG_TPL_RELOC_MALLOC=y
 CONFIG_TPL_RELOC_MALLOC_ADDR=0xf8fb4000
 CONFIG_TPL_RELOC_MALLOC_SIZE=0xc000
 CONFIG_SPL_NAND_SUPPORT=y
-CONFIG_SPL_TARGET="u-boot-with-spl.bin"
 CONFIG_TPL=y
 CONFIG_TPL_ENV_SUPPORT=y
 CONFIG_TPL_I2C=y
configs/P2020RDB-PC_SDCARD_defconfig +0 -1
index b5394d05b7ff..0db1a7a9cc03 100644
@@ -46,7 +46,6 @@ CONFIG_SPL_RELOC_MALLOC_SIZE=0x5b000
 CONFIG_SPL_ENV_SUPPORT=y
 CONFIG_SPL_I2C=y
 CONFIG_SPL_MPC8XXX_INIT_DDR=y
-CONFIG_SPL_TARGET="u-boot-with-spl.bin"
 CONFIG_HUSH_PARSER=y
 # CONFIG_AUTO_COMPLETE is not set
 CONFIG_SYS_PBSIZE=276
configs/P2020RDB-PC_SPIFLASH_defconfig +0 -1
index 431ca31302c9..77a58fef660e 100644
@@ -48,7 +48,6 @@ CONFIG_SPL_RELOC_MALLOC_SIZE=0x5b000
 CONFIG_SPL_ENV_SUPPORT=y
 CONFIG_SPL_I2C=y
 CONFIG_SPL_MPC8XXX_INIT_DDR=y
-CONFIG_SPL_TARGET="u-boot-with-spl.bin"
 CONFIG_HUSH_PARSER=y
 # CONFIG_AUTO_COMPLETE is not set
 CONFIG_SYS_PBSIZE=276
Signature · 1 line
2.20.1
#4 lore raw

Re: [PATCH 3/3] powerpc/mpc85xx: Unset CONFIG_SPL_TARGET="u-boot-with-spl.bin"

Quoted 6 lines · Pali Rohár

CONFIG_SPL_TARGET should specify additional SPL make target. But u-boot-with-spl.bin is final U-Boot binary, not SPL binary in some custom format. Moreover u-boot-with-spl.bin is already set in CONFIG_BUILD_TARGET, so make will build it by default.

Applied to u-boot/master, thanks!

Signature · 1 line
Tom
#5 lore raw
In reply to Pali Rohár
Quoted 10 lines · Pali Rohár

u-boot-with-spl.kwb is built only for SPL enabled 32-bit armada boards. u-boot.kwb is built for 32-bit armada and kirkwood boards but only for non-SPL targets.

So replace CONFIG_ARCH_MVEBU by CONFIG_ARMADA_32BIT (it implies CONFIG_ARCH_MVEBU) for u-boot-with-spl.kwb.

And add additional CONFIG_ARMADA_32BIT && !CONFIG_SPL for u-boot.kwb.

Applied to u-boot/master, thanks!

Signature · 1 line
Tom