Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Menu
Open sidebar
adam.huang
Arm Trusted Firmware
Commits
9d068f66
Unverified
Commit
9d068f66
authored
Nov 08, 2018
by
Antonio Niño Díaz
Committed by
GitHub
Nov 08, 2018
Browse files
Merge pull request #1673 from antonio-nino-diaz-arm/an/headers
Standardise header guards across codebase
parents
f5ae1b0e
c3cf06f1
Changes
508
Hide whitespace changes
Inline
Side-by-side
plat/nvidia/tegra/include/tegra_private.h
View file @
9d068f66
...
...
@@ -4,8 +4,8 @@
* SPDX-License-Identifier: BSD-3-Clause
*/
#ifndef
__
TEGRA_PRIVATE_H
__
#define
__
TEGRA_PRIVATE_H
__
#ifndef TEGRA_PRIVATE_H
#define TEGRA_PRIVATE_H
#include <arch.h>
#include <platform_def.h>
...
...
@@ -112,4 +112,4 @@ void tegra_delay_timer_init(void);
void
tegra_secure_entrypoint
(
void
);
void
tegra186_cpu_reset_handler
(
void
);
#endif
/*
__
TEGRA_PRIVATE_H
__
*/
#endif
/* TEGRA_PRIVATE_H */
plat/nvidia/tegra/soc/t186/drivers/include/mce_private.h
View file @
9d068f66
...
...
@@ -4,8 +4,8 @@
* SPDX-License-Identifier: BSD-3-Clause
*/
#ifndef
__
MCE_PRIVATE_H
__
#define
__
MCE_PRIVATE_H
__
#ifndef MCE_PRIVATE_H
#define MCE_PRIVATE_H
#include <mmio.h>
#include <tegra_def.h>
...
...
@@ -258,4 +258,4 @@ int32_t nvg_cc3_ctrl(uint32_t ari_base, uint32_t freq, uint32_t volt, uint8_t en
extern
void
nvg_set_request_data
(
uint64_t
req
,
uint64_t
data
);
extern
void
nvg_set_request
(
uint64_t
req
);
extern
uint64_t
nvg_get_result
(
void
);
#endif
/*
__
MCE_PRIVATE_H
__
*/
#endif
/* MCE_PRIVATE_H */
plat/nvidia/tegra/soc/t186/drivers/include/t18x_ari.h
View file @
9d068f66
...
...
@@ -4,8 +4,8 @@
* SPDX-License-Identifier: BSD-3-Clause
*/
#ifndef T18X_
TEGRA_
ARI_H
#define T18X_
TEGRA_
ARI_H
#ifndef T18X_ARI_H
#define T18X_ARI_H
/*
* ----------------------------------------------------------------------------
...
...
@@ -434,4 +434,4 @@ typedef enum {
TEGRA_NVG_CHANNEL_LAST_INDEX
,
}
tegra_nvg_channel_id_t
;
#endif
/* T18X_
TEGRA_
ARI_H */
#endif
/* T18X_ARI_H */
plat/qemu/include/plat_macros.S
View file @
9d068f66
...
...
@@ -3,8 +3,8 @@
*
*
SPDX
-
License
-
Identifier
:
BSD
-
3
-
Clause
*/
#ifndef
__
PLAT_MACROS_S
__
#define
__
PLAT_MACROS_S
__
#ifndef PLAT_MACROS_S
#define PLAT_MACROS_S
#include <arm_macros.S>
#include <platform_def.h>
...
...
@@ -23,4 +23,4 @@
arm_print_gic_regs
.
endm
#endif /*
__
PLAT_MACROS_S
__
*/
#endif /* PLAT_MACROS_S */
plat/qemu/qemu_private.h
View file @
9d068f66
...
...
@@ -4,8 +4,8 @@
* SPDX-License-Identifier: BSD-3-Clause
*/
#ifndef
__
QEMU_PRIVATE_H
#define
__
QEMU_PRIVATE_H
#ifndef QEMU_PRIVATE_H
#define QEMU_PRIVATE_H
#include <stdint.h>
...
...
@@ -35,4 +35,4 @@ int dt_add_psci_cpu_enable_methods(void *fdt);
void
qemu_console_init
(
void
);
#endif
/*
__
QEMU_PRIVATE_H*/
#endif
/*
QEMU_PRIVATE_H
*/
plat/renesas/rcar/include/plat.ld.S
View file @
9d068f66
...
...
@@ -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 */
plat/renesas/rcar/include/platform_def.h
View file @
9d068f66
...
...
@@ -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 */
plat/renesas/rcar/include/rcar_def.h
View file @
9d068f66
...
...
@@ -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 */
plat/renesas/rcar/include/rcar_private.h
View file @
9d068f66
...
...
@@ -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 */
plat/renesas/rcar/include/rcar_version.h
View file @
9d068f66
...
...
@@ -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 */
plat/renesas/rcar/include/registers/axi_registers.h
View file @
9d068f66
...
...
@@ -4,8 +4,8 @@
* SPDX-License-Identifier: BSD-3-Clause
*/
#ifndef
AXI_REGISTER_H
__
#define
AXI_REGISTER_H
__
#ifndef
AXI_REGISTER
S
_H
#define
AXI_REGISTER
S
_H
/* AXI registers */
...
...
@@ -243,4 +243,4 @@
/* EDC edc interrupt enable 1 */
#define EDC_EDCINTEN1 (EDC_BASE + 0x0044U)
#endif
#endif
/* AXI_REGISTERS_H */
plat/renesas/rcar/include/registers/cpg_registers.h
View file @
9d068f66
...
...
@@ -4,8 +4,8 @@
* SPDX-License-Identifier: BSD-3-Clause
*/
#ifndef
CPG_REGISTER_H
__
#define
CPG_REGISTER_H
__
#ifndef
CPG_REGISTER
S
_H
#define
CPG_REGISTER
S
_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 */
plat/renesas/rcar/include/registers/lifec_registers.h
View file @
9d068f66
...
...
@@ -4,8 +4,8 @@
* SPDX-License-Identifier: BSD-3-Clause
*/
#ifndef
LIFEC_REGISTER_H
__
#define
LIFEC_REGISTER_H
__
#ifndef
LIFEC_REGISTER
S
_H
#define
LIFEC_REGISTER
S
_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 */
plat/rockchip/common/drivers/parameter/ddr_parameter.h
View file @
9d068f66
...
...
@@ -4,8 +4,8 @@
* SPDX-License-Identifier: BSD-3-Clause
*/
#ifndef
_
_PARAMETER_H
__
#define
_
_PARAMETER_H
__
#ifndef
DDR
_PARAMETER_H
#define
DDR
_PARAMETER_H
#include <arch_helpers.h>
#include <console.h>
...
...
@@ -38,4 +38,4 @@ struct param_ddr_usage {
struct
param_ddr_usage
ddr_region_usage_parse
(
uint64_t
addr
,
uint64_t
max_mb
);
#endif
/*
_
_PARAMETER_H
__
*/
#endif
/*
DDR
_PARAMETER_H */
plat/rockchip/common/drivers/pmu/pmu_com.h
View file @
9d068f66
...
...
@@ -4,8 +4,8 @@
* SPDX-License-Identifier: BSD-3-Clause
*/
#ifndef
__
PMU_COM_H
__
#define
__
PMU_COM_H
__
#ifndef PMU_COM_H
#define PMU_COM_H
#ifndef CHECK_CPU_WFIE_BASE
#define CHECK_CPU_WFIE_BASE (PMU_BASE + PMU_CORE_PWR_ST)
...
...
@@ -108,4 +108,4 @@ static int check_cpu_wfie(uint32_t cpu_id, uint32_t wfie_msk)
return
0
;
}
#endif
/*
__
PMU_COM_H
__
*/
#endif
/* PMU_COM_H */
plat/rockchip/common/include/plat_macros.S
View file @
9d068f66
...
...
@@ -3,8 +3,8 @@
*
*
SPDX
-
License
-
Identifier
:
BSD
-
3
-
Clause
*/
#ifndef
__
ROCKCHIP_PLAT_MACROS_S
__
#define
__
ROCKCHIP_PLAT_MACROS_S
__
#ifndef ROCKCHIP_PLAT_MACROS_S
#define ROCKCHIP_PLAT_MACROS_S
#include <cci.h>
#include <gic_common.h>
...
...
@@ -115,4 +115,4 @@ exit_print_gic_regs:
#endif
.
endm
#endif /*
__
ROCKCHIP_PLAT_MACROS_S
__
*/
#endif /* ROCKCHIP_PLAT_MACROS_S */
plat/rockchip/common/include/plat_params.h
View file @
9d068f66
...
...
@@ -4,8 +4,8 @@
* SPDX-License-Identifier: BSD-3-Clause
*/
#ifndef
__
PLAT_PARAMS_H
__
#define
__
PLAT_PARAMS_H
__
#ifndef PLAT_PARAMS_H
#define PLAT_PARAMS_H
#include <stdint.h>
...
...
@@ -95,4 +95,4 @@ struct bl31_u64_param {
uint64_t
value
;
};
#endif
/*
__
PLAT_PARAMS_H
__
*/
#endif
/* PLAT_PARAMS_H */
plat/rockchip/common/include/plat_private.h
View file @
9d068f66
...
...
@@ -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
#ifndef __ASSEMBLY__
#include <mmio.h>
...
...
@@ -143,4 +143,4 @@ void rockchip_plat_mmu_el3(void);
#define PMU_CPU_AUTO_PWRDN 0xf0
#define PMU_CLST_RET 0xa5
#endif
/*
__
PLAT_PRIVATE_H
__
*/
#endif
/* PLAT_PRIVATE_H */
plat/rockchip/common/include/rockchip_sip_svc.h
View file @
9d068f66
...
...
@@ -4,8 +4,8 @@
* SPDX-License-Identifier: BSD-3-Clause
*/
#ifndef
__
ROCKCHIP_SIP_SVC_H
__
#define
__
ROCKCHIP_SIP_SVC_H
__
#ifndef ROCKCHIP_SIP_SVC_H
#define ROCKCHIP_SIP_SVC_H
/* SMC function IDs for SiP Service queries */
#define SIP_SVC_CALL_COUNT 0x8200ff00
...
...
@@ -24,4 +24,4 @@ enum {
RK_SIP_E_INVALID_PARAM
=
-
1
};
#endif
#endif
/* ROCKCHIP_SIP_SVC_H */
plat/rockchip/rk3328/drivers/pmu/pmu.h
View file @
9d068f66
...
...
@@ -4,8 +4,8 @@
* SPDX-License-Identifier: BSD-3-Clause
*/
#ifndef
__
PMU_H
__
#define
__
PMU_H
__
#ifndef PMU_H
#define PMU_H
#include <soc.h>
...
...
@@ -128,4 +128,4 @@ enum pmu_sft_con {
#define UART_INT_DISABLE 0x00
#define UART_FIFO_RESET 0x07
#endif
/*
__
PMU_H
__
*/
#endif
/* PMU_H */
Prev
1
…
17
18
19
20
21
22
23
24
25
26
Next
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment