arm: mvebu: Set CPU for U-Boot SPL binary in kwbimage
kwbimage needs to know CPU type, so set it in kwbimage config file. Signed-off-by: Pali Rohár <pali@kernel.org> Reviewed-by: Stefan Roese <sr@denx.de>
This commit is contained in:
parent
78d997f98b
commit
29c6a9c763
@ -31,6 +31,14 @@ obj-$(CONFIG_MVEBU_EFUSE) += efuse.o
|
||||
|
||||
extra-y += kwbimage.cfg
|
||||
|
||||
ifneq ($(CONFIG_ARMADA_370)$(CONFIG_ARMADA_XP),)
|
||||
KWB_REPLACE += CPU
|
||||
KWB_CFG_CPU = SHEEVA
|
||||
else ifneq ($(CONFIG_ARMADA_375)$(CONFIG_ARMADA_38X)$(CONFIG_ARMADA_39X),)
|
||||
KWB_REPLACE += CPU
|
||||
KWB_CFG_CPU = A9
|
||||
endif
|
||||
|
||||
KWB_REPLACE += BOOT_FROM
|
||||
ifneq ($(CONFIG_MVEBU_SPL_BOOT_DEVICE_SPI),)
|
||||
KWB_CFG_BOOT_FROM=spi
|
||||
|
@ -5,6 +5,9 @@
|
||||
# Armada 38x uses version 1 image format
|
||||
VERSION 1
|
||||
|
||||
# Type of the CPU core
|
||||
#@CPU
|
||||
|
||||
# Boot Media configurations
|
||||
#@BOOT_FROM
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user