mirror of
https://github.com/openwrt/openwrt.git
synced 2025-02-01 16:58:22 +00:00
uboot-envtools: mt7622: make use of find_mmc_part
Signed-off-by: Daniel Golle <daniel@makrotopia.org>
This commit is contained in:
parent
9f223a20bd
commit
cb5953635e
@ -22,7 +22,7 @@ bananapi,bpi-r64)
|
|||||||
export_partdevice rootdev 0
|
export_partdevice rootdev 0
|
||||||
case "$rootdev" in
|
case "$rootdev" in
|
||||||
mmc*)
|
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" "0x0" "0x80000" "0x80000" "1"
|
||||||
ubootenv_add_uci_config "$envdev" "0x80000" "0x80000" "0x80000" "1"
|
ubootenv_add_uci_config "$envdev" "0x80000" "0x80000" "0x80000" "1"
|
||||||
;;
|
;;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user