Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
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
6 years ago
by
Antonio Niño Díaz
Committed by
GitHub
6 years ago
Browse files
Options
Download
Plain Diff
Merge pull request #1673 from antonio-nino-diaz-arm/an/headers
Standardise header guards across codebase
parents
f5ae1b0e
c3cf06f1
master
v2.5
v2.5-rc1
v2.5-rc0
v2.4
v2.4-rc2
v2.4-rc1
v2.4-rc0
v2.3
v2.3-rc2
v2.3-rc1
v2.3-rc0
v2.2
v2.2-rc2
v2.2-rc1
v2.2-rc0
v2.1
v2.1-rc1
v2.1-rc0
arm_cca_v0.2
arm_cca_v0.1
No related merge requests found
Changes
508
Hide whitespace changes
Inline
Side-by-side
Showing
20 changed files
drivers/renesas/rcar/console/rcar_printf.h
+3
-3
drivers/renesas/rcar/console/rcar_printf.h
drivers/renesas/rcar/delay/micro_delay.h
+3
-3
drivers/renesas/rcar/delay/micro_delay.h
drivers/renesas/rcar/emmc/emmc_config.h
+3
-3
drivers/renesas/rcar/emmc/emmc_config.h
drivers/renesas/rcar/emmc/emmc_def.h
+3
-3
drivers/renesas/rcar/emmc/emmc_def.h
drivers/renesas/rcar/emmc/emmc_hal.h
+3
-3
drivers/renesas/rcar/emmc/emmc_hal.h
drivers/renesas/rcar/emmc/emmc_registers.h
+3
-3
drivers/renesas/rcar/emmc/emmc_registers.h
drivers/renesas/rcar/emmc/emmc_std.h
+3
-3
drivers/renesas/rcar/emmc/emmc_std.h
drivers/renesas/rcar/iic_dvfs/iic_dvfs.h
+3
-3
drivers/renesas/rcar/iic_dvfs/iic_dvfs.h
drivers/renesas/rcar/io/io_common.h
+3
-3
drivers/renesas/rcar/io/io_common.h
drivers/renesas/rcar/io/io_emmcdrv.h
+3
-3
drivers/renesas/rcar/io/io_emmcdrv.h
drivers/renesas/rcar/io/io_memdrv.h
+3
-3
drivers/renesas/rcar/io/io_memdrv.h
drivers/renesas/rcar/io/io_private.h
+3
-3
drivers/renesas/rcar/io/io_private.h
drivers/renesas/rcar/io/io_rcar.h
+3
-3
drivers/renesas/rcar/io/io_rcar.h
drivers/renesas/rcar/pwrc/pwrc.h
+3
-3
drivers/renesas/rcar/pwrc/pwrc.h
drivers/renesas/rcar/rom/rom_api.h
+3
-3
drivers/renesas/rcar/rom/rom_api.h
drivers/renesas/rcar/rpc/rpc_registers.h
+3
-3
drivers/renesas/rcar/rpc/rpc_registers.h
drivers/staging/renesas/rcar/ddr/boot_init_dram.h
+3
-3
drivers/staging/renesas/rcar/ddr/boot_init_dram.h
drivers/staging/renesas/rcar/ddr/ddr_a/boot_init_dram_regdef_e3.h
+6
-6
...staging/renesas/rcar/ddr/ddr_a/boot_init_dram_regdef_e3.h
drivers/staging/renesas/rcar/ddr/ddr_a/ddr_init_e3.h
+4
-5
drivers/staging/renesas/rcar/ddr/ddr_a/ddr_init_e3.h
drivers/staging/renesas/rcar/ddr/dram_sub_func.h
+3
-3
drivers/staging/renesas/rcar/ddr/dram_sub_func.h
with
64 additions
and
65 deletions
+64
-65
drivers/renesas/rcar/console/rcar_printf.h
View file @
9d068f66
...
...
@@ -4,8 +4,8 @@
* SPDX-License-Identifier: BSD-3-Clause
*/
#ifndef
RCAR_PRINTF_H
__
#define
RCAR_PRINTF_H
__
#ifndef
RCAR_PRINTF_H
#define
RCAR_PRINTF_H
#include <string.h>
...
...
@@ -16,4 +16,4 @@ int32_t rcar_log_init(void);
extern
uint64_t
rcar_stack_generic_timer
[
5
];
#endif
#endif
#endif
/* RCAR_PRINTF_H */
This diff is collapsed.
Click to expand it.
drivers/renesas/rcar/delay/micro_delay.h
View file @
9d068f66
...
...
@@ -4,8 +4,8 @@
* SPDX-License-Identifier: BSD-3-Clause
*/
#ifndef MICRO_DELAY_H
__
#define MICRO_DELAY_H
__
#ifndef MICRO_DELAY_H
#define MICRO_DELAY_H
#define TMU3_MEASUREMENT (0)
...
...
@@ -23,4 +23,4 @@ uint32_t tcnt3_snapshot(void);
#endif
#endif
#endif
/* MICRO_DELAY_H */
This diff is collapsed.
Click to expand it.
drivers/renesas/rcar/emmc/emmc_config.h
View file @
9d068f66
...
...
@@ -10,8 +10,8 @@
*
*/
#ifndef
__
EMMC_CONFIG_H
__
#define
__
EMMC_CONFIG_H
__
#ifndef EMMC_CONFIG_H
#define EMMC_CONFIG_H
/* ************************ HEADER (INCLUDE) SECTION *********************** */
...
...
@@ -36,5 +36,5 @@
/* ********************************* CODE ********************************** */
#endif
/*
#ifndef __
EMMC_CONFIG_H
__
*/
#endif
/* EMMC_CONFIG_H */
/* ******************************** END ************************************ */
This diff is collapsed.
Click to expand it.
drivers/renesas/rcar/emmc/emmc_def.h
View file @
9d068f66
...
...
@@ -10,8 +10,8 @@
*
*/
#ifndef
__
EMMC_DEF_H
__
#define
__
EMMC_DEF_H
__
#ifndef EMMC_DEF_H
#define EMMC_DEF_H
#include "emmc_std.h"
...
...
@@ -74,5 +74,5 @@ void emmc_write_error_info_func_no(uint16_t func_no);
/* ********************************* CODE ********************************** */
#endif
/*
#define __
EMMC_DEF_H
__
*/
#endif
/* EMMC_DEF_H */
/* ******************************** END ************************************ */
This diff is collapsed.
Click to expand it.
drivers/renesas/rcar/emmc/emmc_hal.h
View file @
9d068f66
...
...
@@ -10,8 +10,8 @@
*
*/
#ifndef
__
EMMC_HAL_H
__
#define
__
EMMC_HAL_H
__
#ifndef EMMC_HAL_H
#define EMMC_HAL_H
/* ************************ HEADER (INCLUDE) SECTION *********************** */
#include <stdint.h>
/* ***************** MACROS, CONSTANTS, COMPILATION FLAGS ****************** */
...
...
@@ -313,6 +313,6 @@ typedef struct {
/* ********************************* CODE ********************************** */
#endif
/*
__
EMMC_HAL_H
__
*/
#endif
/* EMMC_HAL_H */
/* ******************************** END ************************************ */
This diff is collapsed.
Click to expand it.
drivers/renesas/rcar/emmc/emmc_registers.h
View file @
9d068f66
...
...
@@ -10,8 +10,8 @@
*
*/
#ifndef
__
EMMC_REGISTERS_H
__
#define
__
EMMC_REGISTERS_H
__
#ifndef EMMC_REGISTERS_H
#define EMMC_REGISTERS_H
/* ************************ HEADER (INCLUDE) SECTION *********************** */
...
...
@@ -256,5 +256,5 @@
/* ********************************* CODE ********************************** */
#endif
/*
__
EMMC_REGISTERS_H
__
*/
#endif
/* EMMC_REGISTERS_H */
/* ******************************** END ************************************ */
This diff is collapsed.
Click to expand it.
drivers/renesas/rcar/emmc/emmc_std.h
View file @
9d068f66
...
...
@@ -10,8 +10,8 @@
*
*/
#ifndef
__
EMMC_STD_H
__
#define
__
EMMC_STD_H
__
#ifndef EMMC_STD_H
#define EMMC_STD_H
#include "emmc_hal.h"
...
...
@@ -471,4 +471,4 @@ uint32_t emmc_get_csd_time(void);
/* ********************************* CODE ********************************** */
/* ******************************** END ************************************ */
#endif
/*
__
EMMC_STD_H
__
*/
#endif
/* EMMC_STD_H */
This diff is collapsed.
Click to expand it.
drivers/renesas/rcar/iic_dvfs/iic_dvfs.h
View file @
9d068f66
...
...
@@ -4,8 +4,8 @@
* SPDX-License-Identifier: BSD-3-Clause
*/
#ifndef IIC_DVFS_H
__
#define IIC_DVFS_H
__
#ifndef IIC_DVFS_H
#define IIC_DVFS_H
/* PMIC slave */
#define PMIC (0x30)
...
...
@@ -20,4 +20,4 @@
int32_t
rcar_iic_dvfs_receive
(
uint8_t
slave
,
uint8_t
reg
,
uint8_t
*
data
);
int32_t
rcar_iic_dvfs_send
(
uint8_t
slave
,
uint8_t
regr
,
uint8_t
data
);
#endif
#endif
/* IIC_DVFS_H */
This diff is collapsed.
Click to expand it.
drivers/renesas/rcar/io/io_common.h
View file @
9d068f66
...
...
@@ -4,8 +4,8 @@
* SPDX-License-Identifier: BSD-3-Clause
*/
#ifndef IO_COMMON_H
__
#define IO_COMMON_H
__
#ifndef IO_COMMON_H
#define IO_COMMON_H
typedef
struct
io_drv_spec
{
size_t
offset
;
...
...
@@ -13,4 +13,4 @@ typedef struct io_drv_spec {
uint32_t
partition
;
}
io_drv_spec_t
;
#endif
#endif
/* IO_COMMON_H */
This diff is collapsed.
Click to expand it.
drivers/renesas/rcar/io/io_emmcdrv.h
View file @
9d068f66
...
...
@@ -4,10 +4,10 @@
* SPDX-License-Identifier: BSD-3-Clause
*/
#ifndef IO_EMMCDRV_H
__
#define IO_EMMCDRV_H
__
#ifndef IO_EMMCDRV_H
#define IO_EMMCDRV_H
struct
io_dev_connector
;
int32_t
rcar_register_io_dev_emmcdrv
(
const
io_dev_connector_t
**
connector
);
#endif
#endif
/* IO_EMMCDRV_H */
This diff is collapsed.
Click to expand it.
drivers/renesas/rcar/io/io_memdrv.h
View file @
9d068f66
...
...
@@ -4,10 +4,10 @@
* SPDX-License-Identifier: BSD-3-Clause
*/
#ifndef IO_MEMDRV_H
__
#define IO_MEMDRV_H
__
#ifndef IO_MEMDRV_H
#define IO_MEMDRV_H
struct
io_dev_connector
;
int32_t
rcar_register_io_dev_memdrv
(
const
io_dev_connector_t
**
connector
);
#endif
#endif
/* IO_MEMDRV_H */
This diff is collapsed.
Click to expand it.
drivers/renesas/rcar/io/io_private.h
View file @
9d068f66
...
...
@@ -4,8 +4,8 @@
* SPDX-License-Identifier: BSD-3-Clause
*/
#ifndef IO_PRIVATE_H
_
#define IO_PRIVATE_H
_
#ifndef IO_PRIVATE_H
#define IO_PRIVATE_H
/*
* Return codes reported by 'io_*' APIs
...
...
@@ -17,4 +17,4 @@
#define IO_NOT_SUPPORTED (-0x82)
#define IO_RESOURCES_EXHAUSTED (-0x83)
#endif
#endif
/* IO_PRIVATE_H */
This diff is collapsed.
Click to expand it.
drivers/renesas/rcar/io/io_rcar.h
View file @
9d068f66
...
...
@@ -4,11 +4,11 @@
* SPDX-License-Identifier: BSD-3-Clause
*/
#ifndef IO_RCAR_H
__
#define IO_RCAR_H
__
#ifndef IO_RCAR_H
#define IO_RCAR_H
int32_t
rcar_register_io_dev
(
const
io_dev_connector_t
**
dev_con
);
int32_t
rcar_get_certificate
(
const
int32_t
name
,
uint32_t
*
cert
);
void
rcar_read_certificate
(
uint64_t
cert
,
uint32_t
*
size
,
uintptr_t
*
dest
);
#endif
#endif
/* IO_RCAR_H */
This diff is collapsed.
Click to expand it.
drivers/renesas/rcar/pwrc/pwrc.h
View file @
9d068f66
...
...
@@ -4,8 +4,8 @@
* SPDX-License-Identifier: BSD-3-Clause
*/
#ifndef
RCAR_
PWRC_H
__
#define
RCAR_
PWRC_H
__
#ifndef PWRC_H
#define PWRC_H
#define PPOFFR_OFF 0x0
#define PPONR_OFF 0x4
...
...
@@ -74,4 +74,4 @@ extern uint64_t rcar_stack_generic_timer[5];
#endif
#endif
#endif
/* PWRC_H */
This diff is collapsed.
Click to expand it.
drivers/renesas/rcar/rom/rom_api.h
View file @
9d068f66
...
...
@@ -4,8 +4,8 @@
* SPDX-License-Identifier: BSD-3-Clause
*/
#ifndef ROM_API_H
__
#define ROM_API_H
__
#ifndef ROM_API_H
#define ROM_API_H
#include <stdint.h>
...
...
@@ -28,4 +28,4 @@ uint32_t rcar_rom_secure_boot_api(uint32_t *key, uint32_t *cert,
rom_read_flash_f
f
);
uint32_t
rcar_rom_get_lcs
(
uint32_t
*
lcs
);
#endif
#endif
/* ROM_API_H */
This diff is collapsed.
Click to expand it.
drivers/renesas/rcar/rpc/rpc_registers.h
View file @
9d068f66
...
...
@@ -4,8 +4,8 @@
* SPDX-License-Identifier: BSD-3-Clause
*/
#ifndef RPC_REGISTER_H
__
#define RPC_REGISTER_H
__
#ifndef RPC_REGISTER
S
_H
#define RPC_REGISTER
S
_H
#define RPC_BASE (0xEE200000U)
#define RPC_CMNCR (RPC_BASE + 0x0000U)
...
...
@@ -22,4 +22,4 @@
#define RPC_PHYCNT (RPC_BASE + 0x007CU)
#define RPC_PHYINT (RPC_BASE + 0x0088U)
#endif
#endif
/* RPC_REGISTERS_H */
This diff is collapsed.
Click to expand it.
drivers/staging/renesas/rcar/ddr/boot_init_dram.h
View file @
9d068f66
...
...
@@ -4,8 +4,8 @@
* SPDX-License-Identifier: BSD-3-Clause
*/
#ifndef
__
BOOT_INIT_DRAM_
#define
__
BOOT_INIT_DRAM_
#ifndef
BOOT_INIT_DRAM_
H
#define
BOOT_INIT_DRAM_
H
extern
int32_t
rcar_dram_init
(
void
);
...
...
@@ -15,4 +15,4 @@ extern int32_t rcar_dram_init(void);
#define INITDRAM_ERR_O (0xfffffffe)
#define INITDRAM_ERR_T (0xfffffff0)
#endif
#endif
/* BOOT_INIT_DRAM_H */
This diff is collapsed.
Click to expand it.
drivers/staging/renesas/rcar/ddr/ddr_a/boot_init_dram_regdef_e3.h
View file @
9d068f66
...
...
@@ -4,13 +4,12 @@
* SPDX-License-Identifier: BSD-3-Clause
*/
#ifndef BOOT_INIT_DRAM_REGDEF_E3_H_
#define BOOT_INIT_DRAM_REGDEF_E3_H_
#ifndef BOOT_INIT_DRAM_REGDEF_E3_H
#define BOOT_INIT_DRAM_REGDEF_E3_H
#ifdef __cplusplus
extern
"C"
{
#endif
/* __cplusplus */
#endif
/* __cplusplus */
#define BIT0 0x00000001U
#define BIT11 0x00000800U
...
...
@@ -111,5 +110,6 @@ extern "C" {
#ifdef __cplusplus
}
#endif
/* __cplusplus */
#endif
/* BOOT_INIT_DRAM_REGDEF_E3_H_ */
#endif
/* __cplusplus */
#endif
/* BOOT_INIT_DRAM_REGDEF_E3_H */
This diff is collapsed.
Click to expand it.
drivers/staging/renesas/rcar/ddr/ddr_a/ddr_init_e3.h
View file @
9d068f66
...
...
@@ -4,11 +4,10 @@
* SPDX-License-Identifier: BSD-3-Clause
*/
#
pragma once
#
include <stdint.h>
#
ifndef DDR_INIT_E3_H
#
define DDR_INIT_E3_H
#ifndef __DDR_INIT_E3_
#define __DDR_INIT_E3_
#include <stdint.h>
#define RCAR_E3_DDR_VERSION "rev.0.09"
...
...
@@ -31,4 +30,4 @@ extern int32_t rcar_dram_init(void);
#define INITDRAM_ERR_O (0xfffffffe)
#define INITDRAM_ERR_T (0xfffffff0)
#endif
/*
__
DDR_INIT_E3_ */
#endif
/* DDR_INIT_E3_
H
*/
This diff is collapsed.
Click to expand it.
drivers/staging/renesas/rcar/ddr/dram_sub_func.h
View file @
9d068f66
...
...
@@ -4,8 +4,8 @@
* SPDX-License-Identifier: BSD-3-Clause
*/
#ifndef DRAM_SUB_FUNC_H
_
#define DRAM_SUB_FUNC_H
_
#ifndef DRAM_SUB_FUNC_H
#define DRAM_SUB_FUNC_H
#define DRAM_UPDATE_STATUS_ERR (-1)
#define DRAM_BOOT_STATUS_COLD (0)
...
...
@@ -14,4 +14,4 @@
int32_t
rcar_dram_update_boot_status
(
uint32_t
status
);
void
rcar_dram_get_boot_status
(
uint32_t
*
status
);
#endif
#endif
/* DRAM_SUB_FUNC_H */
This diff is collapsed.
Click to expand it.
Prev
1
2
3
4
5
6
…
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
Menu
Projects
Groups
Snippets
Help