diff options
author | Simon Glass <sjg@chromium.org> | 2020-12-03 16:55:19 -0700 |
---|---|---|
committer | Simon Glass <sjg@chromium.org> | 2020-12-13 16:51:09 -0700 |
commit | 4f50086ad6d69c355a07389fb436c64c92ec614a (patch) | |
tree | 378f571fa378fb8e2f4bb38859face7d7b855600 /tools/dtoc/dtb_platdata.py | |
parent | caa4daa2ae3dc0a3e516addea5772c9af76abcb0 (diff) | |
download | u-boot-4f50086ad6d69c355a07389fb436c64c92ec614a.tar.gz u-boot-4f50086ad6d69c355a07389fb436c64c92ec614a.tar.xz u-boot-4f50086ad6d69c355a07389fb436c64c92ec614a.zip |
dm: Rename 'platdata_size' to 'plat_size'
Rename this to be consistent with the change from 'platdata'.
Signed-off-by: Simon Glass <sjg@chromium.org>
Diffstat (limited to 'tools/dtoc/dtb_platdata.py')
-rw-r--r-- | tools/dtoc/dtb_platdata.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/dtoc/dtb_platdata.py b/tools/dtoc/dtb_platdata.py index 2f3413cf20..82671138a9 100644 --- a/tools/dtoc/dtb_platdata.py +++ b/tools/dtoc/dtb_platdata.py @@ -660,7 +660,7 @@ class DtbPlatdata(object): self.buf('U_BOOT_DEVICE(%s) = {\n' % var_name) self.buf('\t.name\t\t= "%s",\n' % struct_name) self.buf('\t.plat\t= &%s%s,\n' % (VAL_PREFIX, var_name)) - self.buf('\t.platdata_size\t= sizeof(%s%s),\n' % (VAL_PREFIX, var_name)) + self.buf('\t.plat_size\t= sizeof(%s%s),\n' % (VAL_PREFIX, var_name)) idx = -1 if node.parent and node.parent in self._valid_nodes: idx = node.parent.idx |