summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorStefan Agner <stefan.agner@toradex.com>2017-12-21 11:12:57 +0100
committerMarcel Ziswiler <marcel.ziswiler@toradex.com>2017-12-23 22:15:42 +0100
commit330f7cce43ea5ba56f722683e7fdfe73cd311fa7 (patch)
treef18f7f8fddc318900bcb76bcded120b17f660400
parenta211c806dd6e9c36b666accf24a307c3c4e6fde7 (diff)
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 <stefan.agner@toradex.com> Acked-by: Marcel Ziswiler <marcel.ziswiler@toradex.com>
-rw-r--r--recipes-bsp/u-boot/u-boot-toradex-fsl-fw-utils_git.bb6
1 files changed, 5 insertions, 1 deletions
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
}