[PATCH v4 07/42] dm: core: Set up driver model for OF_PLATDATA_INST

Simon Glass sjg at chromium.org
Wed Mar 17 02:28:52 CET 2021


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 at chromium.org>
---

(no changes since v1)

 drivers/core/root.c | 42 ++++++++++++++++++++++++++++++------------
 1 file changed, 30 insertions(+), 12 deletions(-)

Applied to u-boot-dm/next, thanks!


More information about the U-Boot mailing list