From f31fa99a9ed92c223fbf56e07eae57e7bdea19ae Mon Sep 17 00:00:00 2001 From: Simon Glass Date: Mon, 28 Dec 2020 20:35:01 -0700 Subject: 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 --- tools/dtoc/dtb_platdata.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'tools/dtoc/dtb_platdata.py') diff --git a/tools/dtoc/dtb_platdata.py b/tools/dtoc/dtb_platdata.py index b3d777e0c5e..e07a5d3a1c8 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 \n') self.out('#include \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'), } -- cgit v1.2.3