mirror of
https://github.com/AsahiLinux/u-boot
synced 2024-11-24 13:43:28 +00:00
ARM: socfpga: Build sfp image only for Gen5 and Arria10 devices
The sfp file is only valid for Gen5 (Cyclone5 & Arria5) and Arria10 devices. The file should only be built for these devices. Signed-off-by: Dalon Westergreen <dalon.westergreen@intel.com>
This commit is contained in:
parent
a00d15757d
commit
e3ada91e49
2 changed files with 3 additions and 2 deletions
3
Kconfig
3
Kconfig
|
@ -226,7 +226,8 @@ config BUILD_ROM
|
||||||
|
|
||||||
config BUILD_TARGET
|
config BUILD_TARGET
|
||||||
string "Build target special images"
|
string "Build target special images"
|
||||||
default "u-boot-with-spl.sfp" if ARCH_SOCFPGA
|
default "u-boot-with-spl.sfp" if TARGET_SOCFPGA_ARRIA10
|
||||||
|
default "u-boot-with-spl.sfp" if TARGET_SOCFPGA_GEN5
|
||||||
default "u-boot-spl.kwb" if ARCH_MVEBU && SPL
|
default "u-boot-spl.kwb" if ARCH_MVEBU && SPL
|
||||||
default "u-boot-elf.srec" if RCAR_GEN3
|
default "u-boot-elf.srec" if RCAR_GEN3
|
||||||
default "u-boot.itb" if SPL_LOAD_FIT && ARCH_SUNXI
|
default "u-boot.itb" if SPL_LOAD_FIT && ARCH_SUNXI
|
||||||
|
|
|
@ -212,7 +212,7 @@ ifdef CONFIG_SAMSUNG
|
||||||
ALL-y += $(obj)/$(BOARD)-spl.bin
|
ALL-y += $(obj)/$(BOARD)-spl.bin
|
||||||
endif
|
endif
|
||||||
|
|
||||||
ifdef CONFIG_ARCH_SOCFPGA
|
ifneq ($(CONFIG_TARGET_SOCFPGA_GEN5)$(CONFIG_TARGET_SOCFPGA_ARRIA10),)
|
||||||
ALL-y += $(obj)/$(SPL_BIN).sfp
|
ALL-y += $(obj)/$(SPL_BIN).sfp
|
||||||
endif
|
endif
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue