diff options
author | Christian Lamparter <chunkeey@gmail.com> | 2018-10-17 22:37:34 +0200 |
---|---|---|
committer | John Crispin <john@phrozen.org> | 2018-11-26 12:05:46 +0100 |
commit | e21a9db47d55e4b403e9266454698f7f4ba5bdc3 (patch) | |
tree | 158d14d18117dbed7db54dbb374acbdf126fc301 /package | |
parent | f6968952df36bb21addabe183def2368919b66ab (diff) | |
download | upstream-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')
-rw-r--r-- | package/boot/uboot-envtools/files/apm821xx | 3 |
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 |