]> git.dujemihanovic.xyz Git - u-boot.git/commit
fdt_support: skip MTD node with "disabled" in fdt_fixup_mtdparts()
authorMasahiro Yamada <yamada.masahiro@socionext.com>
Fri, 17 Jul 2020 01:46:19 +0000 (10:46 +0900)
committerSimon Glass <sjg@chromium.org>
Mon, 20 Jul 2020 17:37:47 +0000 (11:37 -0600)
commit6ec7545b99d62a5d931473e853aea30f8b9b2aa3
tree7ff5f8429e581ed3e4c853106139a6d82a97a19c
parent245ad6c4adb4af5290f22acaba57ed0dd109e1f4
fdt_support: skip MTD node with "disabled" in fdt_fixup_mtdparts()

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@socionext.com>
Reviewed-by: Simon Glass <sjg@chromium.org>
common/fdt_support.c