In the Denali NAND driver the partitions device node to fixup for the kernel changed over time. This used to be a direct subnode of the controller node, but Kernel v5.2 introduced an additional subnode between the controller node and the partitions node. Until then the binding complies with the current generic NAND binding which has subnodes for each NAND chip under the controller node. We'll likely see that more often in the future. For now solve this at driver level, but we might want to solve that in mtd code some day. Sascha Sascha Hauer (4): mtd: Remove set but not used of_path of: partitions: export of_fixup_partitions mtd: Add hook to fix up kernel partitions mtd: nand: denali: cope with kernel device trees without chip subnodes drivers/mtd/core.c | 31 +++++++++++++++-- drivers/mtd/nand/nand_denali_dt.c | 57 +++++++++++++++++++++++++++++++ drivers/of/partition.c | 37 +++++++++++--------- include/linux/mtd/mtd.h | 3 +- include/of.h | 6 ++++ 5 files changed, 115 insertions(+), 19 deletions(-) -- 2.20.1 _______________________________________________ barebox mailing list barebox@xxxxxxxxxxxxxxxxxxx http://lists.infradead.org/mailman/listinfo/barebox