[PATCH 1/2] dts: add property removal option CONFIG_OF_REMOVE_PROPS

Masahiro Yamada masahiroy at kernel.org
Fri Jan 10 20:13:02 CET 2020


Hi Tom,

On Sat, Jan 11, 2020 at 1:39 AM Tom Rini <trini at konsulko.com> wrote:

> >  quiet_cmd_shipped = SHIPPED $@
> > -cmd_shipped = cat $< > $@
> > +cmd_shipped = cat $< | $(objtree)/tools/fdtgrep -r -O dtb - -o $@    \
> > +             $(addprefix -P ,$(subst $\",,$(CONFIG_OF_REMOVE_PROPS)))
> >
> >  $(obj)/%: $(src)/%_shipped
> >       $(call cmd,shipped)
>
> On further thinking, this will make it harder in the case of passing the
> DTB directly to the kernel.  We should guard this option by something
> else first.

Please let me ask a question about this.
In my understanding, U-Boot DTB is a different instance
from the DTB passed to the kernel.
Was it changed, or is the change planned?



--
Best Regards
Masahiro Yamada


More information about the U-Boot mailing list