aboutsummaryrefslogtreecommitdiffstats
path: root/package/boot/uboot-envtools
diff options
context:
space:
mode:
authorChristian Lamparter <chunkeey@gmail.com>2018-10-17 22:37:34 +0200
committerJohn Crispin <john@phrozen.org>2018-11-26 12:05:46 +0100
commite21a9db47d55e4b403e9266454698f7f4ba5bdc3 (patch)
tree158d14d18117dbed7db54dbb374acbdf126fc301 /package/boot/uboot-envtools
parentf6968952df36bb21addabe183def2368919b66ab (diff)
downloadupstream-e21a9db47d55e4b403e9266454698f7f4ba5bdc3.tar.gz
upstream-e21a9db47d55e4b403e9266454698f7f4ba5bdc3.tar.bz2
upstream-e21a9db47d55e4b403e9266454698f7f4ba5bdc3.zip
apm821xx: MX60(W): enable u-boot environment
This patch adds u-boot environment access to the MX60(W) target. "The environment size is one NAND block (128KiB on Buckminster). We allocate four NAND blocks to deal with bad blocks which may exist in the saved environment" Signed-off-by: Christian Lamparter <chunkeey@gmail.com>
Diffstat (limited to 'package/boot/uboot-envtools')
-rw-r--r--package/boot/uboot-envtools/files/apm821xx3
1 files changed, 3 insertions, 0 deletions
diff --git a/package/boot/uboot-envtools/files/apm821xx b/package/boot/uboot-envtools/files/apm821xx
index 94c0d8944a..bf61e972de 100644
--- a/package/boot/uboot-envtools/files/apm821xx
+++ b/package/boot/uboot-envtools/files/apm821xx
@@ -14,6 +14,9 @@ meraki,mr24)
ubootenv_add_uci_config "/dev/mtd1" "0x0" "0x4000" "0x4000" "4"
ubootenv_add_uci_config "/dev/mtd2" "0x0" "0x4000" "0x4000" "4"
;;
+meraki,mx60)
+ ubootenv_add_uci_config "/dev/mtd1" "0x0" "0x20000" "0x20000" "4"
+ ;;
esac
config_load ubootenv