colibri_imx7: split and resize firmware MTD partition
authorStefan Agner <stefan.agner@toradex.com>
Fri, 10 Mar 2017 01:17:55 +0000 (17:17 -0800)
committerStefano Babic <sbabic@denx.de>
Sun, 19 Mar 2017 16:29:32 +0000 (17:29 +0100)
commit38045f54478f8272aa21079fc75cc647ab0b9179
treee2612e97a7654877f6643882f4b4a78d84b0c55f
parent640957042d8f878d093f37aadc04f6d08a7252a1
colibri_imx7: split and resize firmware MTD partition

Use two separate partitions for the two firmware instances. Also
resize them to be of the same size which also makes the start of
the UBI partition nicely aligned to 0x400000.

In order to detect the new MTD layout and whether we run a U-Boot
with the new BCB format or not, introduce a variable called
"updlevel" which we can use in update/upgrade scripts.

Signed-off-by: Stefan Agner <stefan.agner@toradex.com>
Acked-by: Max Krummenacher <max.krummenacher@toradex.com>
include/configs/colibri_imx7.h