aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDavid Bauer <mail@david-bauer.net>2022-04-25 00:04:09 +0200
committerDavid Bauer <mail@david-bauer.net>2022-04-26 01:04:44 +0200
commit1b7cf4dd1c807ef329f250e05864486e2c61eb4f (patch)
tree85dd8c1ee9a65361d122b45f8a5c54ff0330e1d0
parent3579ee63bccc74f0d9b8761a7da091e5ecc9cf86 (diff)
downloadupstream-1b7cf4dd1c807ef329f250e05864486e2c61eb4f.tar.gz
upstream-1b7cf4dd1c807ef329f250e05864486e2c61eb4f.tar.bz2
upstream-1b7cf4dd1c807ef329f250e05864486e2c61eb4f.zip
uboot-envtools: add WS-AP3825i config
Add configuration to use uboot-envtools with the Extreme Networks WS-AP3825i. Signed-off-by: David Bauer <mail@david-bauer.net> (cherry picked from commit fb7ff6b027d1c69e97e6d39e688a969c164065c8)
-rw-r--r--package/boot/uboot-envtools/files/mpc85xx4
1 files changed, 4 insertions, 0 deletions
diff --git a/package/boot/uboot-envtools/files/mpc85xx b/package/boot/uboot-envtools/files/mpc85xx
index df6e5f670b..36d9f753a1 100644
--- a/package/boot/uboot-envtools/files/mpc85xx
+++ b/package/boot/uboot-envtools/files/mpc85xx
@@ -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"