uboot-envtools: add support for OpenWrt One

Signed-off-by: John Crispin <john@phrozen.org>
This commit is contained in:
John Crispin 2024-08-31 18:59:35 +02:00
parent ee798653f3
commit 28d8f33925
1 changed files with 3 additions and 0 deletions

View File

@ -104,6 +104,9 @@ openembed,som7981)
ubootenv_add_uci_config "/dev/mtd1" "0x0" "0x80000" "0x80000"
ubootenv_add_uci_sys_config "/dev/mtd3" "0x0" "0x100000" "0x100000"
;;
openwrt,one)
ubootenv_add_ubi_default
;;
smartrg,sdg-8733|\
smartrg,sdg-8734)
local envdev=$(find_mmc_part "u-boot-env" "mmcblk0")