From 1278843c4ab07df70aaeacac0816ce271b931739 Mon Sep 17 00:00:00 2001 From: Andrey Zhizhikin Date: Wed, 9 Jan 2019 13:25:06 +0000 Subject: u-boot-socfpga: cleanup u-boot binary suffix definition UBOOT_BINARY and UBOOT_SUFFIX are defined on a machine basis, and therefore are moved from u-boot-socfpga recipe to the machine configuration. Signed-off-by: Andrey Zhizhikin --- conf/machine/cyclone5.conf | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'conf') diff --git a/conf/machine/cyclone5.conf b/conf/machine/cyclone5.conf index 164c108..7210566 100644 --- a/conf/machine/cyclone5.conf +++ b/conf/machine/cyclone5.conf @@ -15,6 +15,12 @@ UBOOT_CONFIG[sockit] = "socfpga_sockit_defconfig" UBOOT_CONFIG[socrates] = "socfpga_socrates_defconfig" UBOOT_CONFIG[sr1500] = "socfpga_sr1500_defconfig" +# Some versions of u-boot use .bin and others use .img. +# By default we use .sfp as this is what is generated +# for Cyclone V by the U-Boot. +UBOOT_SUFFIX = "sfp" +UBOOT_BINARY = "u-boot-with-spl.${UBOOT_SUFFIX}" + KMACHINE = "cyclone5" # Default kernel devicetrees -- cgit v1.2.3-54-g00ecf