]> git.ipfire.org Git - thirdparty/openwrt.git/commitdiff
uboot-tools: envtools: ipq95xx: use common function 19269/head
authorPaweł Owoc <frut3k7@gmail.com>
Mon, 30 Jun 2025 18:35:59 +0000 (20:35 +0200)
committerHauke Mehrtens <hauke@hauke-m.de>
Sun, 13 Jul 2025 14:43:34 +0000 (16:43 +0200)
Use common function ubootenv_add_mmc

Signed-off-by: Paweł Owoc <frut3k7@gmail.com>
Link: https://github.com/openwrt/openwrt/pull/19269
Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
package/boot/uboot-tools/uboot-envtools/files/qualcommbe_ipq95xx

index 7813789302d76ccfe28ce91e15ed51ea4a4aad0e..1f3dcc60ce999d6bd06c743fea9dda42af419924 100644 (file)
@@ -7,15 +7,9 @@ touch /etc/config/ubootenv
 
 board=$(board_name)
 
-ubootenv_add_mmc() {
-       local mmcpart="$(find_mmc_part "${1}")"
-       [ -n "$mmcpart" ] && \
-               ubootenv_add_uci_config "$mmcpart" "${2}" "${3}" "${4}"
-}
-
 case "$board" in
 8devices,kiwi-dvk)
-       ubootenv_add_mmc "0:APPSBLENV" "0x0" "0x40000" "0x40000"
+       ubootenv_add_mmc "0:APPSBLENV" "" "0x0" "0x40000" "0x40000"
        ;;
 esac