]> git.dujemihanovic.xyz Git - u-boot.git/commit
ARM: board: cm_fx6: fixup mtd partitions in the fdt
authorChristopher Spinrath <christopher.spinrath@rwth-aachen.de>
Tue, 12 Jul 2016 21:37:36 +0000 (23:37 +0200)
committerStefano Babic <sbabic@denx.de>
Tue, 19 Jul 2016 17:52:13 +0000 (19:52 +0200)
commit62d6bac66038163641d6ba43ac47347447fedb82
treebb6616a9f1ab6e4473e86d9fd01da17e9e3cf8fb
parentf4ae23a7cd6fff3e0b9d250411b6714c6a1a2930
ARM: board: cm_fx6: fixup mtd partitions in the fdt

The cm-fx6 module has an on-board st,m25p compatible spi flash chip
used for U-Boot (binary & environment). Overwrite the partitions in
the device tree by the partition table provided in the mtdparts
environment variable, if it is set.

This allows to specify a kernel independent partitioning in the
environment and provides a convient way for the user to adapt the
partition table.

Signed-off-by: Christopher Spinrath <christopher.spinrath@rwth-aachen.de>
Acked-by: Igor Grinberg <grinberg@compulab.co.il>
board/compulab/cm_fx6/cm_fx6.c