summaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
authorSimon Glass <sjg@chromium.org>2019-09-25 17:55:53 +0300
committerBin Meng <bmeng.cn@gmail.com>2019-10-08 08:57:38 +0300
commitea14778d0680f8a3f262a06ceb52ea17deb6a104 (patch)
treeb2bd1cbbcd766181bccbd79d58bb55133271a9b8 /test
parentad9504793622c3c745460572b236109e2d69bae4 (diff)
downloadu-boot-ea14778d0680f8a3f262a06ceb52ea17deb6a104.tar.xz
dm: core: Call ofdata_to_platdata() with of-platdata
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 <sjg@chromium.org> Reviewed-by: Bin Meng <bmeng.cn@gmail.com>
Diffstat (limited to 'test')
0 files changed, 0 insertions, 0 deletions