mirror of
https://xff.cz/git/u-boot/
synced 2025-09-01 08:42:12 +02:00
dm: core: Provide a way to reset the device tree
At present there is only one device tree used by the ofnode functions, except for some esoteric use of live tree. In preparation for supporting more than one, add a way to reset the list of device trees. For now this does nothing. Signed-off-by: Simon Glass <sjg@chromium.org>
This commit is contained in:
@@ -234,6 +234,8 @@ static int initr_dm(void)
|
||||
{
|
||||
int ret;
|
||||
|
||||
oftree_reset();
|
||||
|
||||
/* Save the pre-reloc driver model and start a new one */
|
||||
gd->dm_root_f = gd->dm_root;
|
||||
gd->dm_root = NULL;
|
||||
|
Reference in New Issue
Block a user