summaryrefslogtreecommitdiff
path: root/recipes-bsp/u-boot/files
diff options
context:
space:
mode:
Diffstat (limited to 'recipes-bsp/u-boot/files')
-rw-r--r--recipes-bsp/u-boot/files/fw_unlock_mmc.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/recipes-bsp/u-boot/files/fw_unlock_mmc.sh b/recipes-bsp/u-boot/files/fw_unlock_mmc.sh
index f9f253b..86d941c 100644
--- a/recipes-bsp/u-boot/files/fw_unlock_mmc.sh
+++ b/recipes-bsp/u-boot/files/fw_unlock_mmc.sh
@@ -1,5 +1,5 @@
# Give fw_setenv mmcblk0boot0 write permissions
-function fw_setenv() {
+fw_setenv() {
echo 0 > /sys/block/mmcblk0boot0/force_ro
/sbin/fw_setenv "$@"
echo 1 > /sys/block/mmcblk0boot0/force_ro