Skip to content
Commit 36fee2f7 authored by Matthias Schiffer's avatar Matthias Schiffer Committed by Tom Rini
Browse files

common: fdt_support: add support for "partitions" subnode to fdt_fixup_mtdparts()



Listing MTD partitions directly in the flash mode has been deprecated
for a while for kernel Device Trees. Look for a node "partitions" in the
found flash nodes and use it instead of the flash node itself for the
partition list when it exists, so Device Trees following the current
best practices can be fixed up.

Signed-off-by: default avatarMatthias Schiffer <matthias.schiffer@ew.tq-group.com>
Reviewed-by: default avatarSimon Glass <sjg@chromium.org>
parent 80d4c02b
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment