]> git.dujemihanovic.xyz Git - u-boot.git/commit
dm: core: Adjust uclass setup with of-platdata
authorSimon Glass <sjg@chromium.org>
Mon, 15 Mar 2021 04:25:16 +0000 (17:25 +1300)
committerSimon Glass <sjg@chromium.org>
Mon, 22 Mar 2021 06:23:28 +0000 (19:23 +1300)
commit3fa9f553c0c0418b9abf93c2f33a44c98380beaf
treea9a8b64005dcee9706af7e1400852cd4765864af
parent1ef3af3b2717aba9db79879274ab5e1f1d7b2d25
dm: core: Adjust uclass setup with of-platdata

When OF_PLATDATA_INST is enabled we don't need to create the uclass list.
Instead we just need to point to the existing list. Update the code
accordingly.

Signed-off-by: Simon Glass <sjg@chromium.org>
Signed-off-by: Simon Glass <sjg@chromium.org>
drivers/core/root.c
include/dm/root.h