Re: [PATCH 2/2] fdt_support: skip MTD node with "disabled" in fdt_fixup_mtdparts()

2020-07-26 Thread Simon Glass
Hi Masahiro, On Thu, 16 Jul 2020 at 19:36, Masahiro Yamada wrote: > > On Fri, Jul 17, 2020 at 12:44 AM Simon Glass wrote: > > > > On Wed, 15 Jul 2020 at 04:57, Masahiro Yamada > > wrote: > > > > > > Currently, fdt_fixup_mtdparts() only checks the compatible property. > > > It is pointless to fi

Re: [PATCH 2/2] fdt_support: skip MTD node with "disabled" in fdt_fixup_mtdparts()

2020-07-16 Thread Masahiro Yamada
On Fri, Jul 17, 2020 at 12:44 AM Simon Glass wrote: > > On Wed, 15 Jul 2020 at 04:57, Masahiro Yamada > 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: > > > > stat

Re: [PATCH 2/2] fdt_support: skip MTD node with "disabled" in fdt_fixup_mtdparts()

2020-07-16 Thread Simon Glass
On Wed, 15 Jul 2020 at 04:57, Masahiro Yamada 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 > --- > > common/fdt

[PATCH 2/2] fdt_support: skip MTD node with "disabled" in fdt_fixup_mtdparts()

2020-07-15 Thread Masahiro Yamada
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 --- common/fdt_support.c | 17 ++--- 1 file changed, 10 insertions(+), 7 del