[openwrt/openwrt] uboot-tools: envtools: ipq95xx: use common function
LEDE Commits
lede-commits at lists.infradead.org
Sun Jul 13 07:44:49 PDT 2025
hauke pushed a commit to openwrt/openwrt.git, branch main:
https://git.openwrt.org/655eb05699975fff2e1df96bf80cb284d3215ec3
commit 655eb05699975fff2e1df96bf80cb284d3215ec3
Author: Paweł Owoc <frut3k7 at gmail.com>
AuthorDate: Mon Jun 30 20:35:59 2025 +0200
uboot-tools: envtools: ipq95xx: use common function
Use common function ubootenv_add_mmc
Signed-off-by: Paweł Owoc <frut3k7 at gmail.com>
Link: https://github.com/openwrt/openwrt/pull/19269
Signed-off-by: Hauke Mehrtens <hauke at hauke-m.de>
---
package/boot/uboot-tools/uboot-envtools/files/qualcommbe_ipq95xx | 8 +-------
1 file changed, 1 insertion(+), 7 deletions(-)
diff --git a/package/boot/uboot-tools/uboot-envtools/files/qualcommbe_ipq95xx b/package/boot/uboot-tools/uboot-envtools/files/qualcommbe_ipq95xx
index 7813789302..1f3dcc60ce 100644
--- a/package/boot/uboot-tools/uboot-envtools/files/qualcommbe_ipq95xx
+++ b/package/boot/uboot-tools/uboot-envtools/files/qualcommbe_ipq95xx
@@ -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
More information about the lede-commits
mailing list