From 6e756f6d6d6a71a6ec51d40bef00ec8be12b98b5 Mon Sep 17 00:00:00 2001 From: Ambroise Vincent Date: Thu, 28 Mar 2019 09:01:18 +0000 Subject: [PATCH] Makefile: remove extra include paths in INCLUDES Now it is needed to use the full path of the common header files. Commit 09d40e0e0828 ("Sanitise includes across codebase") provides more information. Change-Id: Ifedc79d9f664d208ba565f5736612a3edd94c647 Signed-off-by: Ambroise Vincent --- Makefile | 22 ------------------- .../renesas/rcar/ddr/ddr_a/ddr_init_d3.c | 6 ++--- .../staging/renesas/rcar/pfc/D3/pfc_init_d3.c | 6 ++--- .../renesas/rcar/pfc/V3M/pfc_init_v3m.c | 2 +- plat/imx/common/imx_sip_handler.c | 2 +- plat/nvidia/tegra/common/drivers/bpmp/bpmp.c | 6 ++--- .../tegra/common/drivers/bpmp_ipc/intf.c | 6 ++--- .../tegra/common/drivers/bpmp_ipc/ivc.h | 2 +- .../tegra/common/drivers/flowctrl/flowctrl.c | 2 +- .../tegra/common/drivers/gpcdma/gpcdma.c | 6 ++--- plat/nvidia/tegra/common/lib/debug/profiler.c | 6 ++--- plat/nvidia/tegra/common/tegra_topology.c | 2 +- plat/nvidia/tegra/include/drivers/bpmp_ipc.h | 2 +- .../nvidia/tegra/include/drivers/memctrl_v2.h | 2 +- plat/nvidia/tegra/include/plat_macros.S | 2 +- plat/nvidia/tegra/include/tegra_platform.h | 2 +- plat/nvidia/tegra/soc/t132/plat_setup.c | 2 +- .../soc/t210/drivers/se/security_engine.c | 6 ++--- .../tegra/soc/t210/plat_psci_handlers.c | 2 +- plat/nvidia/tegra/soc/t210/plat_setup.c | 2 +- plat/nvidia/tegra/soc/t210/plat_sip_calls.c | 4 ++-- services/spd/trusty/trusty.c | 2 +- 22 files changed, 36 insertions(+), 58 deletions(-) diff --git a/Makefile b/Makefile index f3312c65..41a64f93 100644 --- a/Makefile +++ b/Makefile @@ -285,28 +285,6 @@ INCLUDES += -Iinclude \ ${PLAT_INCLUDES} \ ${SPD_INCLUDES} -ifeq (${ERROR_DEPRECATED},0) -INCLUDES += -Iinclude/bl1 \ - -Iinclude/bl2 \ - -Iinclude/bl2u \ - -Iinclude/bl31 \ - -Iinclude/drivers \ - -Iinclude/drivers/arm \ - -Iinclude/drivers/auth \ - -Iinclude/drivers/io \ - -Iinclude/drivers/ti/uart \ - -Iinclude/lib \ - -Iinclude/lib/cpus \ - -Iinclude/lib/el3_runtime \ - -Iinclude/lib/extensions \ - -Iinclude/lib/pmf \ - -Iinclude/lib/psci \ - -Iinclude/lib/xlat_tables \ - -Iinclude/plat/common \ - -Iinclude/services \ - -Iinclude/tools_share -endif - include common/backtrace/backtrace.mk ################################################################################ diff --git a/drivers/staging/renesas/rcar/ddr/ddr_a/ddr_init_d3.c b/drivers/staging/renesas/rcar/ddr/ddr_a/ddr_init_d3.c index 588c57de..9a9d06ae 100644 --- a/drivers/staging/renesas/rcar/ddr/ddr_a/ddr_init_d3.c +++ b/drivers/staging/renesas/rcar/ddr/ddr_a/ddr_init_d3.c @@ -5,7 +5,7 @@ */ #include -#include +#include #include #include "boot_init_dram_regdef_d3.h" @@ -193,7 +193,7 @@ static void init_ddr_d3_1866(void) RegVal_R2 = (ReadReg_32(DBSC_D3_DBPDRGD0) & 0xFFFFFF00); WriteReg_32(DBSC_D3_DBPDRGA0,0x000000B0 + i*0x20); WriteReg_32(DBSC_D3_DBPDRGD0,RegVal_R2 | RegVal_R6); - } else + } else { WriteReg_32(DBSC_D3_DBPDRGA0,0x000000B2 + i*0x20); RegVal_R2 = (ReadReg_32(DBSC_D3_DBPDRGD0) & 0xFFFFFFF8); @@ -508,7 +508,7 @@ static void init_ddr_d3_1600(void) RegVal_R2 = (ReadReg_32(DBSC_D3_DBPDRGD0) & 0xFFFFFF00); WriteReg_32(DBSC_D3_DBPDRGA0,0x000000B0 + i*0x20); WriteReg_32(DBSC_D3_DBPDRGD0,RegVal_R2 | RegVal_R6); - } else + } else { WriteReg_32(DBSC_D3_DBPDRGA0,0x000000B2 + i*0x20); RegVal_R2 = (ReadReg_32(DBSC_D3_DBPDRGD0) & 0xFFFFFFF8); diff --git a/drivers/staging/renesas/rcar/pfc/D3/pfc_init_d3.c b/drivers/staging/renesas/rcar/pfc/D3/pfc_init_d3.c index 639f832b..1f20d19b 100644 --- a/drivers/staging/renesas/rcar/pfc/D3/pfc_init_d3.c +++ b/drivers/staging/renesas/rcar/pfc/D3/pfc_init_d3.c @@ -5,7 +5,7 @@ */ #include -#include +#include #include "pfc_init_d3.h" #include "rcar_def.h" @@ -896,7 +896,7 @@ void pfc_init_d3(void) pfc_reg_write(PFC_PUD3, 0xFF0FFFFFU); pfc_reg_write(PFC_PUD4, 0xE0000000U); pfc_reg_write(PFC_PUD5, 0x60000000U); - + /* initialize LSI pin pull-enable register */ pfc_reg_write(PFC_PUEN0, 0x00000000U); pfc_reg_write(PFC_PUEN1, 0x00000000U); @@ -904,7 +904,7 @@ void pfc_init_d3(void) pfc_reg_write(PFC_PUEN3, 0x000F008CU); pfc_reg_write(PFC_PUEN4, 0x00000000U); pfc_reg_write(PFC_PUEN5, 0x00000000U); - + /* initialize positive/negative logic select */ mmio_write_32(GPIO_POSNEG0, 0x00000000U); mmio_write_32(GPIO_POSNEG1, 0x00000000U); diff --git a/drivers/staging/renesas/rcar/pfc/V3M/pfc_init_v3m.c b/drivers/staging/renesas/rcar/pfc/V3M/pfc_init_v3m.c index 37def9e4..caa6048d 100644 --- a/drivers/staging/renesas/rcar/pfc/V3M/pfc_init_v3m.c +++ b/drivers/staging/renesas/rcar/pfc/V3M/pfc_init_v3m.c @@ -6,7 +6,7 @@ */ #include /* for uint32_t */ -#include +#include #include "pfc_init_v3m.h" #include "include/rcar_def.h" #include "rcar_private.h" diff --git a/plat/imx/common/imx_sip_handler.c b/plat/imx/common/imx_sip_handler.c index 55639cdf..4eabda79 100644 --- a/plat/imx/common/imx_sip_handler.c +++ b/plat/imx/common/imx_sip_handler.c @@ -6,7 +6,7 @@ #include #include -#include +#include #include #include #include diff --git a/plat/nvidia/tegra/common/drivers/bpmp/bpmp.c b/plat/nvidia/tegra/common/drivers/bpmp/bpmp.c index 29dc2674..d7db604c 100644 --- a/plat/nvidia/tegra/common/drivers/bpmp/bpmp.c +++ b/plat/nvidia/tegra/common/drivers/bpmp/bpmp.c @@ -8,10 +8,10 @@ #include #include #include -#include +#include #include -#include -#include +#include +#include #include #include #include diff --git a/plat/nvidia/tegra/common/drivers/bpmp_ipc/intf.c b/plat/nvidia/tegra/common/drivers/bpmp_ipc/intf.c index 2efa1bd9..68b450e5 100644 --- a/plat/nvidia/tegra/common/drivers/bpmp_ipc/intf.c +++ b/plat/nvidia/tegra/common/drivers/bpmp_ipc/intf.c @@ -7,13 +7,13 @@ #include #include #include -#include +#include #include -#include +#include +#include #include #include #include -#include #include "intf.h" #include "ivc.h" diff --git a/plat/nvidia/tegra/common/drivers/bpmp_ipc/ivc.h b/plat/nvidia/tegra/common/drivers/bpmp_ipc/ivc.h index f34d6cf0..42e6a1f7 100644 --- a/plat/nvidia/tegra/common/drivers/bpmp_ipc/ivc.h +++ b/plat/nvidia/tegra/common/drivers/bpmp_ipc/ivc.h @@ -7,9 +7,9 @@ #ifndef IVC_H #define IVC_H +#include #include #include -#include #define IVC_ALIGN U(64) #define IVC_CHHDR_TX_FIELDS U(16) diff --git a/plat/nvidia/tegra/common/drivers/flowctrl/flowctrl.c b/plat/nvidia/tegra/common/drivers/flowctrl/flowctrl.c index bdd3ee76..8f555545 100644 --- a/plat/nvidia/tegra/common/drivers/flowctrl/flowctrl.c +++ b/plat/nvidia/tegra/common/drivers/flowctrl/flowctrl.c @@ -13,9 +13,9 @@ #include #include +#include #include #include -#include #define CLK_RST_DEV_L_SET 0x300 #define CLK_RST_DEV_L_CLR 0x304 diff --git a/plat/nvidia/tegra/common/drivers/gpcdma/gpcdma.c b/plat/nvidia/tegra/common/drivers/gpcdma/gpcdma.c index 64e84acc..d68cdfd4 100644 --- a/plat/nvidia/tegra/common/drivers/gpcdma/gpcdma.c +++ b/plat/nvidia/tegra/common/drivers/gpcdma/gpcdma.c @@ -6,14 +6,14 @@ #include #include -#include +#include #include #include -#include +#include +#include #include #include #include -#include /* DMA channel registers */ #define DMA_CH_CSR U(0x0) diff --git a/plat/nvidia/tegra/common/lib/debug/profiler.c b/plat/nvidia/tegra/common/lib/debug/profiler.c index d4c3f959..dd76a4e9 100644 --- a/plat/nvidia/tegra/common/lib/debug/profiler.c +++ b/plat/nvidia/tegra/common/lib/debug/profiler.c @@ -23,12 +23,12 @@ #include #include #include -#include +#include +#include +#include #include #include #include -#include -#include static uint64_t shmem_base_addr; diff --git a/plat/nvidia/tegra/common/tegra_topology.c b/plat/nvidia/tegra/common/tegra_topology.c index 14631a77..205b0516 100644 --- a/plat/nvidia/tegra/common/tegra_topology.c +++ b/plat/nvidia/tegra/common/tegra_topology.c @@ -7,8 +7,8 @@ #include #include -#include #include +#include #pragma weak plat_core_pos_by_mpidr diff --git a/plat/nvidia/tegra/include/drivers/bpmp_ipc.h b/plat/nvidia/tegra/include/drivers/bpmp_ipc.h index d4879560..0d1e4059 100644 --- a/plat/nvidia/tegra/include/drivers/bpmp_ipc.h +++ b/plat/nvidia/tegra/include/drivers/bpmp_ipc.h @@ -7,9 +7,9 @@ #ifndef __BPMP_IPC_H__ #define __BPMP_IPC_H__ +#include #include #include -#include /** * Currently supported reset identifiers diff --git a/plat/nvidia/tegra/include/drivers/memctrl_v2.h b/plat/nvidia/tegra/include/drivers/memctrl_v2.h index f5b0ed4d..9cbadd3e 100644 --- a/plat/nvidia/tegra/include/drivers/memctrl_v2.h +++ b/plat/nvidia/tegra/include/drivers/memctrl_v2.h @@ -11,7 +11,7 @@ #ifndef __ASSEMBLY__ -#include +#include #include /******************************************************************************* diff --git a/plat/nvidia/tegra/include/plat_macros.S b/plat/nvidia/tegra/include/plat_macros.S index 2796c5d2..4f01e330 100644 --- a/plat/nvidia/tegra/include/plat_macros.S +++ b/plat/nvidia/tegra/include/plat_macros.S @@ -7,7 +7,7 @@ #ifndef PLAT_MACROS_S #define PLAT_MACROS_S -#include +#include #include .section .rodata.gic_reg_name, "aS" diff --git a/plat/nvidia/tegra/include/tegra_platform.h b/plat/nvidia/tegra/include/tegra_platform.h index 13c92e0e..b9c37824 100644 --- a/plat/nvidia/tegra/include/tegra_platform.h +++ b/plat/nvidia/tegra/include/tegra_platform.h @@ -8,8 +8,8 @@ #define TEGRA_PLATFORM_H #include +#include #include -#include /******************************************************************************* * Tegra major, minor version helper macros diff --git a/plat/nvidia/tegra/soc/t132/plat_setup.c b/plat/nvidia/tegra/soc/t132/plat_setup.c index fef5e0a1..570acd90 100644 --- a/plat/nvidia/tegra/soc/t132/plat_setup.c +++ b/plat/nvidia/tegra/soc/t132/plat_setup.c @@ -7,7 +7,7 @@ #include #include #include -#include +#include #include #include diff --git a/plat/nvidia/tegra/soc/t210/drivers/se/security_engine.c b/plat/nvidia/tegra/soc/t210/drivers/se/security_engine.c index e0a0d6c2..8d7dbf9e 100644 --- a/plat/nvidia/tegra/soc/t210/drivers/se/security_engine.c +++ b/plat/nvidia/tegra/soc/t210/drivers/se/security_engine.c @@ -8,10 +8,10 @@ #include #include #include -#include +#include #include -#include -#include +#include +#include #include #include #include diff --git a/plat/nvidia/tegra/soc/t210/plat_psci_handlers.c b/plat/nvidia/tegra/soc/t210/plat_psci_handlers.c index b7d10af0..12241c2f 100644 --- a/plat/nvidia/tegra/soc/t210/plat_psci_handlers.c +++ b/plat/nvidia/tegra/soc/t210/plat_psci_handlers.c @@ -15,6 +15,7 @@ #include #include +#include #include #include #include @@ -22,7 +23,6 @@ #include #include #include -#include /* * Register used to clear CPU reset signals. Each CPU has two reset diff --git a/plat/nvidia/tegra/soc/t210/plat_setup.c b/plat/nvidia/tegra/soc/t210/plat_setup.c index 4a42644d..2a2d102f 100644 --- a/plat/nvidia/tegra/soc/t210/plat_setup.c +++ b/plat/nvidia/tegra/soc/t210/plat_setup.c @@ -19,7 +19,7 @@ #include #include #include -#include +#include #include #include #include diff --git a/plat/nvidia/tegra/soc/t210/plat_sip_calls.c b/plat/nvidia/tegra/soc/t210/plat_sip_calls.c index 0e8900ef..7e0f5c1d 100644 --- a/plat/nvidia/tegra/soc/t210/plat_sip_calls.c +++ b/plat/nvidia/tegra/soc/t210/plat_sip_calls.c @@ -11,8 +11,8 @@ #include #include #include -#include -#include +#include +#include #include #include diff --git a/services/spd/trusty/trusty.c b/services/spd/trusty/trusty.c index b059a435..d6c092cb 100644 --- a/services/spd/trusty/trusty.c +++ b/services/spd/trusty/trusty.c @@ -5,9 +5,9 @@ */ #include +#include #include #include -#include #include #include -- 2.30.2