]> git.baikalelectronics.ru Git - uboot.git/commit
dm: core: Set up driver model for OF_PLATDATA_INST
authorSimon Glass <sjg@chromium.org>
Mon, 15 Mar 2021 04:25:17 +0000 (17:25 +1300)
committerSimon Glass <sjg@chromium.org>
Mon, 22 Mar 2021 06:23:28 +0000 (19:23 +1300)
commit9c12b48f4ce6ed1bd1293cd04b15c78594f8ca3b
tree4381c72e1499da6b2cfccab735d790a2b43792f8
parent3467575da7363478e796c89ebef4eb6f57b7bb87
dm: core: Set up driver model for OF_PLATDATA_INST

With this we don't need to scan and bind drivers, not even the root
device. We just need to locate the root device that was set up at build
time, then set our root in global_data to point to it.

Update the code to handle this case.

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