Commit e3ada91e49848ddcd3293a737cf08e48b2d72e42

Authored by Dalon Westergreen
Committed by Marek Vasut
1 parent a00d15757d

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>

Showing 2 changed files with 3 additions and 2 deletions Side-by-side Diff

... ... @@ -226,7 +226,8 @@
226 226  
227 227 config BUILD_TARGET
228 228 string "Build target special images"
229   - default "u-boot-with-spl.sfp" if ARCH_SOCFPGA
  229 + default "u-boot-with-spl.sfp" if TARGET_SOCFPGA_ARRIA10
  230 + default "u-boot-with-spl.sfp" if TARGET_SOCFPGA_GEN5
230 231 default "u-boot-spl.kwb" if ARCH_MVEBU && SPL
231 232 default "u-boot-elf.srec" if RCAR_GEN3
232 233 default "u-boot.itb" if SPL_LOAD_FIT && ARCH_SUNXI
scripts/Makefile.spl
... ... @@ -212,7 +212,7 @@
212 212 ALL-y += $(obj)/$(BOARD)-spl.bin
213 213 endif
214 214  
215   -ifdef CONFIG_ARCH_SOCFPGA
  215 +ifneq ($(CONFIG_TARGET_SOCFPGA_GEN5)$(CONFIG_TARGET_SOCFPGA_ARRIA10),)
216 216 ALL-y += $(obj)/$(SPL_BIN).sfp
217 217 endif
218 218