aboutsummaryrefslogtreecommitdiffstats
path: root/package
diff options
context:
space:
mode:
authorChristian Lamparter <chunkeey@gmail.com>2018-10-17 22:37:33 +0200
committerJohn Crispin <john@phrozen.org>2018-11-26 12:05:46 +0100
commitf6968952df36bb21addabe183def2368919b66ab (patch)
treebfff2e9b4501718da782630955c5539f16843cf1 /package
parent6f4f77aa1d8c4c9a0996147196310c4f29f793e3 (diff)
downloadupstream-f6968952df36bb21addabe183def2368919b66ab.tar.gz
upstream-f6968952df36bb21addabe183def2368919b66ab.tar.bz2
upstream-f6968952df36bb21addabe183def2368919b66ab.zip
apm821xx: MR24: add to uboot-envtools
This patch adds the complicated u-boot environment access settings for to the MR24 target. Signed-off-by: Christian Lamparter <chunkeey@gmail.com>
Diffstat (limited to 'package')
-rw-r--r--package/boot/uboot-envtools/files/apm821xx4
1 files changed, 4 insertions, 0 deletions
diff --git a/package/boot/uboot-envtools/files/apm821xx b/package/boot/uboot-envtools/files/apm821xx
index 3cedd8bc2d..94c0d8944a 100644
--- a/package/boot/uboot-envtools/files/apm821xx
+++ b/package/boot/uboot-envtools/files/apm821xx
@@ -10,6 +10,10 @@ touch /etc/config/ubootenv
board=$(board_name)
case "$board" in
+meraki,mr24)
+ ubootenv_add_uci_config "/dev/mtd1" "0x0" "0x4000" "0x4000" "4"
+ ubootenv_add_uci_config "/dev/mtd2" "0x0" "0x4000" "0x4000" "4"
+ ;;
esac
config_load ubootenv