public inbox for u-boot@lists.denx.de
 help / color / mirror / Atom feed
* [U-Boot] [PATCH v2 1/2] spl: socfpga: only gen5 devices and arria10 require sfp image
@ 2018-09-06  3:02 Dalon Westergreen
  2018-09-06  3:02 ` [U-Boot] [PATCH v2 2/2] spl: socfpga: stratix10: add hex file output for spl image Dalon Westergreen
  2018-09-06 10:08 ` [U-Boot] [PATCH v2 1/2] spl: socfpga: only gen5 devices and arria10 require sfp image Marek Vasut
  0 siblings, 2 replies; 19+ messages in thread
From: Dalon Westergreen @ 2018-09-06  3:02 UTC (permalink / raw)
  To: u-boot

Only the Cyclone5/Arria5 and Arria10 devices require the sfp
formated image for booting. This path ensures that the file is
only generated for those devices.

Signed-off-by: Dalon Westergreen <dwesterg@gmail.com>
---
 scripts/Makefile.spl | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/scripts/Makefile.spl b/scripts/Makefile.spl
index 252f13826d..76d08fd92b 100644
--- a/scripts/Makefile.spl
+++ b/scripts/Makefile.spl
@@ -188,7 +188,8 @@ ALL-y	+= $(obj)/$(BOARD)-spl.bin
 endif
 
 ifdef CONFIG_ARCH_SOCFPGA
-ALL-y	+= $(obj)/$(SPL_BIN).sfp
+ALL-$(CONFIG_TARGET_SOCFPGA_GEN5)	+= $(obj)/$(SPL_BIN).sfp
+ALL-$(CONFIG_TARGET_SOCFPGA_ARRIA10)	+= $(obj)/$(SPL_BIN).sfp
 endif
 
 ifdef CONFIG_ARCH_SUNXI
-- 
2.17.1

^ permalink raw reply related	[flat|nested] 19+ messages in thread

end of thread, other threads:[~2018-09-07 18:17 UTC | newest]

Thread overview: 19+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2018-09-06  3:02 [U-Boot] [PATCH v2 1/2] spl: socfpga: only gen5 devices and arria10 require sfp image Dalon Westergreen
2018-09-06  3:02 ` [U-Boot] [PATCH v2 2/2] spl: socfpga: stratix10: add hex file output for spl image Dalon Westergreen
2018-09-06  5:51   ` Simon Goldschmidt
2018-09-06 13:49     ` Dalon L Westergreen
2018-09-06 10:09   ` Marek Vasut
2018-09-06 13:39     ` Dalon L Westergreen
2018-09-06 13:41       ` Marek Vasut
2018-09-06 17:40         ` Dalon L Westergreen
2018-09-06 18:16           ` Marek Vasut
2018-09-06 21:26         ` Dalon L Westergreen
2018-09-06 21:56           ` Marek Vasut
2018-09-07 16:15             ` Dalon L Westergreen
2018-09-07 16:25               ` Marek Vasut
2018-09-07 16:40                 ` Dalon L Westergreen
2018-09-07 17:36                   ` Marek Vasut
2018-09-07 18:02                     ` Westergreen, Dalon
2018-09-07 18:17                       ` Marek Vasut
2018-09-06 10:08 ` [U-Boot] [PATCH v2 1/2] spl: socfpga: only gen5 devices and arria10 require sfp image Marek Vasut
2018-09-06 13:30   ` Dalon L Westergreen

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox