aboutsummaryrefslogtreecommitdiff
path: root/tools/dtoc/dtb_platdata.py
diff options
context:
space:
mode:
authorSimon Glass <sjg@chromium.org>2020-12-28 20:35:01 -0700
committerSimon Glass <sjg@chromium.org>2021-01-05 12:26:35 -0700
commitf31fa99a9ed92c223fbf56e07eae57e7bdea19ae (patch)
tree77464608e5ade074862d786989a966016974ebc1 /tools/dtoc/dtb_platdata.py
parentd1055d681af40963d1c4b1a517ae131f738983f4 (diff)
downloadu-boot-f31fa99a9ed92c223fbf56e07eae57e7bdea19ae.zip
u-boot-f31fa99a9ed92c223fbf56e07eae57e7bdea19ae.tar.gz
u-boot-f31fa99a9ed92c223fbf56e07eae57e7bdea19ae.tar.bz2
dtoc: Rename dt-platdata.c to dt-plat.c
Use this new name to be consistent with the rest of U-Boot, which talks about 'plat' for the platform data, which is what this file holds. Signed-off-by: Simon Glass <sjg@chromium.org>
Diffstat (limited to 'tools/dtoc/dtb_platdata.py')
-rw-r--r--tools/dtoc/dtb_platdata.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/tools/dtoc/dtb_platdata.py b/tools/dtoc/dtb_platdata.py
index b3d777e..e07a5d3 100644
--- a/tools/dtoc/dtb_platdata.py
+++ b/tools/dtoc/dtb_platdata.py
@@ -796,7 +796,7 @@ class DtbPlatdata():
information.
"""
self.out('/* Allow use of U_BOOT_DRVINFO() in this file */\n')
- self.out('#define DT_PLATDATA_C\n')
+ self.out('#define DT_PLAT_C\n')
self.out('\n')
self.out('#include <common.h>\n')
self.out('#include <dm.h>\n')
@@ -832,7 +832,7 @@ OUTPUT_FILES = {
OutputFile(Ftype.HEADER, 'dt-structs-gen.h',
'Defines the structs used to hold devicetree data'),
'platdata':
- OutputFile(Ftype.SOURCE, 'dt-platdata.c',
+ OutputFile(Ftype.SOURCE, 'dt-plat.c',
'Declares the U_BOOT_DRIVER() records and platform data'),
}