From mboxrd@z Thu Jan 1 00:00:00 1970 From: Simon Glass Date: Wed, 17 Mar 2021 01:28:52 +0000 Subject: [PATCH v4 07/42] dm: core: Set up driver model for OF_PLATDATA_INST In-Reply-To: <20210315172537.v4.7.Ic946d3b5000df55eb956c4dccfb36140311161fc@changeid> References: <20210315172537.v4.7.Ic946d3b5000df55eb956c4dccfb36140311161fc@changeid> <20210315042553.1932494-1-sjg@chromium.org> Message-ID: List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de 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 --- (no changes since v1) drivers/core/root.c | 42 ++++++++++++++++++++++++++++++------------ 1 file changed, 30 insertions(+), 12 deletions(-) Applied to u-boot-dm/next, thanks!