summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorElyes HAOUAS <ehaouas@noos.fr>2021-12-29 08:22:01 +0100
committerFelix Held <felix-coreboot@felixheld.de>2022-01-01 14:56:42 +0000
commit8292f4160a80a391892a42c7305e5992d278d254 (patch)
treebde46ab798b9a98aab42d5d116c17d9dde3f482d /src
parentb23571c18efde083dd702c22ccc03dd6a08626b1 (diff)
src: Remove duplicated includes
Change-Id: I50cdffca34a6150ac11c3e83e1a603b766d1b84e Signed-off-by: Elyes HAOUAS <ehaouas@noos.fr> Reviewed-on: https://review.coreboot.org/c/coreboot/+/60438 Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: Julius Werner <jwerner@chromium.org>
Diffstat (limited to 'src')
-rw-r--r--src/mainboard/google/brya/bootblock.c1
-rw-r--r--src/mainboard/google/guybrush/variants/guybrush/gpio.c1
-rw-r--r--src/mainboard/google/guybrush/variants/nipperkin/gpio.c1
-rw-r--r--src/mainboard/google/herobrine/mainboard.c2
-rw-r--r--src/soc/amd/picasso/fsp_s_params.c1
-rw-r--r--src/soc/intel/broadwell/pch/adsp.c1
6 files changed, 0 insertions, 7 deletions
diff --git a/src/mainboard/google/brya/bootblock.c b/src/mainboard/google/brya/bootblock.c
index ac0dc32da8..d391cd1de5 100644
--- a/src/mainboard/google/brya/bootblock.c
+++ b/src/mainboard/google/brya/bootblock.c
@@ -5,7 +5,6 @@
#include <console/console.h>
#include <fmap.h>
#include <commonlib/region.h>
-#include <console/console.h>
#include <cpu/intel/cpu_ids.h>
#include <intelblocks/pmclib.h>
#include <cf9_reset.h>
diff --git a/src/mainboard/google/guybrush/variants/guybrush/gpio.c b/src/mainboard/google/guybrush/variants/guybrush/gpio.c
index 0ebee22555..cea1f42cca 100644
--- a/src/mainboard/google/guybrush/variants/guybrush/gpio.c
+++ b/src/mainboard/google/guybrush/variants/guybrush/gpio.c
@@ -5,7 +5,6 @@
#include <boardid.h>
#include <gpio.h>
#include <soc/gpio.h>
-#include <baseboard/variants.h>
/* This table is used by guybrush variant with board version < 2. */
static const struct soc_amd_gpio bid1_ramstage_gpio_table[] = {
diff --git a/src/mainboard/google/guybrush/variants/nipperkin/gpio.c b/src/mainboard/google/guybrush/variants/nipperkin/gpio.c
index df55e5227e..0b3b9b265e 100644
--- a/src/mainboard/google/guybrush/variants/nipperkin/gpio.c
+++ b/src/mainboard/google/guybrush/variants/nipperkin/gpio.c
@@ -5,7 +5,6 @@
#include <boardid.h>
#include <gpio.h>
#include <soc/gpio.h>
-#include <baseboard/variants.h>
/* This table is used by nipperkin variant with board version < 2. */
static const struct soc_amd_gpio bid1_override_gpio_table[] = {
diff --git a/src/mainboard/google/herobrine/mainboard.c b/src/mainboard/google/herobrine/mainboard.c
index a2e0786866..fcc468ede3 100644
--- a/src/mainboard/google/herobrine/mainboard.c
+++ b/src/mainboard/google/herobrine/mainboard.c
@@ -3,11 +3,9 @@
#include "board.h"
#include <boardid.h>
#include <bootblock_common.h>
-#include <soc/clock.h>
#include <console/console.h>
#include <device/device.h>
#include <device/mmio.h>
-#include <bootblock_common.h>
#include <soc/clock.h>
#include <soc/qupv3_config_common.h>
#include <soc/qup_se_handlers_common.h>
diff --git a/src/soc/amd/picasso/fsp_s_params.c b/src/soc/amd/picasso/fsp_s_params.c
index 57e51d5c02..af7de37057 100644
--- a/src/soc/amd/picasso/fsp_s_params.c
+++ b/src/soc/amd/picasso/fsp_s_params.c
@@ -9,7 +9,6 @@
#include <soc/soc_util.h>
#include <fsp/api.h>
#include "chip.h"
-#include <device/pci.h>
static void fsps_update_emmc_config(FSP_S_CONFIG *scfg,
const struct soc_amd_picasso_config *cfg)
diff --git a/src/soc/intel/broadwell/pch/adsp.c b/src/soc/intel/broadwell/pch/adsp.c
index eaae08b881..e154446aaf 100644
--- a/src/soc/intel/broadwell/pch/adsp.c
+++ b/src/soc/intel/broadwell/pch/adsp.c
@@ -9,7 +9,6 @@
#include <device/mmio.h>
#include <soc/adsp.h>
#include <soc/device_nvs.h>
-#include <soc/device_nvs.h>
#include <soc/pch.h>
#include <soc/rcba.h>
#include <soc/intel/broadwell/pch/chip.h>