diff options
author | Simon Glass <sjg@chromium.org> | 2020-12-28 20:35:05 -0700 |
---|---|---|
committer | Simon Glass <sjg@chromium.org> | 2021-01-05 12:26:35 -0700 |
commit | d960f0db289144a80553e4d226d5dd145d63926a (patch) | |
tree | bb23dec6d716a8c8bb1375f5d993aa9b90b193e3 /tools/dtoc/dtb_platdata.py | |
parent | 9eca08dc5986c9e00bb68a4529ec9404a282bc57 (diff) | |
download | u-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 'tools/dtoc/dtb_platdata.py')
-rw-r--r-- | tools/dtoc/dtb_platdata.py | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/tools/dtoc/dtb_platdata.py b/tools/dtoc/dtb_platdata.py index 4cdbd60..f1c09d6 100644 --- a/tools/dtoc/dtb_platdata.py +++ b/tools/dtoc/dtb_platdata.py @@ -802,12 +802,6 @@ class DtbPlatdata(): for node in self._valid_nodes: self.output_node(node) - # Define dm_populate_phandle_data() which will add the linking between - # nodes using DM_DRVINFO_GET - # dtv_dmc_at_xxx.clocks[0].node = DM_DRVINFO_GET(clock_controller_at_xxx) - self.buf('void dm_populate_phandle_data(void) {\n') - self.buf('}\n') - self.out(''.join(self.get_buf())) |