From c9ffae0976f49037e1b799db0a74807a54ab2531 Mon Sep 17 00:00:00 2001 From: Max Krummenacher Date: Fri, 9 Jan 2015 21:01:33 +0100 Subject: u-boot: build additional binary for Apalis iMX6Q 2GB IT The IT variant needs different RAM timings --- recipes-bsp/u-boot/u-boot-toradex-fsl_git.bb | 13 +++++++++++++ 1 file changed, 13 insertions(+) (limited to 'recipes-bsp') diff --git a/recipes-bsp/u-boot/u-boot-toradex-fsl_git.bb b/recipes-bsp/u-boot/u-boot-toradex-fsl_git.bb index b610d92..f70c544 100644 --- a/recipes-bsp/u-boot/u-boot-toradex-fsl_git.bb +++ b/recipes-bsp/u-boot/u-boot-toradex-fsl_git.bb @@ -38,3 +38,16 @@ do_deploy_append_colibri-vf() { ln -sf ${UBOOT_IMAGE_NAND} ${UBOOT_SYMLINK_NAND} ln -sf ${UBOOT_IMAGE_NAND} ${UBOOT_BINARY_NAND} } + +# apalis-imx6: build additionally a u-boot binary for the IT variant +SPL_BINARY_apalis-imx6 = "u-boot-it.imx" +SPL_IMAGE_apalis-imx6 = "u-boot-it-${MACHINE}-${PV}-${PR}.imx" +SPL_SYMLINK_apalis-imx6 = "u-boot-it-${MACHINE}.imx" +do_compile_append_apalis-imx6() { + # keep u-boot with standard timings + mv u-boot.imx u-boot-std.imx + oe_runmake apalis_imx6q2g_config + oe_runmake ${UBOOT_MAKE_TARGET} + mv u-boot.imx u-boot-it.imx + mv u-boot-std.imx u-boot.imx +} -- cgit v1.2.3