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/imx/common/include/sci/svc/pad/sci_pad_api.h
View file @
9d068f66
...
...
@@ -52,8 +52,8 @@
* @{
*/
#ifndef SC_PAD_API_H
#define SC_PAD_API_H
#ifndef SC
I
_PAD_API_H
#define SC
I
_PAD_API_H
/* Includes */
...
...
@@ -567,6 +567,6 @@ sc_err_t sc_pad_get_gp_28fdsoi_comp(sc_ipc_t ipc, sc_pad_t pad,
/* @} */
#endif
/* SC_PAD_API_H */
#endif
/* SC
I
_PAD_API_H */
/**@}*/
plat/imx/common/include/sci/svc/pm/sci_pm_api.h
View file @
9d068f66
...
...
@@ -16,8 +16,8 @@
* @{
*/
#ifndef SC_PM_API_H
#define SC_PM_API_H
#ifndef SC
I
_PM_API_H
#define SC
I
_PM_API_H
/* Includes */
...
...
@@ -679,6 +679,6 @@ sc_err_t sc_pm_cpu_start(sc_ipc_t ipc, sc_rsrc_t resource, sc_bool_t enable,
/* @} */
#endif
/* SC_PM_API_H */
#endif
/* SC
I
_PM_API_H */
/**@}*/
plat/imx/common/include/sci/svc/rm/sci_rm_api.h
View file @
9d068f66
...
...
@@ -18,8 +18,8 @@
* @{
*/
#ifndef SC_RM_API_H
#define SC_RM_API_H
#ifndef SC
I
_RM_API_H
#define SC
I
_RM_API_H
/* Includes */
...
...
@@ -752,6 +752,6 @@ void sc_rm_dump(sc_ipc_t ipc);
/* @} */
#endif
/* SC_RM_API_H */
#endif
/* SC
I
_RM_API_H */
/**@}*/
plat/imx/common/sci/svc/pad/sci_pad_rpc.h
View file @
9d068f66
...
...
@@ -11,8 +11,8 @@
* @{
*/
#ifndef SC_PAD_RPC_H
#define SC_PAD_RPC_H
#ifndef SC
I
_PAD_RPC_H
#define SC
I
_PAD_RPC_H
/* Includes */
...
...
@@ -61,6 +61,6 @@ void pad_dispatch(sc_rm_pt_t caller_pt, sc_rpc_msg_t *msg);
*/
void
pad_xlate
(
sc_ipc_t
ipc
,
sc_rpc_msg_t
*
msg
);
#endif
/* SC_PAD_RPC_H */
#endif
/* SC
I
_PAD_RPC_H */
/**@}*/
plat/imx/common/sci/svc/pm/sci_pm_rpc.h
View file @
9d068f66
...
...
@@ -11,8 +11,8 @@
* @{
*/
#ifndef SC_PM_RPC_H
#define SC_PM_RPC_H
#ifndef SC
I
_PM_RPC_H
#define SC
I
_PM_RPC_H
/* Includes */
...
...
@@ -66,6 +66,6 @@ void pm_dispatch(sc_rm_pt_t caller_pt, sc_rpc_msg_t *msg);
*/
void
pm_xlate
(
sc_ipc_t
ipc
,
sc_rpc_msg_t
*
msg
);
#endif
/* SC_PM_RPC_H */
#endif
/* SC
I
_PM_RPC_H */
/**@}*/
plat/imx/common/sci/svc/rm/sci_rm_rpc.h
View file @
9d068f66
...
...
@@ -11,8 +11,8 @@
* @{
*/
#ifndef SC_RM_RPC_H
#define SC_RM_RPC_H
#ifndef SC
I
_RM_RPC_H
#define SC
I
_RM_RPC_H
/* Includes */
...
...
@@ -76,6 +76,6 @@ void rm_dispatch(sc_rm_pt_t caller_pt, sc_rpc_msg_t *msg);
*/
void
rm_xlate
(
sc_ipc_t
ipc
,
sc_rpc_msg_t
*
msg
);
#endif
/* SC_RM_RPC_H */
#endif
/* SC
I
_RM_RPC_H */
/**@}*/
plat/imx/imx7/include/imx_hab_arch.h
View file @
9d068f66
...
...
@@ -3,10 +3,10 @@
*
* SPDX-License-Identifier: BSD-3-Clause
*/
#ifndef
__
IMX_HAB_ARCH_H
__
#define
__
IMX_HAB_ARCH_H
__
#ifndef IMX_HAB_ARCH_H
#define IMX_HAB_ARCH_H
/* Define the offset the High Assurance Boot callback table is at */
#define HAB_CALLBACK_OFFSET 0x100
#endif
/*
__
IMX_HAB_ARCH_H
__
*/
#endif
/* IMX_HAB_ARCH_H */
plat/imx/imx7/include/imx_regs.h
View file @
9d068f66
...
...
@@ -4,8 +4,8 @@
* SPDX-License-Identifier: BSD-3-Clause
*/
#ifndef
__
IMX_REGS_H
__
#define
__
IMX_REGS_H
__
#ifndef IMX_REGS_H
#define IMX_REGS_H
/* Define the processor memory map */
...
...
@@ -105,4 +105,4 @@
/* Define the maximum number of WDOG blocks on this SoC */
#define MXC_MAX_WDOG_NUM 0x04
#endif
/*
__
IMX_REGS_H
__
*/
#endif
/* IMX_REGS_H */
plat/imx/imx7/warp7/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>
#include <common_def.h>
...
...
@@ -214,4 +214,4 @@
*/
#define SYS_COUNTER_FREQ_IN_TICKS 8000000
/* 8 MHz */
#endif
/*
__
PLATFORM_DEF_H
__
*/
#endif
/* PLATFORM_DEF_H */
plat/imx/imx7/warp7/warp7_private.h
View file @
9d068f66
...
...
@@ -4,12 +4,12 @@
* SPDX-License-Identifier: BSD-3-Clause
*/
#ifndef
__
WARP7_PRIVATE_H
__
#define
__
WARP7_PRIVATE_H
__
#ifndef WARP7_PRIVATE_H
#define WARP7_PRIVATE_H
/*******************************************************************************
* Function and variable prototypes
******************************************************************************/
void
plat_warp7_io_setup
(
void
);
#endif
/*
__
WARP7_PRIVATE_H
__
*/
#endif
/*
WARP7_PRIVATE_H */
plat/layerscape/board/ls1043/include/ns_access.h
View file @
9d068f66
...
...
@@ -4,8 +4,8 @@
* SPDX-License-Identifier: BSD-3-Clause
*/
#ifndef
__FSL_
NS_ACCESS_H
_
#define
__FSL_
NS_ACCESS_H
_
#ifndef NS_ACCESS_H
#define NS_ACCESS_H
#include "fsl_csu.h"
...
...
@@ -171,4 +171,4 @@ static struct csu_ns_dev ns_dev[] = {
{
CSU_CSLX_DSCR
,
CSU_ALL_RW
},
};
#endif
#endif
/* NS_ACCESS_H */
plat/layerscape/board/ls1043/include/plat_macros.S
View file @
9d068f66
...
...
@@ -4,8 +4,8 @@
*
SPDX
-
License
-
Identifier
:
BSD
-
3
-
Clause
*/
#ifndef
__
PLAT_MACROS_S
__
#define
__
PLAT_MACROS_S
__
#ifndef PLAT_MACROS_S
#define PLAT_MACROS_S
/
*
---------------------------------------------
*
The
below
required
platform
porting
macro
...
...
@@ -18,4 +18,4 @@
.
macro
plat_crash_print_regs
.
endm
#endif /*
__
PLAT_MACROS_S
__
*/
#endif /* PLAT_MACROS_S */
plat/layerscape/board/ls1043/include/soc_tzasc.h
View file @
9d068f66
...
...
@@ -4,8 +4,8 @@
* SPDX-License-Identifier: BSD-3-Clause
*/
#ifndef
_
SOC_TZASC_H
_
#define
_
SOC_TZASC_H
_
#ifndef SOC_TZASC_H
#define SOC_TZASC_H
#include "tzc380.h"
...
...
@@ -90,4 +90,4 @@ static const struct tzc380_reg tzc380_reg_list[] = {
{}
};
#endif
/*
_
SOC_TZASC_H
_
*/
#endif
/* SOC_TZASC_H */
plat/layerscape/common/include/fsl_csu.h
View file @
9d068f66
...
...
@@ -4,8 +4,8 @@
* SPDX-License-Identifier: BSD-3-Clause
*/
#ifndef
__
FSL_CSU_H
__
#define
__
FSL_CSU_H
__
#ifndef FSL_CSU_H
#define FSL_CSU_H
enum
csu_cslx_access
{
CSU_NS_SUP_R
=
0x08
,
...
...
@@ -30,4 +30,4 @@ struct csu_ns_dev {
void
enable_layerscape_ns_access
(
void
);
#endif
#endif
/* FSL_CSU_H */
plat/layerscape/common/include/ls_16550.h
View file @
9d068f66
...
...
@@ -4,8 +4,8 @@
* SPDX-License-Identifier: BSD-3-Clause
*/
#ifndef
__
LS_16550_H
__
#define
__
LS_16550_H
__
#ifndef LS_16550_H
#define LS_16550_H
#include <console.h>
...
...
@@ -83,4 +83,4 @@ int console_ls_16550_register(uintptr_t baseaddr, uint32_t clock, uint32_t baud,
#endif
/*__ASSEMBLY__*/
#endif
/*
__
LS_16550_H
__
*/
#endif
/* LS_16550_H */
plat/layerscape/common/include/plat_ls.h
View file @
9d068f66
...
...
@@ -4,8 +4,8 @@
* SPDX-License-Identifier: BSD-3-Clause
*/
#ifndef
__
PLAT_LS_H
__
#define
__
PLAT_LS_H
__
#ifndef PLAT_LS_H
#define PLAT_LS_H
#include <cpu_data.h>
#include <stdint.h>
...
...
@@ -58,4 +58,4 @@ unsigned int plat_ls_calc_core_pos(u_register_t mpidr);
/* others */
unsigned
int
plat_ls_get_cluster_core_count
(
u_register_t
mpidr
);
#endif
/*
__
PLAT_LS_H
__
*/
#endif
/* PLAT_LS_H */
plat/layerscape/common/include/soc.h
View file @
9d068f66
...
...
@@ -4,8 +4,8 @@
* SPDX-License-Identifier: BSD-3-Clause
*/
#ifndef
__LAYERSCAPE_
SOC_H
__
#define
__LAYERSCAPE_
SOC_H
__
#ifndef SOC_H
#define SOC_H
#include <stdint.h>
...
...
@@ -15,4 +15,4 @@
void
get_gic_offset
(
uint32_t
*
gicc_base
,
uint32_t
*
gicd_base
);
#endif
/*
__LAYERSCAPE_
SOC_H
__
*/
#endif
/* SOC_H */
plat/layerscape/common/include/tzc380.h
View file @
9d068f66
...
...
@@ -4,8 +4,8 @@
* SPDX-License-Identifier: BSD-3-Clause
*/
#ifndef
__
TZC380_H
__
#define
__
TZC380_H
__
#ifndef TZC380_H
#define TZC380_H
struct
tzc380_reg
{
unsigned
int
secure
;
...
...
@@ -16,4 +16,4 @@ struct tzc380_reg {
unsigned
int
sub_mask
;
};
#endif
/*
__
TZC380_H
__
*/
#endif
/* TZC380_H */
plat/layerscape/common/tsp/platform_tsp.h
View file @
9d068f66
...
...
@@ -4,8 +4,8 @@
* SPDX-License-Identifier: BSD-3-Clause
*/
#ifndef
__
PLATFORM_TSP_H
__
#define
__
PLATFORM_TSP_H
__
#ifndef PLATFORM_TSP_H
#define PLATFORM_TSP_H
/*******************************************************************************
* Mandatory TSP functions (only if platform contains a TSP)
...
...
@@ -14,4 +14,4 @@ void tsp_early_platform_setup(void);
void
tsp_plat_arch_setup
(
void
);
void
tsp_platform_setup
(
void
);
#endif
/*
__
PLATFORM_TSP_H
__
*/
#endif
/* PLATFORM_TSP_H */
plat/marvell/a3700/a3700/mvebu_def.h
View file @
9d068f66
...
...
@@ -5,9 +5,9 @@
* https://spdx.org/licenses
*/
#ifndef
__
MVEBU_DEF_H
__
#define
__
MVEBU_DEF_H
__
#ifndef MVEBU_DEF_H
#define MVEBU_DEF_H
#include <a3700_plat_def.h>
#endif
/*
__
MVEBU_DEF_H
__
*/
#endif
/* MVEBU_DEF_H */
Prev
1
…
13
14
15
16
17
18
19
20
21
…
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