On Fri, Oct 4, 2019 at 5:44 PM Bin Meng <bmeng...@gmail.com> wrote: > > On Wed, Sep 25, 2019 at 10:58 PM Simon Glass <s...@chromium.org> wrote: > > > > At present this function is never called when of-platdata is enabled since > > we never have a device tree. However, this function is responsible for > > copying over the of-platdata, so we must call it. Otherwise the probe() > > method would have to be used. > > > > Correct this and fix the sandbox serial driver to not read from the device > > tree and try to write to what is read-only platdata on some platforms. > > > > Fixes: 396e343b3d (dm: core: Allow binding a device from a live tree) > > Signed-off-by: Simon Glass <s...@chromium.org> > > --- > > > > drivers/core/device.c | 3 ++- > > drivers/serial/sandbox.c | 2 ++ > > 2 files changed, 4 insertions(+), 1 deletion(-) > > > > Reviewed-by: Bin Meng <bmeng...@gmail.com>
applied to u-boot-x86/next, thanks! _______________________________________________ U-Boot mailing list U-Boot@lists.denx.de https://lists.denx.de/listinfo/u-boot