From 330f7cce43ea5ba56f722683e7fdfe73cd311fa7 Mon Sep 17 00:00:00 2001 From: Stefan Agner Date: Thu, 21 Dec 2017 11:12:57 +0100 Subject: u-boot-toradex-fsl-fw-utils: don't unlock eMMC on Colibri iMX6ULL Colibri iMX6ULL uses raw NAND, hence fw_unlock_mmc.sh is not required. Make sure fw_unlock_mmc.sh only gets deployed for modules using eMMC flash. Signed-off-by: Stefan Agner Acked-by: Marcel Ziswiler --- recipes-bsp/u-boot/u-boot-toradex-fsl-fw-utils_git.bb | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/recipes-bsp/u-boot/u-boot-toradex-fsl-fw-utils_git.bb b/recipes-bsp/u-boot/u-boot-toradex-fsl-fw-utils_git.bb index 83d5685..3ea0f6b 100644 --- a/recipes-bsp/u-boot/u-boot-toradex-fsl-fw-utils_git.bb +++ b/recipes-bsp/u-boot/u-boot-toradex-fsl-fw-utils_git.bb @@ -56,7 +56,11 @@ install_unlock_emmc() { install -m 0644 ${WORKDIR}/fw_unlock_mmc.sh ${D}${sysconfdir}/profile.d/fw_unlock_mmc.sh } -do_install_append_mx6() { +do_install_append_apalis-imx6() { + install_unlock_emmc +} + +do_install_append_colibri-imx6() { install_unlock_emmc } -- cgit v1.2.3