All of lore.kernel.org
 help / color / mirror / Atom feed
From: Dalon Westergreen <dwesterg@gmail.com>
To: u-boot@lists.denx.de
Subject: [U-Boot] [PATCH 1/2] spl: socfpga: only gen5 devices and arria10 require sfp image
Date: Mon, 20 Aug 2018 06:54:19 -0700	[thread overview]
Message-ID: <20180820135420.19080-2-dwesterg@gmail.com> (raw)
In-Reply-To: <20180820135420.19080-1-dwesterg@gmail.com>

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

  reply	other threads:[~2018-08-20 13:54 UTC|newest]

Thread overview: 13+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2018-08-20 13:54 [U-Boot] [PATCH 0/2] socfpga: cleanup files generated for spl Dalon Westergreen
2018-08-20 13:54 ` Dalon Westergreen [this message]
2018-08-20 13:54 ` [U-Boot] [PATCH 2/2] spl: socfpga: stratix10: add hex file output for spl image Dalon Westergreen
2018-08-20 18:33   ` Marek Vasut
2018-08-20 21:04     ` Dalon L Westergreen
2018-08-21  3:52       ` Marek Vasut
2018-08-27 15:30         ` Dalon L Westergreen
2018-08-27 19:03           ` Marek Vasut
2018-08-27 22:03             ` Dalon L Westergreen
2018-08-27 23:54               ` Marek Vasut
2018-08-28 15:43                 ` Dalon L Westergreen
2018-08-28 15:51                   ` Marek Vasut
2018-08-28 15:55                     ` Dalon L Westergreen

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20180820135420.19080-2-dwesterg@gmail.com \
    --to=dwesterg@gmail.com \
    --cc=u-boot@lists.denx.de \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.