u-boot-toradex: Remove fw_unlock_mmc.sh as libubootenv manages it

The script is not required as libubootenv handles the unlock
automatically, so we can drop it now.

Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
This commit is contained in:
Otavio Salvador 2020-04-02 11:53:01 -03:00
parent 8d16badf0d
commit bd63e44319
2 changed files with 1 additions and 28 deletions

View File

@ -1,6 +0,0 @@
# Give fw_setenv mmcblk0boot0 write permissions
fw_setenv() {
echo 0 > /sys/block/mmcblk0boot0/force_ro
/sbin/fw_setenv "$@"
echo 1 > /sys/block/mmcblk0boot0/force_ro
}

View File

@ -3,10 +3,7 @@ require recipes-bsp/u-boot/u-boot-toradex-common.inc
DEPENDS += "bc-native dtc-native" DEPENDS += "bc-native dtc-native"
SRC_URI += " \ SRC_URI += "file://fw_env.config"
file://fw_env.config \
file://fw_unlock_mmc.sh \
"
PROVIDES += "u-boot" PROVIDES += "u-boot"
@ -32,21 +29,3 @@ do_compile_append_colibri-imx7 () {
do_compile_append_colibri-vf () { do_compile_append_colibri-vf () {
nand_padding nand_padding
} }
install_unlock_emmc() {
install -Dm 0644 ${WORKDIR}/fw_unlock_mmc.sh ${D}${sysconfdir}/profile.d/fw_unlock_mmc.sh
}
do_install_append_apalis-imx6() {
install_unlock_emmc
}
do_install_append_colibri-imx6() {
install_unlock_emmc
}
do_install_append_colibri-imx7-emmc() {
install_unlock_emmc
}
FILES_${PN}-env += "${sysconfdir}/profile.d/fw_unlock_mmc.sh"