]> git.baikalelectronics.ru Git - uboot.git/commit
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)
commit5ca7868031d5862d986f6caae47edeefc2e66119
treee2612e97a7654877f6643882f4b4a78d84b0c55f
parent98d7d1677edb7e80866b13b0b84a899205e6bc47
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