]> git.baikalelectronics.ru Git - uboot.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)
commit3467575da7363478e796c89ebef4eb6f57b7bb87
treea9a8b64005dcee9706af7e1400852cd4765864af
parent5fdc175c92261d5d8ec2dfbe5018c92318d19247
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