Patrick Georgi has submitted this change. ( https://review.coreboot.org/c/coreboot/+/37984 )
Change subject: src: Remove unneeded 'include <arch/cache.h>' ......................................................................
src: Remove unneeded 'include <arch/cache.h>'
Change-Id: I6374bc2d397800d574c7a0cc44079c09394a0673 Signed-off-by: Elyes HAOUAS ehaouas@noos.fr Reviewed-on: https://review.coreboot.org/c/coreboot/+/37984 Reviewed-by: Patrick Georgi pgeorgi@google.com Tested-by: build bot (Jenkins) no-reply@coreboot.org --- M src/arch/arm/stages.c M src/arch/arm64/armv8/exception.c M src/arch/arm64/bl31.c M src/arch/arm64/boot.c M src/mainboard/google/daisy/romstage.c M src/mainboard/google/oak/mainboard.c M src/mainboard/google/peach_pit/romstage.c M src/mainboard/google/veyron/mainboard.c M src/mainboard/google/veyron_mickey/mainboard.c M src/mainboard/google/veyron_rialto/mainboard.c M src/soc/nvidia/tegra124/chip.h M src/soc/nvidia/tegra210/sdram_lp0.c M src/soc/nvidia/tegra210/soc.c M src/soc/qualcomm/sc7180/aop_load_reset.c M src/soc/qualcomm/sdm845/aop_load_reset.c M src/soc/rockchip/rk3288/soc.c M src/soc/rockchip/rk3399/display.c 17 files changed, 1 insertion(+), 17 deletions(-)
Approvals: build bot (Jenkins): Verified Patrick Georgi: Looks good to me, approved
diff --git a/src/arch/arm/stages.c b/src/arch/arm/stages.c index c1ea3d2..128b48c 100644 --- a/src/arch/arm/stages.c +++ b/src/arch/arm/stages.c @@ -14,7 +14,6 @@
#include <cbmem.h> #include <arch/stages.h> -#include <arch/cache.h>
/** * generic stage entry point. override this if board specific code is needed. diff --git a/src/arch/arm64/armv8/exception.c b/src/arch/arm64/armv8/exception.c index 6becf83..e2dfea0 100644 --- a/src/arch/arm64/armv8/exception.c +++ b/src/arch/arm64/armv8/exception.c @@ -4,7 +4,6 @@ #include <stdint.h> #include <types.h> #include <arch/barrier.h> -#include <arch/cache.h> #include <arch/exception.h> #include <arch/transition.h> #include <console/console.h> diff --git a/src/arch/arm64/bl31.c b/src/arch/arm64/bl31.c index 3677b41..c06eee0 100644 --- a/src/arch/arm64/bl31.c +++ b/src/arch/arm64/bl31.c @@ -1,7 +1,6 @@ /* SPDX-License-Identifier: GPL-2.0-only */ /* This file is part of the coreboot project. */
-#include <arch/cache.h> #include <arch/lib_helpers.h> #include <arch/mmu.h> #include <arch/transition.h> diff --git a/src/arch/arm64/boot.c b/src/arch/arm64/boot.c index d2cef5b..58b33a0 100644 --- a/src/arch/arm64/boot.c +++ b/src/arch/arm64/boot.c @@ -2,7 +2,6 @@ /* This file is part of the coreboot project. */
#include <cbmem.h> -#include <arch/cache.h> #include <arch/lib_helpers.h> #include <arch/stages.h> #include <arch/transition.h> diff --git a/src/mainboard/google/daisy/romstage.c b/src/mainboard/google/daisy/romstage.c index 0857024..e200640 100644 --- a/src/mainboard/google/daisy/romstage.c +++ b/src/mainboard/google/daisy/romstage.c @@ -13,7 +13,6 @@ * GNU General Public License for more details. */
-#include <arch/cache.h> #include <arch/exception.h> #include <armv7.h> #include <cbmem.h> diff --git a/src/mainboard/google/oak/mainboard.c b/src/mainboard/google/oak/mainboard.c index 864837b..4b3cc01 100644 --- a/src/mainboard/google/oak/mainboard.c +++ b/src/mainboard/google/oak/mainboard.c @@ -13,7 +13,6 @@ * GNU General Public License for more details. */
-#include <arch/cache.h> #include <boardid.h> #include <bootmode.h> #include <console/console.h> diff --git a/src/mainboard/google/peach_pit/romstage.c b/src/mainboard/google/peach_pit/romstage.c index 0c2cb3e..c9c45d2 100644 --- a/src/mainboard/google/peach_pit/romstage.c +++ b/src/mainboard/google/peach_pit/romstage.c @@ -13,7 +13,6 @@ * GNU General Public License for more details. */
-#include <arch/cache.h> #include <arch/exception.h> #include <armv7.h> #include <boot_device.h> diff --git a/src/mainboard/google/veyron/mainboard.c b/src/mainboard/google/veyron/mainboard.c index 8aa20aa..6d6a271 100644 --- a/src/mainboard/google/veyron/mainboard.c +++ b/src/mainboard/google/veyron/mainboard.c @@ -13,7 +13,6 @@ * GNU General Public License for more details. */
-#include <arch/cache.h> #include <device/mmio.h> #include <boot/coreboot_tables.h> #include <delay.h> diff --git a/src/mainboard/google/veyron_mickey/mainboard.c b/src/mainboard/google/veyron_mickey/mainboard.c index 2de720c..f7af1cf 100644 --- a/src/mainboard/google/veyron_mickey/mainboard.c +++ b/src/mainboard/google/veyron_mickey/mainboard.c @@ -13,7 +13,6 @@ * GNU General Public License for more details. */
-#include <arch/cache.h> #include <device/mmio.h> #include <boot/coreboot_tables.h> #include <device/device.h> diff --git a/src/mainboard/google/veyron_rialto/mainboard.c b/src/mainboard/google/veyron_rialto/mainboard.c index 52ecbf6..8c775b6 100644 --- a/src/mainboard/google/veyron_rialto/mainboard.c +++ b/src/mainboard/google/veyron_rialto/mainboard.c @@ -13,7 +13,6 @@ * GNU General Public License for more details. */
-#include <arch/cache.h> #include <device/mmio.h> #include <boot/coreboot_tables.h> #include <console/console.h> diff --git a/src/soc/nvidia/tegra124/chip.h b/src/soc/nvidia/tegra124/chip.h index 7e930d1..b2b7490 100644 --- a/src/soc/nvidia/tegra124/chip.h +++ b/src/soc/nvidia/tegra124/chip.h @@ -15,7 +15,7 @@
#ifndef __SOC_NVIDIA_TEGRA124_CHIP_H__ #define __SOC_NVIDIA_TEGRA124_CHIP_H__ -#include <arch/cache.h> + #include <gpio.h> #include <soc/addressmap.h>
diff --git a/src/soc/nvidia/tegra210/sdram_lp0.c b/src/soc/nvidia/tegra210/sdram_lp0.c index 09747ea..8555051 100644 --- a/src/soc/nvidia/tegra210/sdram_lp0.c +++ b/src/soc/nvidia/tegra210/sdram_lp0.c @@ -14,7 +14,6 @@ * GNU General Public License for more details. */
-#include <arch/cache.h> #include <console/console.h> #include <soc/addressmap.h> #include <soc/pmc.h> diff --git a/src/soc/nvidia/tegra210/soc.c b/src/soc/nvidia/tegra210/soc.c index cedcc18..a4cea70 100644 --- a/src/soc/nvidia/tegra210/soc.c +++ b/src/soc/nvidia/tegra210/soc.c @@ -14,7 +14,6 @@ * GNU General Public License for more details. */
-#include <arch/cache.h> #include <bootmem.h> #include <bootmode.h> #include <bootstate.h> diff --git a/src/soc/qualcomm/sc7180/aop_load_reset.c b/src/soc/qualcomm/sc7180/aop_load_reset.c index 5cf2311..8b69918 100644 --- a/src/soc/qualcomm/sc7180/aop_load_reset.c +++ b/src/soc/qualcomm/sc7180/aop_load_reset.c @@ -13,7 +13,6 @@ * GNU General Public License for more details. */
-#include <arch/cache.h> #include <cbfs.h> #include <halt.h> #include <console/console.h> diff --git a/src/soc/qualcomm/sdm845/aop_load_reset.c b/src/soc/qualcomm/sdm845/aop_load_reset.c index 782c83a..3c73ee6 100644 --- a/src/soc/qualcomm/sdm845/aop_load_reset.c +++ b/src/soc/qualcomm/sdm845/aop_load_reset.c @@ -13,7 +13,6 @@ * GNU General Public License for more details. */
-#include <arch/cache.h> #include <cbfs.h> #include <console/console.h> #include <soc/mmu.h> diff --git a/src/soc/rockchip/rk3288/soc.c b/src/soc/rockchip/rk3288/soc.c index 31c9998..9fb27cd 100644 --- a/src/soc/rockchip/rk3288/soc.c +++ b/src/soc/rockchip/rk3288/soc.c @@ -13,7 +13,6 @@ * GNU General Public License for more details. */
-#include <arch/cache.h> #include <bootmode.h> #include <console/console.h> #include <device/device.h> diff --git a/src/soc/rockchip/rk3399/display.c b/src/soc/rockchip/rk3399/display.c index 9cd4053..1db7f99 100644 --- a/src/soc/rockchip/rk3399/display.c +++ b/src/soc/rockchip/rk3399/display.c @@ -13,7 +13,6 @@ * GNU General Public License for more details. */
-#include <arch/cache.h> #include <arch/mmu.h> #include <device/mmio.h> #include <console/console.h>