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/hisilicon/poplar | |
parent | f5ae1b0e098277a5b02a823a23f61577e53eadf2 (diff) | |
download | trusted-firmware-a-c3cf06f1a3a9b9ee8ac7a0ae505f95c45f7dca84.tar.gz |
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/hisilicon/poplar')
-rw-r--r-- | plat/hisilicon/poplar/include/hi3798cv200.h | 6 | ||||
-rw-r--r-- | plat/hisilicon/poplar/include/plat_private.h | 6 | ||||
-rw-r--r-- | plat/hisilicon/poplar/include/poplar_layout.h | 6 |
3 files changed, 9 insertions, 9 deletions
diff --git a/plat/hisilicon/poplar/include/hi3798cv200.h b/plat/hisilicon/poplar/include/hi3798cv200.h index 254b35715..ddb43964c 100644 --- a/plat/hisilicon/poplar/include/hi3798cv200.h +++ b/plat/hisilicon/poplar/include/hi3798cv200.h @@ -4,8 +4,8 @@ * SPDX-License-Identifier: BSD-3-Clause */ -#ifndef __HI3798cv200_H__ -#define __HI3798cv200_H__ +#ifndef HI3798CV200_H +#define HI3798CV200_H #include <utils_def.h> @@ -102,4 +102,4 @@ #define HISI_TZPC_BASE (0xF8A80000) #define HISI_TZPC_SEC_ATTR_CTRL (HISI_TZPC_BASE + 0x10) -#endif /* __HI3798cv200_H__ */ +#endif /* HI3798CV200_H */ diff --git a/plat/hisilicon/poplar/include/plat_private.h b/plat/hisilicon/poplar/include/plat_private.h index 63b7d766f..3aeccc424 100644 --- a/plat/hisilicon/poplar/include/plat_private.h +++ b/plat/hisilicon/poplar/include/plat_private.h @@ -4,8 +4,8 @@ * SPDX-License-Identifier: BSD-3-Clause */ -#ifndef __PLAT_PRIVATE_H__ -#define __PLAT_PRIVATE_H__ +#ifndef PLAT_PRIVATE_H +#define PLAT_PRIVATE_H #include <bl_common.h> #include "hi3798cv200.h" @@ -33,4 +33,4 @@ void poplar_gic_init(void); void poplar_gic_cpuif_enable(void); void poplar_gic_pcpu_init(void); -#endif /* __PLAT_PRIVATE_H__ */ +#endif /* PLAT_PRIVATE_H */ diff --git a/plat/hisilicon/poplar/include/poplar_layout.h b/plat/hisilicon/poplar/include/poplar_layout.h index 9fb5a94cf..03047f911 100644 --- a/plat/hisilicon/poplar/include/poplar_layout.h +++ b/plat/hisilicon/poplar/include/poplar_layout.h @@ -4,8 +4,8 @@ * SPDX-License-Identifier: BSD-3-Clause */ -#ifndef __POPLAR_LAYOUT_H -#define __POPLAR_LAYOUT_H +#ifndef POPLAR_LAYOUT_H +#define POPLAR_LAYOUT_H /* * Boot memory layout definitions for the HiSilicon Poplar board @@ -129,4 +129,4 @@ #define BL31_BASE (LLOADER_TEXT_BASE + BL31_OFFSET) #define BL31_LIMIT (BL31_BASE + BL31_SIZE) -#endif /* !__POPLAR_LAYOUT_H */ +#endif /* POPLAR_LAYOUT_H */ |