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>
This commit is contained in:
Simon Glass 2020-12-28 20:35:01 -07:00
parent d1055d681a
commit f31fa99a9e
5 changed files with 7 additions and 7 deletions

View file

@ -47,7 +47,7 @@ C_HEADER = '''/*
*/
/* Allow use of U_BOOT_DRVINFO() in this file */
#define DT_PLATDATA_C
#define DT_PLAT_C
#include <common.h>
#include <dm.h>
@ -979,5 +979,5 @@ U_BOOT_DRVINFO(spl_test2) = {
leafs = set(os.path.basename(fname) for fname in fnames)
self.assertEqual(
{'dt-structs-gen.h', 'source.dts', 'dt-platdata.c', 'source.dtb'},
{'dt-structs-gen.h', 'source.dts', 'dt-plat.c', 'source.dtb'},
leafs)