]> code.ossystems Code Review - bsp/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)
committerOtavio Salvador <otavio@ossystems.com.br>
Wed, 20 Jul 2016 21:06:59 +0000 (18:06 -0300)
commit14619b50717ed0ff3b67ec5766337cf8b12cc1fc
tree3debf188c8c02e27b586d1f022ab763a9f900379
parent9fa3af03698edf5a91cdcc4140b878dd1f02086e
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