mirror of
https://github.com/AsahiLinux/u-boot
synced 2024-11-11 07:34:31 +00:00
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
2 changed files with 11 additions and 0 deletions
|
@ -31,6 +31,14 @@ obj-$(CONFIG_MVEBU_EFUSE) += efuse.o
|
||||||
|
|
||||||
extra-y += kwbimage.cfg
|
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
|
KWB_REPLACE += BOOT_FROM
|
||||||
ifneq ($(CONFIG_MVEBU_SPL_BOOT_DEVICE_SPI),)
|
ifneq ($(CONFIG_MVEBU_SPL_BOOT_DEVICE_SPI),)
|
||||||
KWB_CFG_BOOT_FROM=spi
|
KWB_CFG_BOOT_FROM=spi
|
||||||
|
|
|
@ -5,6 +5,9 @@
|
||||||
# Armada 38x uses version 1 image format
|
# Armada 38x uses version 1 image format
|
||||||
VERSION 1
|
VERSION 1
|
||||||
|
|
||||||
|
# Type of the CPU core
|
||||||
|
#@CPU
|
||||||
|
|
||||||
# Boot Media configurations
|
# Boot Media configurations
|
||||||
#@BOOT_FROM
|
#@BOOT_FROM
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue