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>
This commit is contained in:
Christian Lamparter
2018-10-17 22:37:33 +02:00
committed by John Crispin
parent 6f4f77aa1d
commit f6968952df
2 changed files with 28 additions and 1 deletions

View File

@@ -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