aboutsummaryrefslogtreecommitdiff
path: root/drivers
diff options
context:
space:
mode:
authorSimon Glass <sjg@chromium.org>2020-12-28 20:35:05 -0700
committerSimon Glass <sjg@chromium.org>2021-01-05 12:26:35 -0700
commitd960f0db289144a80553e4d226d5dd145d63926a (patch)
treebb23dec6d716a8c8bb1375f5d993aa9b90b193e3 /drivers
parent9eca08dc5986c9e00bb68a4529ec9404a282bc57 (diff)
downloadu-boot-d960f0db289144a80553e4d226d5dd145d63926a.zip
u-boot-d960f0db289144a80553e4d226d5dd145d63926a.tar.gz
u-boot-d960f0db289144a80553e4d226d5dd145d63926a.tar.bz2
dtoc: Drop dm_populate_phandle_data()
This has not been needed since parent information was added and we started using indicies for references to other drivers instead of pointers. It was kept around in the expectation that it might be needed later. However with the latest updates, it doesn't seem likely that we'll need this in the foreseeable future. Drop dm_populate_phandle_data() from dtoc and driver model. Signed-off-by: Simon Glass <sjg@chromium.org>
Diffstat (limited to 'drivers')
-rw-r--r--drivers/core/root.c3
1 files changed, 0 insertions, 3 deletions
diff --git a/drivers/core/root.c b/drivers/core/root.c
index 3adbc94..78de7cd 100644
--- a/drivers/core/root.c
+++ b/drivers/core/root.c
@@ -336,9 +336,6 @@ int dm_init_and_scan(bool pre_reloc_only)
{
int ret;
- if (CONFIG_IS_ENABLED(OF_PLATDATA))
- dm_populate_phandle_data();
-
ret = dm_init(CONFIG_IS_ENABLED(OF_LIVE));
if (ret) {
debug("dm_init() failed: %d\n", ret);