diff options
author | Kyösti Mälkki <kyosti.malkki@gmail.com> | 2020-12-21 15:17:01 +0200 |
---|---|---|
committer | Angel Pons <th3fanbus@gmail.com> | 2021-01-03 11:37:04 +0000 |
commit | d6c57141dd36a41694651ce29546ded4d46a3a2d (patch) | |
tree | 40346451e5dd47a7dadec64611432b5cfd7d4771 /src/soc | |
parent | f3f2aa8a50af36de42d2feda7c38fe12f7fb52b8 (diff) |
soc/intel: Drop indirect <soc/nvs.h> include
Change-Id: Ia19018685749efdd543cb09c06df117690ab9d66
Signed-off-by: Kyösti Mälkki <kyosti.malkki@gmail.com>
Reviewed-on: https://review.coreboot.org/c/coreboot/+/48803
Reviewed-by: Angel Pons <th3fanbus@gmail.com>
Reviewed-by: Arthur Heymans <arthur@aheymans.xyz>
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Diffstat (limited to 'src/soc')
-rw-r--r-- | src/soc/intel/baytrail/acpi.c | 1 | ||||
-rw-r--r-- | src/soc/intel/baytrail/include/soc/acpi.h | 1 | ||||
-rw-r--r-- | src/soc/intel/braswell/acpi.c | 1 | ||||
-rw-r--r-- | src/soc/intel/braswell/include/soc/acpi.h | 1 | ||||
-rw-r--r-- | src/soc/intel/broadwell/include/soc/acpi.h | 1 | ||||
-rw-r--r-- | src/soc/intel/common/block/sgx/sgx.c | 1 | ||||
-rw-r--r-- | src/soc/intel/common/block/systemagent/systemagent.c | 1 | ||||
-rw-r--r-- | src/soc/intel/denverton_ns/acpi.c | 1 | ||||
-rw-r--r-- | src/soc/intel/denverton_ns/include/soc/acpi.h | 1 | ||||
-rw-r--r-- | src/soc/intel/skylake/acpi.c | 1 | ||||
-rw-r--r-- | src/soc/intel/skylake/include/soc/acpi.h | 1 | ||||
-rw-r--r-- | src/soc/intel/xeon_sp/cpx/soc_acpi.c | 1 | ||||
-rw-r--r-- | src/soc/intel/xeon_sp/include/soc/acpi.h | 1 | ||||
-rw-r--r-- | src/soc/intel/xeon_sp/skx/soc_acpi.c | 1 |
14 files changed, 8 insertions, 6 deletions
diff --git a/src/soc/intel/baytrail/acpi.c b/src/soc/intel/baytrail/acpi.c index 1144749ab1..3aec20021b 100644 --- a/src/soc/intel/baytrail/acpi.c +++ b/src/soc/intel/baytrail/acpi.c @@ -17,6 +17,7 @@ #include <soc/iomap.h> #include <soc/irq.h> #include <soc/msr.h> +#include <soc/nvs.h> #include <soc/pattrs.h> #include <soc/pm.h> diff --git a/src/soc/intel/baytrail/include/soc/acpi.h b/src/soc/intel/baytrail/include/soc/acpi.h index 8d9e93ae13..d629b242eb 100644 --- a/src/soc/intel/baytrail/include/soc/acpi.h +++ b/src/soc/intel/baytrail/include/soc/acpi.h @@ -4,7 +4,6 @@ #define _BAYTRAIL_ACPI_H_ #include <acpi/acpi.h> -#include <soc/nvs.h> int acpi_sci_irq(void); unsigned long acpi_madt_irq_overrides(unsigned long current); diff --git a/src/soc/intel/braswell/acpi.c b/src/soc/intel/braswell/acpi.c index fd5ffceb98..aa805fbc10 100644 --- a/src/soc/intel/braswell/acpi.c +++ b/src/soc/intel/braswell/acpi.c @@ -18,6 +18,7 @@ #include <soc/iomap.h> #include <soc/irq.h> #include <soc/msr.h> +#include <soc/nvs.h> #include <soc/pattrs.h> #include <soc/pci_devs.h> #include <soc/pm.h> diff --git a/src/soc/intel/braswell/include/soc/acpi.h b/src/soc/intel/braswell/include/soc/acpi.h index 3662dd83e1..abc6646e9d 100644 --- a/src/soc/intel/braswell/include/soc/acpi.h +++ b/src/soc/intel/braswell/include/soc/acpi.h @@ -4,7 +4,6 @@ #define _SOC_ACPI_H_ #include <acpi/acpi.h> -#include <soc/nvs.h> int acpi_sci_irq(void); void acpi_create_serialio_ssdt(acpi_header_t *ssdt); diff --git a/src/soc/intel/broadwell/include/soc/acpi.h b/src/soc/intel/broadwell/include/soc/acpi.h index 39d6cb4692..4999f8f37f 100644 --- a/src/soc/intel/broadwell/include/soc/acpi.h +++ b/src/soc/intel/broadwell/include/soc/acpi.h @@ -4,7 +4,6 @@ #define _BROADWELL_ACPI_H_ #include <acpi/acpi.h> -#include <soc/nvs.h> /* P-state configuration */ #define PSS_MAX_ENTRIES 8 diff --git a/src/soc/intel/common/block/sgx/sgx.c b/src/soc/intel/common/block/sgx/sgx.c index 8679f1f011..336ed54f06 100644 --- a/src/soc/intel/common/block/sgx/sgx.c +++ b/src/soc/intel/common/block/sgx/sgx.c @@ -11,6 +11,7 @@ #include <intelblocks/sgx.h> #include <intelblocks/systemagent.h> #include <soc/cpu.h> +#include <soc/nvs.h> #include <soc/pci_devs.h> static inline uint64_t sgx_resource(uint32_t low, uint32_t high) diff --git a/src/soc/intel/common/block/systemagent/systemagent.c b/src/soc/intel/common/block/systemagent/systemagent.c index 6b039e1c01..ec26fce5ba 100644 --- a/src/soc/intel/common/block/systemagent/systemagent.c +++ b/src/soc/intel/common/block/systemagent/systemagent.c @@ -11,6 +11,7 @@ #include <intelblocks/systemagent.h> #include <smbios.h> #include <soc/iomap.h> +#include <soc/nvs.h> #include <soc/pci_devs.h> #include <soc/systemagent.h> #include <types.h> diff --git a/src/soc/intel/denverton_ns/acpi.c b/src/soc/intel/denverton_ns/acpi.c index e7d29ff799..994b8b1ea4 100644 --- a/src/soc/intel/denverton_ns/acpi.c +++ b/src/soc/intel/denverton_ns/acpi.c @@ -13,6 +13,7 @@ #include <intelblocks/acpi.h> #include <soc/acpi.h> #include <soc/cpu.h> +#include <soc/nvs.h> #include <soc/soc_util.h> #include <soc/pmc.h> #include <soc/systemagent.h> diff --git a/src/soc/intel/denverton_ns/include/soc/acpi.h b/src/soc/intel/denverton_ns/include/soc/acpi.h index 86bed0024d..f9b3a23c90 100644 --- a/src/soc/intel/denverton_ns/include/soc/acpi.h +++ b/src/soc/intel/denverton_ns/include/soc/acpi.h @@ -4,7 +4,6 @@ #define _DENVERTON_NS_ACPI_H_ #include <acpi/acpi.h> -#include <soc/nvs.h> void acpi_create_serialio_ssdt(acpi_header_t *ssdt); unsigned long acpi_madt_irq_overrides(unsigned long current); diff --git a/src/soc/intel/skylake/acpi.c b/src/soc/intel/skylake/acpi.c index 0083be596d..a7b538755c 100644 --- a/src/soc/intel/skylake/acpi.c +++ b/src/soc/intel/skylake/acpi.c @@ -23,6 +23,7 @@ #include <soc/cpu.h> #include <soc/iomap.h> #include <soc/msr.h> +#include <soc/nvs.h> #include <soc/pci_devs.h> #include <soc/pm.h> #include <soc/ramstage.h> diff --git a/src/soc/intel/skylake/include/soc/acpi.h b/src/soc/intel/skylake/include/soc/acpi.h index 5f209a704b..e12a748291 100644 --- a/src/soc/intel/skylake/include/soc/acpi.h +++ b/src/soc/intel/skylake/include/soc/acpi.h @@ -4,7 +4,6 @@ #define _SOC_ACPI_H_ #include <acpi/acpi.h> -#include <soc/nvs.h> /* P-state configuration */ #define PSS_MAX_ENTRIES 8 diff --git a/src/soc/intel/xeon_sp/cpx/soc_acpi.c b/src/soc/intel/xeon_sp/cpx/soc_acpi.c index d6eff5f4c4..59fbb31c32 100644 --- a/src/soc/intel/xeon_sp/cpx/soc_acpi.c +++ b/src/soc/intel/xeon_sp/cpx/soc_acpi.c @@ -14,6 +14,7 @@ #include <soc/cpu.h> #include <soc/iomap.h> #include <soc/msr.h> +#include <soc/nvs.h> #include <soc/pci_devs.h> #include <soc/pm.h> #include <soc/soc_util.h> diff --git a/src/soc/intel/xeon_sp/include/soc/acpi.h b/src/soc/intel/xeon_sp/include/soc/acpi.h index a236843920..dfa78b2abf 100644 --- a/src/soc/intel/xeon_sp/include/soc/acpi.h +++ b/src/soc/intel/xeon_sp/include/soc/acpi.h @@ -4,7 +4,6 @@ #define _SOC_ACPI_H_ #include <acpi/acpi.h> -#include <soc/nvs.h> #define MEM_BLK_COUNT 0x140 typedef struct { diff --git a/src/soc/intel/xeon_sp/skx/soc_acpi.c b/src/soc/intel/xeon_sp/skx/soc_acpi.c index 3ac46ffcfa..4109abc65f 100644 --- a/src/soc/intel/xeon_sp/skx/soc_acpi.c +++ b/src/soc/intel/xeon_sp/skx/soc_acpi.c @@ -14,6 +14,7 @@ #include <soc/iomap.h> #include <device/mmio.h> #include <soc/msr.h> +#include <soc/nvs.h> #include <soc/pci_devs.h> #include <soc/pm.h> #include <soc/soc_util.h> |