diff options
author | Kyösti Mälkki <kyosti.malkki@gmail.com> | 2017-09-10 06:30:54 +0300 |
---|---|---|
committer | Kyösti Mälkki <kyosti.malkki@gmail.com> | 2017-09-12 16:09:31 +0000 |
commit | f7ca672118b4d14c1e3686728c115df7adc2ec1d (patch) | |
tree | ae4290b8644a823e4e21109c7dcc38de830dab8e /src/mainboard/amd | |
parent | f3ec5ed5559c59a63419f20246751e6f39225ef7 (diff) | |
download | coreboot-f7ca672118b4d14c1e3686728c115df7adc2ec1d.tar.xz |
AGESA boards: Clean up some includes
Change-Id: I84c70aa04ab556a3898d3525f7b9aab85812f61d
Signed-off-by: Kyösti Mälkki <kyosti.malkki@gmail.com>
Reviewed-on: https://review.coreboot.org/21475
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Reviewed-by: Paul Menzel <paulepanter@users.sourceforge.net>
Reviewed-by: Aaron Durbin <adurbin@chromium.org>
Diffstat (limited to 'src/mainboard/amd')
-rw-r--r-- | src/mainboard/amd/dinar/mainboard.c | 6 | ||||
-rw-r--r-- | src/mainboard/amd/inagua/mainboard.c | 6 | ||||
-rw-r--r-- | src/mainboard/amd/olivehill/mainboard.c | 8 | ||||
-rw-r--r-- | src/mainboard/amd/parmer/mainboard.c | 9 | ||||
-rw-r--r-- | src/mainboard/amd/persimmon/mainboard.c | 7 | ||||
-rw-r--r-- | src/mainboard/amd/south_station/mainboard.c | 8 | ||||
-rw-r--r-- | src/mainboard/amd/thatcher/mainboard.c | 8 | ||||
-rw-r--r-- | src/mainboard/amd/torpedo/mainboard.c | 5 | ||||
-rw-r--r-- | src/mainboard/amd/union_station/mainboard.c | 6 |
9 files changed, 6 insertions, 57 deletions
diff --git a/src/mainboard/amd/dinar/mainboard.c b/src/mainboard/amd/dinar/mainboard.c index 947ec65e10..ecdb0db4b1 100644 --- a/src/mainboard/amd/dinar/mainboard.c +++ b/src/mainboard/amd/dinar/mainboard.c @@ -15,11 +15,7 @@ #include <console/console.h> #include <device/device.h> -#include <device/pci.h> -#include <arch/io.h> -#include <cpu/x86/msr.h> -#include <cpu/amd/mtrr.h> -#include <device/pci_def.h> + #include <NbPlatform.h> //#define SMBUS_IO_BASE 0x6000 diff --git a/src/mainboard/amd/inagua/mainboard.c b/src/mainboard/amd/inagua/mainboard.c index d8e4f05790..f58c7d176d 100644 --- a/src/mainboard/amd/inagua/mainboard.c +++ b/src/mainboard/amd/inagua/mainboard.c @@ -15,11 +15,7 @@ #include <console/console.h> #include <device/device.h> -#include <device/pci.h> -#include <arch/io.h> -#include <cpu/x86/msr.h> -#include <cpu/amd/mtrr.h> -#include <device/pci_def.h> + #include <southbridge/amd/sb800/sb800.h> #include "SBPLATFORM.h" /* Platfrom Specific Definitions */ diff --git a/src/mainboard/amd/olivehill/mainboard.c b/src/mainboard/amd/olivehill/mainboard.c index 3560c85543..a149ee598d 100644 --- a/src/mainboard/amd/olivehill/mainboard.c +++ b/src/mainboard/amd/olivehill/mainboard.c @@ -15,14 +15,6 @@ #include <console/console.h> #include <device/device.h> -#include <device/pci.h> -#include <arch/io.h> -#include <cpu/x86/msr.h> -#include <cpu/amd/mtrr.h> -#include <device/pci_def.h> -#include <arch/acpi.h> -#include <northbridge/amd/agesa/BiosCallOuts.h> -#include <northbridge/amd/agesa/state_machine.h> /********************************************** * enable the dedicated function in mainboard. diff --git a/src/mainboard/amd/parmer/mainboard.c b/src/mainboard/amd/parmer/mainboard.c index 1e471bc2c2..59f7a818e2 100644 --- a/src/mainboard/amd/parmer/mainboard.c +++ b/src/mainboard/amd/parmer/mainboard.c @@ -15,15 +15,6 @@ #include <console/console.h> #include <device/device.h> -#include <device/pci.h> -#include <arch/io.h> -#include <cpu/x86/msr.h> -#include <northbridge/amd/agesa/BiosCallOuts.h> -#include <cpu/amd/mtrr.h> -#include <device/pci_def.h> -#include <arch/acpi.h> -#include <cpu/amd/agesa/s3_resume.h> -#include <northbridge/amd/agesa/state_machine.h> /************************************************* * enable the dedicated function in parmer board. diff --git a/src/mainboard/amd/persimmon/mainboard.c b/src/mainboard/amd/persimmon/mainboard.c index c2fc613321..fc43f2eac9 100644 --- a/src/mainboard/amd/persimmon/mainboard.c +++ b/src/mainboard/amd/persimmon/mainboard.c @@ -16,15 +16,10 @@ #include <console/console.h> #include <device/device.h> -#include <device/pci.h> #include <arch/io.h> -#include <cpu/x86/msr.h> -#include <device/pci_def.h> + #include <southbridge/amd/common/amd_pci_util.h> #include <southbridge/amd/cimx/cimx_util.h> -#include <arch/acpi.h> -#include <northbridge/amd/agesa/BiosCallOuts.h> -#include <cpu/amd/mtrr.h> #include "SBPLATFORM.h" #include <southbridge/amd/cimx/sb800/pci_devs.h> #include <northbridge/amd/agesa/family14/pci_devs.h> diff --git a/src/mainboard/amd/south_station/mainboard.c b/src/mainboard/amd/south_station/mainboard.c index b546ed8333..9afe9b4220 100644 --- a/src/mainboard/amd/south_station/mainboard.c +++ b/src/mainboard/amd/south_station/mainboard.c @@ -14,14 +14,10 @@ */ #include <console/console.h> +#include <delay.h> #include <device/device.h> -#include <device/pci.h> -#include <arch/io.h> -#include <cpu/x86/msr.h> + #include <southbridge/amd/sb800/sb800.h> -#include <cpu/amd/mtrr.h> -#include <device/pci_def.h> -#include <delay.h> #include "SBPLATFORM.h" /* Platfrom Specific Definitions */ diff --git a/src/mainboard/amd/thatcher/mainboard.c b/src/mainboard/amd/thatcher/mainboard.c index 2ee8ba505a..27b9d99e6b 100644 --- a/src/mainboard/amd/thatcher/mainboard.c +++ b/src/mainboard/amd/thatcher/mainboard.c @@ -15,15 +15,7 @@ #include <console/console.h> #include <device/device.h> -#include <device/pci.h> -#include <arch/io.h> #include <cpu/x86/msr.h> -#include <northbridge/amd/agesa/BiosCallOuts.h> -#include <cpu/amd/mtrr.h> -#include <device/pci_def.h> -#include <arch/acpi.h> -#include <cpu/amd/agesa/s3_resume.h> -#include <northbridge/amd/agesa/state_machine.h> /************************************************* * enable the dedicated function in thatcher board. diff --git a/src/mainboard/amd/torpedo/mainboard.c b/src/mainboard/amd/torpedo/mainboard.c index 86339efca7..1bbfdcdf69 100644 --- a/src/mainboard/amd/torpedo/mainboard.c +++ b/src/mainboard/amd/torpedo/mainboard.c @@ -15,11 +15,6 @@ #include <console/console.h> #include <device/device.h> -#include <device/pci.h> -#include <arch/io.h> -#include <cpu/x86/msr.h> -#include <cpu/amd/mtrr.h> -#include <device/pci_def.h> #define ONE_MB 0x100000 //#define SMBUS_IO_BASE 0x6000 diff --git a/src/mainboard/amd/union_station/mainboard.c b/src/mainboard/amd/union_station/mainboard.c index 09aef03dff..ef52e03578 100644 --- a/src/mainboard/amd/union_station/mainboard.c +++ b/src/mainboard/amd/union_station/mainboard.c @@ -15,12 +15,8 @@ #include <console/console.h> #include <device/device.h> -#include <device/pci.h> -#include <arch/io.h> -#include <cpu/x86/msr.h> -#include <device/pci_def.h> + #include <southbridge/amd/sb800/sb800.h> -#include <cpu/amd/mtrr.h> #include "SBPLATFORM.h" /* Platfrom Specific Definitions */ void set_pcie_reset(void); |