diff --git a/plat/nvidia/tegra/include/drivers/bpmp_ipc.h b/plat/nvidia/tegra/include/drivers/bpmp_ipc.h index 0d1e4059677f35db67f4d2345c796a5134a78ce0..a0d02c94905e705da596942b1e7c4615351456c6 100644 --- a/plat/nvidia/tegra/include/drivers/bpmp_ipc.h +++ b/plat/nvidia/tegra/include/drivers/bpmp_ipc.h @@ -1,11 +1,12 @@ /* * Copyright (c) 2017-2018, ARM Limited and Contributors. All rights reserved. + * Copyright (c) 2020, NVIDIA Corporation. All rights reserved. * * SPDX-License-Identifier: BSD-3-Clause */ -#ifndef __BPMP_IPC_H__ -#define __BPMP_IPC_H__ +#ifndef BPMP_IPC_H +#define BPMP_IPC_H #include #include @@ -44,4 +45,4 @@ int tegra_bpmp_ipc_enable_clock(uint32_t clk_id); */ int tegra_bpmp_ipc_disable_clock(uint32_t clk_id); -#endif /* __BPMP_IPC_H__ */ +#endif /* BPMP_IPC_H */ diff --git a/plat/nvidia/tegra/include/drivers/gpcdma.h b/plat/nvidia/tegra/include/drivers/gpcdma.h index fb5486a8e59dec660cb0e78a5259f60acdfbba4d..a59df37e3f5050387a556eb51a5d353417456987 100644 --- a/plat/nvidia/tegra/include/drivers/gpcdma.h +++ b/plat/nvidia/tegra/include/drivers/gpcdma.h @@ -1,11 +1,12 @@ /* * Copyright (c) 2017, ARM Limited and Contributors. All rights reserved. + * Copyright (c) 2020, NVIDIA Corporation. All rights reserved. * * SPDX-License-Identifier: BSD-3-Clause */ -#ifndef __GPCDMA_H__ -#define __GPCDMA_H__ +#ifndef GPCDMA_H +#define GPCDMA_H #include @@ -13,4 +14,4 @@ void tegra_gpcdma_memcpy(uint64_t dst_addr, uint64_t src_addr, uint32_t num_bytes); void tegra_gpcdma_zeromem(uint64_t dst_addr, uint32_t num_bytes); -#endif /* __GPCDMA_H__ */ +#endif /* GPCDMA_H */ diff --git a/plat/nvidia/tegra/include/drivers/tegra_gic.h b/plat/nvidia/tegra/include/drivers/tegra_gic.h index 6106b40a72e9f52117b5abfd41089359e4d55e97..6661dff762a64573a4450182f01d83f5abb9da41 100644 --- a/plat/nvidia/tegra/include/drivers/tegra_gic.h +++ b/plat/nvidia/tegra/include/drivers/tegra_gic.h @@ -1,11 +1,12 @@ /* * Copyright (c) 2018, ARM Limited and Contributors. All rights reserved. + * Copyright (c) 2020, NVIDIA Corporation. All rights reserved. * * SPDX-License-Identifier: BSD-3-Clause */ -#ifndef __TEGRA_GIC_H__ -#define __TEGRA_GIC_H__ +#ifndef TEGRA_GIC_H +#define TEGRA_GIC_H #include @@ -26,4 +27,4 @@ void tegra_gic_pcpu_init(void); void tegra_gic_setup(const interrupt_prop_t *interrupt_props, unsigned int interrupt_props_num); -#endif /* __TEGRA_GIC_H__ */ +#endif /* TEGRA_GIC_H */ diff --git a/plat/nvidia/tegra/include/lib/profiler.h b/plat/nvidia/tegra/include/lib/profiler.h index 60f8d804abce2f7b0ae72d7cd09def61e07387a9..684c872f0758e667100a3eb7a4852906de8ed911 100644 --- a/plat/nvidia/tegra/include/lib/profiler.h +++ b/plat/nvidia/tegra/include/lib/profiler.h @@ -1,11 +1,12 @@ /* * Copyright (c) 2017, ARM Limited and Contributors. All rights reserved. + * Copyright (c) 2020, NVIDIA Corporation. All rights reserved. * * SPDX-License-Identifier: BSD-3-Clause */ -#ifndef __PROFILER_H__ -#define __PROFILER_H__ +#ifndef PROFILER_H +#define PROFILER_H /******************************************************************************* * Number of bytes of memory used by the profiler on Tegra @@ -16,4 +17,4 @@ void boot_profiler_init(uint64_t shmem_base, uint32_t tmr_base); void boot_profiler_add_record(const char *str); void boot_profiler_deinit(void); -#endif /* __PROFILER_H__ */ +#endif /* PROFILER_H */ diff --git a/plat/nvidia/tegra/include/t194/tegra194_private.h b/plat/nvidia/tegra/include/t194/tegra194_private.h index e519cdccc658cc694eb5fa1c0574ee9daeea4eb8..8f1deb2a37f806178ae644358322a01ef17f2b91 100644 --- a/plat/nvidia/tegra/include/t194/tegra194_private.h +++ b/plat/nvidia/tegra/include/t194/tegra194_private.h @@ -1,11 +1,11 @@ /* - * Copyright (c) 2019, NVIDIA CORPORATION. All rights reserved. + * Copyright (c) 2019-2020, NVIDIA CORPORATION. All rights reserved. * * SPDX-License-Identifier: BSD-3-Clause */ -#ifndef __TEGRA194_PRIVATE_H__ -#define __TEGRA194_PRIVATE_H__ +#ifndef TEGRA194_PRIVATE_H +#define TEGRA194_PRIVATE_H void tegra194_cpu_reset_handler(void); uint64_t tegra194_get_cpu_reset_handler_base(void); @@ -13,4 +13,4 @@ uint64_t tegra194_get_cpu_reset_handler_size(void); uint64_t tegra194_get_smmu_ctx_offset(void); void tegra194_set_system_suspend_entry(void); -#endif /* __TEGRA194_PRIVATE_H__ */ +#endif /* TEGRA194_PRIVATE_H */ diff --git a/plat/nvidia/tegra/include/t194/tegra_def.h b/plat/nvidia/tegra/include/t194/tegra_def.h index 67f5abbd2a211f5896e3aeafc01bfea299337fd1..e20b2c6343058baa6dee4a2e847a7b25f6350f09 100644 --- a/plat/nvidia/tegra/include/t194/tegra_def.h +++ b/plat/nvidia/tegra/include/t194/tegra_def.h @@ -1,11 +1,11 @@ /* - * Copyright (c) 2019, NVIDIA CORPORATION. All rights reserved. + * Copyright (c) 2019-2020, NVIDIA CORPORATION. All rights reserved. * * SPDX-License-Identifier: BSD-3-Clause */ -#ifndef __TEGRA_DEF_H__ -#define __TEGRA_DEF_H__ +#ifndef TEGRA_DEF_H +#define TEGRA_DEF_H #include @@ -237,4 +237,4 @@ #define TEGRA_SID_XUSB_VF2 U(0x5f) #define TEGRA_SID_XUSB_VF3 U(0x60) -#endif /* __TEGRA_DEF_H__ */ +#endif /* TEGRA_DEF_H */ diff --git a/plat/nvidia/tegra/include/t194/tegra_mc_def.h b/plat/nvidia/tegra/include/t194/tegra_mc_def.h index e0444c1607c6a54d45c429c773439ac351209ac2..1433a2ea6ccd77fd53daad4f2695479a869afa4f 100644 --- a/plat/nvidia/tegra/include/t194/tegra_mc_def.h +++ b/plat/nvidia/tegra/include/t194/tegra_mc_def.h @@ -1,11 +1,11 @@ /* - * Copyright (c) 2019, NVIDIA Corporation. All rights reserved. + * Copyright (c) 2019-2020, NVIDIA Corporation. All rights reserved. * * SPDX-License-Identifier: BSD-3-Clause */ -#ifndef __TEGRA_MC_DEF_H__ -#define __TEGRA_MC_DEF_H__ +#ifndef TEGRA_MC_DEF_H +#define TEGRA_MC_DEF_H /******************************************************************************* * Memory Controller Order_id registers @@ -647,4 +647,4 @@ #define TSA_CONFIG_CSW_MEMTYPE_OVERRIDE_MASK (ULL(0x3) << 11) #define TSA_CONFIG_CSW_MEMTYPE_OVERRIDE_PASTHRU (ULL(0) << 11) -#endif /* __TEGRA_MC_DEF_H__ */ +#endif /* TEGRA_MC_DEF_H */