aboutsummaryrefslogtreecommitdiff
path: root/scripts/Makefile.spl
diff options
context:
space:
mode:
authorDalon Westergreen <dalon.westergreen@intel.com>2019-03-20 13:15:21 -0700
committerMarek Vasut <marex@denx.de>2019-03-21 03:31:01 +0100
commite3ada91e49848ddcd3293a737cf08e48b2d72e42 (patch)
tree8811fb8d4808fb75adf3eed4acc4285953dd44b8 /scripts/Makefile.spl
parenta00d15757d7a513e410f15f2f910cb52333361a3 (diff)
downloadu-boot-e3ada91e49848ddcd3293a737cf08e48b2d72e42.zip
u-boot-e3ada91e49848ddcd3293a737cf08e48b2d72e42.tar.gz
u-boot-e3ada91e49848ddcd3293a737cf08e48b2d72e42.tar.bz2
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>
Diffstat (limited to 'scripts/Makefile.spl')
-rw-r--r--scripts/Makefile.spl2
1 files changed, 1 insertions, 1 deletions
diff --git a/scripts/Makefile.spl b/scripts/Makefile.spl
index 9d59216..54b160d 100644
--- a/scripts/Makefile.spl
+++ b/scripts/Makefile.spl
@@ -212,7 +212,7 @@ ifdef CONFIG_SAMSUNG
ALL-y += $(obj)/$(BOARD)-spl.bin
endif
-ifdef CONFIG_ARCH_SOCFPGA
+ifneq ($(CONFIG_TARGET_SOCFPGA_GEN5)$(CONFIG_TARGET_SOCFPGA_ARRIA10),)
ALL-y += $(obj)/$(SPL_BIN).sfp
endif