aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorWalter Lozano <walter.lozano@collabora.com>2020-06-25 01:10:05 -0300
committerSimon Glass <sjg@chromium.org>2020-07-09 18:57:22 -0600
commitace16e88d97d64a1c999a690f46123cf73fafa7c (patch)
treee6d8a822b9cd8187f9f59ab7dae197b4b32160d9
parente3e2470fdd57567e8df04e76203cd4e580a93975 (diff)
downloadu-boot-ace16e88d97d64a1c999a690f46123cf73fafa7c.zip
u-boot-ace16e88d97d64a1c999a690f46123cf73fafa7c.tar.gz
u-boot-ace16e88d97d64a1c999a690f46123cf73fafa7c.tar.bz2
dtoc: add missing code comments
Add missing information about internal class members in order to make the code easier to follow. Signed-off-by: Walter Lozano <walter.lozano@collabora.com> Reviewed-by: Simon Glass <sjg@chromium.org>
-rw-r--r--tools/dtoc/dtb_platdata.py3
1 files changed, 3 insertions, 0 deletions
diff --git a/tools/dtoc/dtb_platdata.py b/tools/dtoc/dtb_platdata.py
index ecfe062..bc0de42 100644
--- a/tools/dtoc/dtb_platdata.py
+++ b/tools/dtoc/dtb_platdata.py
@@ -140,6 +140,9 @@ class DtbPlatdata(object):
_include_disabled: true to include nodes marked status = "disabled"
_outfile: The current output file (sys.stdout or a real file)
_lines: Stashed list of output lines for outputting in the future
+ _aliases: Dict that hold aliases for compatible strings
+ key: First compatible string declared in a node
+ value: List of additional compatible strings declared in a node
"""
def __init__(self, dtb_fname, include_disabled):
self._fdt = None