Skip to content

Commit

Permalink
uboot-envtools: mt7622: make use of find_mmc_part
Browse files Browse the repository at this point in the history
Signed-off-by: Daniel Golle <daniel@makrotopia.org>
  • Loading branch information
dangowrt committed Nov 1, 2021
1 parent 9f223a2 commit cb59536
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion package/boot/uboot-envtools/files/mediatek_mt7622
Expand Up @@ -22,7 +22,7 @@ bananapi,bpi-r64)
export_partdevice rootdev 0
case "$rootdev" in
mmc*)
local envdev=/dev/$(get_partition_by_name $rootdev ubootenv)
local envdev=$(find_mmc_part "ubootenv" $rootdev)
ubootenv_add_uci_config "$envdev" "0x0" "0x80000" "0x80000" "1"
ubootenv_add_uci_config "$envdev" "0x80000" "0x80000" "0x80000" "1"
;;
Expand Down

0 comments on commit cb59536

Please sign in to comment.