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/marvell/a3700/common/include/a3700_plat_def.h
View file @
9d068f66
...
...
@@ -5,8 +5,8 @@
* https://spdx.org/licenses
*/
#ifndef
__
A3700_PLAT_DEF_H
__
#define
__
A3700_PLAT_DEF_H
__
#ifndef A3700_PLAT_DEF_H
#define A3700_PLAT_DEF_H
#include <marvell_def.h>
...
...
@@ -119,4 +119,4 @@
*/
#define MVEBU_COMPHY_REG_BASE (MVEBU_REGS_BASE + 0x18300)
#endif
/*
__
A3700_PLAT_DEF_H
__
*/
#endif
/* A3700_PLAT_DEF_H */
plat/marvell/a3700/common/include/a3700_pm.h
View file @
9d068f66
...
...
@@ -5,8 +5,8 @@
* https://spdx.org/licenses
*/
#ifndef
__
A3700_PM_H
__
#define
__
A3700_PM_H
__
#ifndef A3700_PM_H
#define A3700_PM_H
#include <stdint.h>
...
...
@@ -48,5 +48,4 @@ struct pm_wake_up_src_config {
struct
pm_wake_up_src_config
*
mv_wake_up_src_config_get
(
void
);
#endif
/* __A3700_PM_H__ */
#endif
/* A3700_PM_H */
plat/marvell/a3700/common/include/ddr_info.h
View file @
9d068f66
...
...
@@ -5,10 +5,10 @@
* https://spdx.org/licenses
*/
#ifndef
_
DDR_INFO_H
_
#define
_
DDR_INFO_H
_
#ifndef DDR_INFO_H
#define DDR_INFO_H
#define DRAM_MAX_IFACE 1
#define DRAM_CH0_MMAP_LOW_OFFSET 0x200
#endif
/*
_
DDR_INFO_H
_
*/
#endif
/* DDR_INFO_H */
plat/marvell/a3700/common/include/dram_win.h
View file @
9d068f66
...
...
@@ -5,8 +5,8 @@
* https://spdx.org/licenses
*/
#ifndef
_
DRAM_WIN_H
_
#define
_
DRAM_WIN_H
_
#ifndef DRAM_WIN_H
#define DRAM_WIN_H
#include <bl_common.h>
#include <io_addr_dec.h>
...
...
@@ -14,5 +14,4 @@
void
dram_win_map_build
(
struct
dram_win_map
*
win_map
);
void
cpu_wins_init
(
void
);
#endif
/* _DRAM_WIN_H_ */
#endif
/* DRAM_WIN_H */
plat/marvell/a3700/common/include/io_addr_dec.h
View file @
9d068f66
...
...
@@ -5,8 +5,8 @@
* https://spdx.org/licenses
*/
#ifndef
_
IO_ADDR_DEC_H
_
#define
_
IO_ADDR_DEC_H
_
#ifndef IO_ADDR_DEC_H
#define IO_ADDR_DEC_H
#include <stdint.h>
...
...
@@ -63,5 +63,4 @@ int init_io_addr_dec(struct dram_win_map *dram_wins_map,
struct
dec_win_config
*
io_dec_config
,
uint32_t
io_unit_num
);
#endif
/* _IO_ADDR_DEC_H_ */
#endif
/* IO_ADDR_DEC_H */
plat/marvell/a3700/common/include/plat_macros.S
View file @
9d068f66
...
...
@@ -5,8 +5,8 @@
*
https
:
//
spdx
.
org
/
licenses
*/
#ifndef
__
PLAT_MACROS_S
__
#define
__
PLAT_MACROS_S
__
#ifndef PLAT_MACROS_S
#define PLAT_MACROS_S
#include <marvell_macros.S>
...
...
@@ -23,4 +23,4 @@
print_cci_regs
.
endm
#endif /*
__
PLAT_MACROS_S
__
*/
#endif /* PLAT_MACROS_S */
plat/marvell/a3700/common/include/platform_def.h
View file @
9d068f66
...
...
@@ -5,8 +5,8 @@
* https://spdx.org/licenses
*/
#ifndef
__
PLATFORM_DEF_H
__
#define
__
PLATFORM_DEF_H
__
#ifndef PLATFORM_DEF_H
#define PLATFORM_DEF_H
#include <board_marvell_def.h>
#include <mvebu_def.h>
...
...
@@ -228,4 +228,4 @@
#define BL32_LIMIT TRUSTED_DRAM_SIZE
#endif
#endif
/*
__
PLATFORM_DEF_H
__
*/
#endif
/* PLATFORM_DEF_H */
plat/marvell/a8k/a70x0/mvebu_def.h
View file @
9d068f66
...
...
@@ -5,11 +5,11 @@
* https://spdx.org/licenses
*/
#ifndef
__
MVEBU_DEF_H
__
#define
__
MVEBU_DEF_H
__
#ifndef MVEBU_DEF_H
#define MVEBU_DEF_H
#include <a8k_plat_def.h>
#define CP_COUNT 1
/* A70x0 has single CP0 */
#endif
/*
__
MVEBU_DEF_H
__
*/
#endif
/* MVEBU_DEF_H */
plat/marvell/a8k/a70x0_amc/mvebu_def.h
View file @
9d068f66
...
...
@@ -5,8 +5,8 @@
* https://spdx.org/licenses
*/
#ifndef
__
MVEBU_DEF_H
__
#define
__
MVEBU_DEF_H
__
#ifndef MVEBU_DEF_H
#define MVEBU_DEF_H
#include <a8k_plat_def.h>
...
...
@@ -28,4 +28,4 @@
#endif
#endif
/*
__
MVEBU_DEF_H
__
*/
#endif
/* MVEBU_DEF_H */
plat/marvell/a8k/a80x0/board/phy-porting-layer.h
View file @
9d068f66
...
...
@@ -5,8 +5,8 @@
* https://spdx.org/licenses
*/
#ifndef
__
PHY_PORTING_LAYER_H
#define
__
PHY_PORTING_LAYER_H
#ifndef PHY_PORTING_LAYER_H
#define PHY_PORTING_LAYER_H
#define MAX_LANE_NR 6
...
...
@@ -164,4 +164,4 @@ static const struct sata_params
},
},
};
#endif
/*
__
PHY_PORTING_LAYER_H */
#endif
/* PHY_PORTING_LAYER_H */
plat/marvell/a8k/a80x0/mvebu_def.h
View file @
9d068f66
...
...
@@ -5,8 +5,8 @@
* https://spdx.org/licenses
*/
#ifndef
__
MVEBU_DEF_H
__
#define
__
MVEBU_DEF_H
__
#ifndef MVEBU_DEF_H
#define MVEBU_DEF_H
#include <a8k_plat_def.h>
...
...
@@ -14,4 +14,4 @@
#define I2C_SPD_ADDR 0x53
/* Access SPD data */
#define I2C_SPD_P0_ADDR 0x36
/* Select SPD data page 0 */
#endif
/*
__
MVEBU_DEF_H
__
*/
#endif
/* MVEBU_DEF_H */
plat/marvell/a8k/a80x0_mcbin/mvebu_def.h
View file @
9d068f66
...
...
@@ -5,8 +5,8 @@
* https://spdx.org/licenses
*/
#ifndef
__
MVEBU_DEF_H
__
#define
__
MVEBU_DEF_H
__
#ifndef MVEBU_DEF_H
#define MVEBU_DEF_H
#include <a8k_plat_def.h>
...
...
@@ -14,4 +14,4 @@
#define I2C_SPD_ADDR 0x53
/* Access SPD data */
#define I2C_SPD_P0_ADDR 0x36
/* Select SPD data page 0 */
#endif
/*
__
MVEBU_DEF_H
__
*/
#endif
/* MVEBU_DEF_H */
plat/marvell/a8k/common/include/a8k_plat_def.h
View file @
9d068f66
...
...
@@ -5,8 +5,8 @@
* https://spdx.org/licenses
*/
#ifndef
__
A8K_PLAT_DEF_H
__
#define
__
A8K_PLAT_DEF_H
__
#ifndef A8K_PLAT_DEF_H
#define A8K_PLAT_DEF_H
#include <marvell_def.h>
...
...
@@ -191,4 +191,4 @@ enum ccu_target_ids {
};
#endif
/* __ASSEMBLER__ */
#endif
/*
__
A8K_PLAT_DEF_H
__
*/
#endif
/* A8K_PLAT_DEF_H */
plat/marvell/a8k/common/include/mentor_i2c_plat.h
View file @
9d068f66
...
...
@@ -6,8 +6,8 @@
*/
/* This driver provides I2C support for Marvell A8K and compatible SoCs */
#ifndef
A8K_I2C
_H
#define
A8K_I2C
_H
#ifndef
MENTOR_I2C_PLAT
_H
#define
MENTOR_I2C_PLAT
_H
#define CONFIG_SYS_TCLK 250000000
#define CONFIG_SYS_I2C_SPEED 100000
...
...
@@ -30,4 +30,4 @@ struct mentor_i2c_regs {
uint32_t
unstuck
;
};
#endif
#endif
/* MENTOR_I2C_PLAT_H */
plat/marvell/a8k/common/include/plat_macros.S
View file @
9d068f66
...
...
@@ -5,8 +5,8 @@
*
https
:
//
spdx
.
org
/
licenses
*/
#ifndef
__
PLAT_MACROS_S
__
#define
__
PLAT_MACROS_S
__
#ifndef PLAT_MACROS_S
#define PLAT_MACROS_S
#include <marvell_macros.S>
...
...
@@ -17,4 +17,4 @@
.
macro
plat_crash_print_regs
.
endm
#endif /*
__
PLAT_MACROS_S
__
*/
#endif /* PLAT_MACROS_S */
plat/marvell/a8k/common/include/platform_def.h
View file @
9d068f66
...
...
@@ -5,8 +5,8 @@
* https://spdx.org/licenses
*/
#ifndef
__
PLATFORM_DEF_H
__
#define
__
PLATFORM_DEF_H
__
#ifndef PLATFORM_DEF_H
#define PLATFORM_DEF_H
#include <board_marvell_def.h>
#include <gic_common.h>
...
...
@@ -198,4 +198,4 @@
#define MVEBU_PMU_IRQ_WA
#endif
/*
__
PLATFORM_DEF_H
__
*/
#endif
/* PLATFORM_DEF_H */
plat/marvell/a8k/common/mss/mss_pm_ipc.h
View file @
9d068f66
...
...
@@ -5,8 +5,8 @@
* https://spdx.org/licenses
*/
#ifndef
__
MSS_PM_IPC_H
#define
__
MSS_PM_IPC_H
#ifndef MSS_PM_IPC_H
#define MSS_PM_IPC_H
#include <mss_ipc_drv.h>
...
...
@@ -32,4 +32,4 @@ int mss_pm_ipc_msg_send(unsigned int channel_id, unsigned int msg_id,
int
mss_pm_ipc_msg_trigger
(
void
);
#endif
/*
__
MSS_PM_IPC_H */
#endif
/* MSS_PM_IPC_H */
plat/marvell/common/mss/mss_ipc_drv.h
View file @
9d068f66
...
...
@@ -5,8 +5,8 @@
* https://spdx.org/licenses
*/
#ifndef
__PM
_IPC_DRV_H
#define
__PM
_IPC_DRV_H
#ifndef
MSS
_IPC_DRV_H
#define
MSS
_IPC_DRV_H
#include <psci.h>
...
...
@@ -117,4 +117,4 @@ int mv_pm_ipc_msg_rx(unsigned int channel_id, struct mss_pm_ipc_msg *msg);
int
mv_pm_ipc_msg_tx
(
unsigned
int
channel_id
,
unsigned
int
msg_id
,
unsigned
int
cluster_power_state
);
#endif
/*
__PM
_IPC_DRV_H */
#endif
/*
MSS
_IPC_DRV_H */
plat/marvell/common/mss/mss_mem.h
View file @
9d068f66
...
...
@@ -5,8 +5,8 @@
* https://spdx.org/licenses
*/
#ifndef
__
MSS_
PM_
MEM_H
#define
__
MSS_
PM_
MEM_H
#ifndef MSS_MEM_H
#define MSS_MEM_H
/* MSS SRAM Memory base */
#define MSS_SRAM_PM_CONTROL_BASE (MVEBU_REGS_BASE + 0x520000)
...
...
@@ -57,4 +57,4 @@ struct mss_pm_ctrl_block {
unsigned
int
ctrl_blk_size
;
};
#endif
/*
__
MSS_
PM_
MEM_H */
#endif
/* MSS_MEM_H */
plat/marvell/common/mss/mss_scp_bl2_format.h
View file @
9d068f66
...
...
@@ -5,8 +5,8 @@
* https://spdx.org/licenses
*/
#ifndef
__
MSS_SCP_BL2_FORMAT_H
#define
__
MSS_SCP_BL2_FORMAT_H
#ifndef MSS_SCP_BL2_FORMAT_H
#define MSS_SCP_BL2_FORMAT_H
#define MAX_NR_OF_FILES 5
#define FILE_MAGIC 0xddd01ff
...
...
@@ -41,4 +41,4 @@ typedef struct img_header {
*/
}
img_header_t
;
#endif
/*
__
MSS_SCP_BL2_FORMAT_H */
#endif
/* MSS_SCP_BL2_FORMAT_H */
Prev
1
…
14
15
16
17
18
19
20
21
22
…
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