spl: socfpga: Generate Arria10 SFP header V1
authorMarek Vasut <marex@denx.de>
Sun, 15 Apr 2018 13:21:09 +0000 (15:21 +0200)
committerMarek Vasut <marex@denx.de>
Tue, 8 May 2018 19:08:42 +0000 (21:08 +0200)
Generate SoCFPGA boot header version 1 instead of version 0 for Arria10.

Signed-off-by: Marek Vasut <marex@denx.de>
Cc: Dinh Nguyen <dinguyen@kernel.org>
Cc: Chin Liang See <chin.liang.see@intel.com>
scripts/Makefile.spl

index 09e7cef96ed0c38361f3ce0c1a0701891a168d43..057389997de6948d59657eef1f834af52aeeacf7 100644 (file)
@@ -307,7 +307,11 @@ LDFLAGS_$(SPL_BIN) += -Ttext $(CONFIG_SPL_TEXT_BASE)
 endif
 endif
 
+ifdef CONFIG_TARGET_SOCFPGA_ARRIA10
+MKIMAGEFLAGS_$(SPL_BIN).sfp = -T socfpgaimage_v1
+else
 MKIMAGEFLAGS_$(SPL_BIN).sfp = -T socfpgaimage
+endif
 $(obj)/$(SPL_BIN).sfp: $(obj)/$(SPL_BIN).bin FORCE
        $(call if_changed,mkimage)