From 31c1bdec77d2fd3bfda4ba4175d93c572537bda3 Mon Sep 17 00:00:00 2001 From: Dalon Westergreen Date: Thu, 23 May 2019 11:53:32 -0700 Subject: Remove unnecessary hex generation for stratix10 hex creation for stratix10 spl is being added to the uboot build. we know just need to set SPL_BINARY appropriately. Signed-off-by: Dalon Westergreen --- recipes-bsp/u-boot/u-boot-socfpga-common.inc | 53 ---------------------------- 1 file changed, 53 deletions(-) (limited to 'recipes-bsp') diff --git a/recipes-bsp/u-boot/u-boot-socfpga-common.inc b/recipes-bsp/u-boot/u-boot-socfpga-common.inc index 415f70d..06f0992 100644 --- a/recipes-bsp/u-boot/u-boot-socfpga-common.inc +++ b/recipes-bsp/u-boot/u-boot-socfpga-common.inc @@ -7,57 +7,4 @@ SRC_URI = "git://git.denx.de/u-boot.git;branch=master" S = "${WORKDIR}/git" -do_compile_append_stratix10() { - if [ -n "${UBOOT_CONFIG}" ] - then - unset i j k - for config in ${UBOOT_MACHINE}; do - i=$(expr $i + 1); - for type in ${UBOOT_CONFIG}; do - j=$(expr $j + 1); - if [ $j -eq $i ] - then - ${OBJCOPY} -I binary -O ihex --change-addresses 0xffe00000 ${B}/${config}/${SPL_BINARY} ${B}/${config}/${SPL_BINARY}.ihex - fi - done - unset j - done - unset i - else - ${OBJCOPY} -I binary -O ihex --change-addresses 0xffe00000 ${B}/${SPL_BINARY} ${B}/${SPL_BINARY}.ihex - fi - -} - -do_deploy_append_stratix10() { - if [ -n "${SPL_BINARY}" ] - then - if [ -n "${UBOOT_CONFIG}" ] - then - for config in ${UBOOT_MACHINE}; do - i=$(expr $i + 1); - for type in ${UBOOT_CONFIG}; do - j=$(expr $j + 1); - if [ $j -eq $i ] - then - install -m 644 ${B}/${config}/${SPL_BINARY}.ihex ${DEPLOYDIR}/${SPL_IMAGE}.ihex-${type}-${PV}-${PR} - rm -f ${DEPLOYDIR}/${SPL_BINARYNAME}.ihex ${DEPLOYDIR}/${SPL_BINARYNAME}.ihex-${MACHINE}-${type} - ln -sf ${SPL_IMAGE}.ihex-${type}-${PV}-${PR} ${DEPLOYDIR}/${SPL_BINARYNAME}.ihex-${type} - ln -sf ${SPL_IMAGE}.ihex-${type}-${PV}-${PR} ${DEPLOYDIR}/${SPL_BINARYNAME}.ihex - ln -sf ${SPL_IMAGE}.ihex-${type}-${PV}-${PR} ${DEPLOYDIR}/${SPL_BINARYNAME}.ihex-${MACHINE}-${type} - ln -sf ${SPL_IMAGE}.ihex-${type}-${PV}-${PR} ${DEPLOYDIR}/${SPL_BINARYNAME}.ihex-${MACHINE} - fi - done - unset j - done - unset i - else - install -m 644 ${B}/${SPL_BINARY}.ihex ${DEPLOYDIR}/${SPL_IMAGE}.ihex - rm -f ${DEPLOYDIR}/${SPL_BINARYNAME}.ihex ${DEPLOYDIR}/${SPL_BINARYNAME}.ihex-${MACHINE} - ln -sf ${SPL_IMAGE}.ihex ${DEPLOYDIR}/${SPL_BINARYNAME}.ihex - ln -sf ${SPL_IMAGE}.ihex ${DEPLOYDIR}/${SPL_BINARYNAME}.ihex-${MACHINE} - fi - fi -} - RPROVIDES_${PN} += "u-boot" -- cgit v1.2.3-54-g00ecf