uboot-envtools: add WS-AP3825i config
authorDavid Bauer <mail@david-bauer.net>
Sun, 24 Apr 2022 22:04:09 +0000 (00:04 +0200)
committerDavid Bauer <mail@david-bauer.net>
Mon, 25 Apr 2022 22:57:22 +0000 (00:57 +0200)
Add configuration to use uboot-envtools with the Extreme Networks
WS-AP3825i.

Signed-off-by: David Bauer <mail@david-bauer.net>
package/boot/uboot-envtools/files/mpc85xx

index df6e5f670bb3299214ab29544e5d120b44c2082e..36d9f753a11c4c539c6994735613af053dfdc822 100644 (file)
@@ -8,6 +8,10 @@ touch /etc/config/ubootenv
 board=$(board_name)
 
 case "$board" in
+extreme-networks,ws-ap3825i)
+       ubootenv_add_uci_config "$(find_mtd_part 'cfg1')" "0x0" "0x10000" "0x20000"
+       ubootenv_add_uci_config "$(find_mtd_part 'cfg2')" "0x0" "0x10000" "0x20000"
+       ;;
 ocedo,panda)
        ubootenv_add_uci_config "/dev/mtd1" "0x0" "0x20000" "0x20000"
        ubootenv_add_uci_config "/dev/mtd2" "0x0" "0x20000" "0x20000"