]> 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>
Sat, 25 Jul 2020 20:46:57 +0000 (14:46 -0600)
commit7d8073e7cfe0397137b5c13ceda876d4ca7875d6
tree63eed31c7559b5b0c6410a2b4160da0d84149c2b
parent53a896649ac002bd569a6c2007498eb979075abf
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