uboot-envtools: mvebu: fix config for mainline u-boot
authorAndre Heider <a.heider@gmail.com>
Sat, 12 Sep 2020 08:28:21 +0000 (10:28 +0200)
committerHauke Mehrtens <hauke@hauke-m.de>
Wed, 28 Oct 2020 22:22:44 +0000 (23:22 +0100)
commit3af9c5fefd8dca95da4899c7bb244b508f49813f
tree1ea0c1ac492e55406a8f1c2417960ef9efe996e4
parent7fbee0c7b2f6eebced44fd2060fbaac6fc5fd9e5
uboot-envtools: mvebu: fix config for mainline u-boot

Mainline u-boot dynamically passes the mtd partitions via devicetree:
$ cat /proc/mtd
dev:    size   erasesize  name
mtd0: 003f0000 00001000 "firmware"
mtd1: 00010000 00001000 "u-boot-env"

Add support for this setup.

Signed-off-by: Andre Heider <a.heider@gmail.com>
(cherry picked from commit 60c9a27cbcc6ba00d75b4b592f507237dbfb460f)
package/boot/uboot-envtools/files/mvebu