[PATCH 2/2] fdt_support: skip MTD node with "disabled" in fdt_fixup_mtdparts()
Simon Glass
sjg at chromium.org
Thu Jul 16 17:43:49 CEST 2020
On Wed, 15 Jul 2020 at 04:57, Masahiro Yamada
<yamada.masahiro at socionext.com> wrote:
>
> Currently, fdt_fixup_mtdparts() only checks the compatible property.
> It is pointless to fix up the disabled node.
>
> Skip the node if it has the property:
>
> status = "disabled"
>
> Signed-off-by: Masahiro Yamada <yamada.masahiro at socionext.com>
> ---
>
> common/fdt_support.c | 17 ++++++++++-------
> 1 file changed, 10 insertions(+), 7 deletions(-)
Reviewed-by: Simon Glass <sjg at chromium.org>
Are there any tests for this code?
I am thinking we should migrate fdt_support to use livetree...
More information about the U-Boot
mailing list