diff options
author | Antonio Nino Diaz <antonio.ninodiaz@arm.com> | 2018-11-08 10:20:19 +0000 |
---|---|---|
committer | Antonio Nino Diaz <antonio.ninodiaz@arm.com> | 2018-11-08 10:20:19 +0000 |
commit | c3cf06f1a3a9b9ee8ac7a0ae505f95c45f7dca84 (patch) | |
tree | a10cbb4dba8a33d5a444ed37486f013f19eab635 /plat/renesas/rcar/include | |
parent | f5ae1b0e098277a5b02a823a23f61577e53eadf2 (diff) | |
download | platform_external_arm-trusted-firmware-c3cf06f1a3a9b9ee8ac7a0ae505f95c45f7dca84.tar.gz platform_external_arm-trusted-firmware-c3cf06f1a3a9b9ee8ac7a0ae505f95c45f7dca84.tar.bz2 platform_external_arm-trusted-firmware-c3cf06f1a3a9b9ee8ac7a0ae505f95c45f7dca84.zip |
Standardise header guards across codebase
All identifiers, regardless of use, that start with two underscores are
reserved. This means they can't be used in header guards.
The style that this project is now to use the full name of the file in
capital letters followed by 'H'. For example, for a file called
"uart_example.h", the header guard is UART_EXAMPLE_H.
The exceptions are files that are imported from other projects:
- CryptoCell driver
- dt-bindings folders
- zlib headers
Change-Id: I50561bf6c88b491ec440d0c8385c74650f3c106e
Signed-off-by: Antonio Nino Diaz <antonio.ninodiaz@arm.com>
Diffstat (limited to 'plat/renesas/rcar/include')
-rw-r--r-- | plat/renesas/rcar/include/plat.ld.S | 6 | ||||
-rw-r--r-- | plat/renesas/rcar/include/platform_def.h | 6 | ||||
-rw-r--r-- | plat/renesas/rcar/include/rcar_def.h | 6 | ||||
-rw-r--r-- | plat/renesas/rcar/include/rcar_private.h | 6 | ||||
-rw-r--r-- | plat/renesas/rcar/include/rcar_version.h | 6 | ||||
-rw-r--r-- | plat/renesas/rcar/include/registers/axi_registers.h | 6 | ||||
-rw-r--r-- | plat/renesas/rcar/include/registers/cpg_registers.h | 6 | ||||
-rw-r--r-- | plat/renesas/rcar/include/registers/lifec_registers.h | 6 |
8 files changed, 24 insertions, 24 deletions
diff --git a/plat/renesas/rcar/include/plat.ld.S b/plat/renesas/rcar/include/plat.ld.S index 90c132db1..0461141fd 100644 --- a/plat/renesas/rcar/include/plat.ld.S +++ b/plat/renesas/rcar/include/plat.ld.S @@ -3,8 +3,8 @@ * * SPDX-License-Identifier: BSD-3-Clause */ -#ifndef __RCAR_PLAT_LD_S__ -#define __RCAR_PLAT_LD_S__ +#ifndef RCAR_PLAT_LD_S +#define RCAR_PLAT_LD_S #include <platform_def.h> #include <xlat_tables_defs.h> @@ -33,4 +33,4 @@ SECTIONS } -#endif /* __RCAR_PLAT_LD_S__ */ +#endif /* RCAR_PLAT_LD_S */ diff --git a/plat/renesas/rcar/include/platform_def.h b/plat/renesas/rcar/include/platform_def.h index d38eebc57..fa6e474c4 100644 --- a/plat/renesas/rcar/include/platform_def.h +++ b/plat/renesas/rcar/include/platform_def.h @@ -4,8 +4,8 @@ * SPDX-License-Identifier: BSD-3-Clause */ -#ifndef PLATFORM_DEF_H__ -#define PLATFORM_DEF_H__ +#ifndef PLATFORM_DEF_H +#define PLATFORM_DEF_H #include <arch.h> #ifndef __ASSEMBLY__ @@ -186,4 +186,4 @@ #define PLAT_PCPU_DATA_SIZE (2) #endif -#endif +#endif /* PLATFORM_DEF_H */ diff --git a/plat/renesas/rcar/include/rcar_def.h b/plat/renesas/rcar/include/rcar_def.h index eb195b448..61b95a436 100644 --- a/plat/renesas/rcar/include/rcar_def.h +++ b/plat/renesas/rcar/include/rcar_def.h @@ -4,8 +4,8 @@ * SPDX-License-Identifier: BSD-3-Clause */ -#ifndef RCAR_DEF_H__ -#define RCAR_DEF_H__ +#ifndef RCAR_DEF_H +#define RCAR_DEF_H #include <tbbr_img_def.h> #include <utils_def.h> @@ -290,4 +290,4 @@ #define LOSSY_FMT2 LOSSY_FMT_YUV422INTLV #define LOSSY_ENA_DIS2 LOSSY_DISABLE -#endif +#endif /* RCAR_DEF_H */ diff --git a/plat/renesas/rcar/include/rcar_private.h b/plat/renesas/rcar/include/rcar_private.h index dd3582601..e90fa08ad 100644 --- a/plat/renesas/rcar/include/rcar_private.h +++ b/plat/renesas/rcar/include/rcar_private.h @@ -4,8 +4,8 @@ * SPDX-License-Identifier: BSD-3-Clause */ -#ifndef RCAR_PRIVATE_H__ -#define RCAR_PRIVATE_H__ +#ifndef RCAR_PRIVATE_H +#define RCAR_PRIVATE_H #include <bakery_lock.h> #include <bl_common.h> @@ -98,4 +98,4 @@ void plat_cci_init(void); void mstpcr_write(uint32_t mstpcr, uint32_t mstpsr, uint32_t target_bit); void cpg_write(uintptr_t regadr, uint32_t regval); -#endif +#endif /* RCAR_PRIVATE_H */ diff --git a/plat/renesas/rcar/include/rcar_version.h b/plat/renesas/rcar/include/rcar_version.h index 9a9ad9cdd..5ab8efc7e 100644 --- a/plat/renesas/rcar/include/rcar_version.h +++ b/plat/renesas/rcar/include/rcar_version.h @@ -4,8 +4,8 @@ * SPDX-License-Identifier: BSD-3-Clause */ -#ifndef RCAR_VERSION_H__ -#define RCAR_VERSION_H__ +#ifndef RCAR_VERSION_H +#define RCAR_VERSION_H #include <arch_helpers.h> @@ -14,4 +14,4 @@ extern const uint8_t version_of_renesas[VERSION_OF_RENESAS_MAXLEN]; -#endif +#endif /* RCAR_VERSION_H */ diff --git a/plat/renesas/rcar/include/registers/axi_registers.h b/plat/renesas/rcar/include/registers/axi_registers.h index 1d8f41db7..36cd58bd9 100644 --- a/plat/renesas/rcar/include/registers/axi_registers.h +++ b/plat/renesas/rcar/include/registers/axi_registers.h @@ -4,8 +4,8 @@ * SPDX-License-Identifier: BSD-3-Clause */ -#ifndef AXI_REGISTER_H__ -#define AXI_REGISTER_H__ +#ifndef AXI_REGISTERS_H +#define AXI_REGISTERS_H /* AXI registers */ @@ -243,4 +243,4 @@ /* EDC edc interrupt enable 1 */ #define EDC_EDCINTEN1 (EDC_BASE + 0x0044U) -#endif +#endif /* AXI_REGISTERS_H */ diff --git a/plat/renesas/rcar/include/registers/cpg_registers.h b/plat/renesas/rcar/include/registers/cpg_registers.h index bd6e5572b..0d698d9c1 100644 --- a/plat/renesas/rcar/include/registers/cpg_registers.h +++ b/plat/renesas/rcar/include/registers/cpg_registers.h @@ -4,8 +4,8 @@ * SPDX-License-Identifier: BSD-3-Clause */ -#ifndef CPG_REGISTER_H__ -#define CPG_REGISTER_H__ +#ifndef CPG_REGISTERS_H +#define CPG_REGISTERS_H /* CPG base address */ #define CPG_BASE (0xE6150000U) @@ -133,4 +133,4 @@ /* System Module Stop Control Register 11 */ #define SMSTPCR11 (CPG_BASE + 0x099CU) -#endif +#endif /* CPG_REGISTERS_H */ diff --git a/plat/renesas/rcar/include/registers/lifec_registers.h b/plat/renesas/rcar/include/registers/lifec_registers.h index b331be3b5..de78760ae 100644 --- a/plat/renesas/rcar/include/registers/lifec_registers.h +++ b/plat/renesas/rcar/include/registers/lifec_registers.h @@ -4,8 +4,8 @@ * SPDX-License-Identifier: BSD-3-Clause */ -#ifndef LIFEC_REGISTER_H__ -#define LIFEC_REGISTER_H__ +#ifndef LIFEC_REGISTERS_H +#define LIFEC_REGISTERS_H #define LIFEC_SEC_BASE (0xE6110000U) @@ -141,4 +141,4 @@ #define SAFE_READONLY14 (LIFEC_SAFE_BASE + 0x0210U) #define SAFE_READONLY15 (LIFEC_SAFE_BASE + 0x0214U) -#endif +#endif /* LIFEC_REGISTERS_H */ |