From: Marek Vasut Date: Sun, 15 Apr 2018 13:21:09 +0000 (+0200) Subject: spl: socfpga: Generate Arria10 SFP header V1 X-Git-Tag: v2018.07-rc1~161^2 X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=792557d1110e13f82ee66dab57c5dca2102744da;p=oweals%2Fu-boot.git spl: socfpga: Generate Arria10 SFP header V1 Generate SoCFPGA boot header version 1 instead of version 0 for Arria10. Signed-off-by: Marek Vasut Cc: Dinh Nguyen Cc: Chin Liang See --- diff --git a/scripts/Makefile.spl b/scripts/Makefile.spl index 09e7cef96e..057389997d 100644 --- a/scripts/Makefile.spl +++ b/scripts/Makefile.spl @@ -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)