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

Simon Glass sjg at chromium.org
Fri Feb 4 16:24:19 CET 2022


On Thu, 3 Feb 2022 at 07:15, Matthias Schiffer
<matthias.schiffer at ew.tq-group.com> wrote:
>
> 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: Matthias Schiffer <matthias.schiffer at ew.tq-group.com>
> ---
>  common/fdt_support.c | 9 +++++++--
>  1 file changed, 7 insertions(+), 2 deletions(-)

Reviewed-by: Simon Glass <sjg at chromium.org>


More information about the U-Boot mailing list