summaryrefslogtreecommitdiff
path: root/src/mainboard/amd
diff options
context:
space:
mode:
authorElyes HAOUAS <ehaouas@noos.fr>2018-10-14 10:51:13 +0200
committerPatrick Georgi <pgeorgi@google.com>2018-10-18 12:51:50 +0000
commit2c5652d72b82dcad7b8dda872391ebdb3664a567 (patch)
treef3d346672940466aa2e3a005c8f69493ee546757 /src/mainboard/amd
parent39db1447431bdd651ff17a1c36dee08d7d0b3710 (diff)
mb: Fix non-local header treated as local
Change-Id: Ib39305effdb00e032ca07e6d0e0d84cdf3dcf916 Signed-off-by: Elyes HAOUAS <ehaouas@noos.fr> Reviewed-on: https://review.coreboot.org/29098 Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: Martin Roth <martinroth@google.com>
Diffstat (limited to 'src/mainboard/amd')
-rw-r--r--src/mainboard/amd/inagua/mainboard.c3
-rw-r--r--src/mainboard/amd/inagua/mptable.c3
-rw-r--r--src/mainboard/amd/lamar/romstage.c2
-rw-r--r--src/mainboard/amd/persimmon/mainboard.c3
-rw-r--r--src/mainboard/amd/persimmon/mptable.c3
-rw-r--r--src/mainboard/amd/south_station/mainboard.c3
-rw-r--r--src/mainboard/amd/south_station/mptable.c4
-rw-r--r--src/mainboard/amd/torpedo/fadt.c3
-rw-r--r--src/mainboard/amd/torpedo/gpio.c4
-rw-r--r--src/mainboard/amd/torpedo/mptable.c3
-rw-r--r--src/mainboard/amd/union_station/mainboard.c3
-rw-r--r--src/mainboard/amd/union_station/mptable.c4
12 files changed, 13 insertions, 25 deletions
diff --git a/src/mainboard/amd/inagua/mainboard.c b/src/mainboard/amd/inagua/mainboard.c
index 4be64f5cca..c4fc3b8dd9 100644
--- a/src/mainboard/amd/inagua/mainboard.c
+++ b/src/mainboard/amd/inagua/mainboard.c
@@ -15,9 +15,8 @@
#include <console/console.h>
#include <device/device.h>
-
#include <southbridge/amd/sb800/sb800.h>
-#include "SBPLATFORM.h" /* Platform Specific Definitions */
+#include <southbridge/amd/cimx/sb800/SBPLATFORM.h> /* Platform Specific Definitions */
static void init_gpios(void)
{
diff --git a/src/mainboard/amd/inagua/mptable.c b/src/mainboard/amd/inagua/mptable.c
index a1285a204f..c02fb467d4 100644
--- a/src/mainboard/amd/inagua/mptable.c
+++ b/src/mainboard/amd/inagua/mptable.c
@@ -13,7 +13,6 @@
* GNU General Public License for more details.
*/
-
#include <console/console.h>
#include <arch/smp/mpspec.h>
#include <device/pci.h>
@@ -21,7 +20,7 @@
#include <arch/ioapic.h>
#include <string.h>
#include <stdint.h>
-#include <SBPLATFORM.h>
+#include <southbridge/amd/cimx/sb800/SBPLATFORM.h>
u8 intr_data[] = {
[0x00] = 0x10,0x11,0x12,0x13,0x14,0x15,0x16,0x17, /* INTA# - INTH# */
diff --git a/src/mainboard/amd/lamar/romstage.c b/src/mainboard/amd/lamar/romstage.c
index d8930c3ee6..136e392335 100644
--- a/src/mainboard/amd/lamar/romstage.c
+++ b/src/mainboard/amd/lamar/romstage.c
@@ -32,7 +32,7 @@
#include <cpu/x86/lapic.h>
#include <southbridge/amd/common/amd_defs.h>
#include <southbridge/amd/pi/hudson/hudson.h>
-#include "superio/fintek/f81216h/f81216h.h"
+#include <superio/fintek/f81216h/f81216h.h>
#define SERIAL_DEV PNP_DEV(0x4e, F81216H_SP1)
diff --git a/src/mainboard/amd/persimmon/mainboard.c b/src/mainboard/amd/persimmon/mainboard.c
index 95aec3deb9..3fe513feb1 100644
--- a/src/mainboard/amd/persimmon/mainboard.c
+++ b/src/mainboard/amd/persimmon/mainboard.c
@@ -17,10 +17,9 @@
#include <console/console.h>
#include <device/device.h>
#include <arch/io.h>
-
#include <southbridge/amd/common/amd_pci_util.h>
#include <southbridge/amd/cimx/cimx_util.h>
-#include "SBPLATFORM.h"
+#include <southbridge/amd/cimx/sb800/SBPLATFORM.h>
#include <southbridge/amd/cimx/sb800/pci_devs.h>
#include <northbridge/amd/agesa/family14/pci_devs.h>
diff --git a/src/mainboard/amd/persimmon/mptable.c b/src/mainboard/amd/persimmon/mptable.c
index 9e92ae8e55..d153c79bea 100644
--- a/src/mainboard/amd/persimmon/mptable.c
+++ b/src/mainboard/amd/persimmon/mptable.c
@@ -14,14 +14,13 @@
* GNU General Public License for more details.
*/
-
#include <console/console.h>
#include <arch/smp/mpspec.h>
#include <device/pci.h>
#include <arch/io.h>
#include <string.h>
#include <stdint.h>
-#include <SBPLATFORM.h>
+#include <southbridge/amd/cimx/sb800/SBPLATFORM.h>
#include <southbridge/amd/common/amd_pci_util.h>
#include <drivers/generic/ioapic/chip.h>
#include <arch/ioapic.h>
diff --git a/src/mainboard/amd/south_station/mainboard.c b/src/mainboard/amd/south_station/mainboard.c
index 1587d32faf..8932f7a7b7 100644
--- a/src/mainboard/amd/south_station/mainboard.c
+++ b/src/mainboard/amd/south_station/mainboard.c
@@ -16,9 +16,8 @@
#include <console/console.h>
#include <delay.h>
#include <device/device.h>
-
#include <southbridge/amd/sb800/sb800.h>
-#include "SBPLATFORM.h" /* Platform Specific Definitions */
+#include <southbridge/amd/cimx/sb800/SBPLATFORM.h> /* Platform Specific Definitions */
/**
* Southstation using SB GPIO 17/18 to control the Red/Green LED
diff --git a/src/mainboard/amd/south_station/mptable.c b/src/mainboard/amd/south_station/mptable.c
index 152b959eb2..93b68dd65a 100644
--- a/src/mainboard/amd/south_station/mptable.c
+++ b/src/mainboard/amd/south_station/mptable.c
@@ -13,7 +13,6 @@
* GNU General Public License for more details.
*/
-
#include <console/console.h>
#include <arch/smp/mpspec.h>
#include <device/pci.h>
@@ -21,8 +20,7 @@
#include <arch/ioapic.h>
#include <string.h>
#include <stdint.h>
-#include <SBPLATFORM.h>
-
+#include <southbridge/amd/cimx/sb800/SBPLATFORM.h>
u8 intr_data[] = {
[0x00] = 0x10,0x11,0x12,0x13,0x14,0x15,0x16,0x17, /* INTA# - INTH# */
diff --git a/src/mainboard/amd/torpedo/fadt.c b/src/mainboard/amd/torpedo/fadt.c
index 56a90a6ffb..4de149d82e 100644
--- a/src/mainboard/amd/torpedo/fadt.c
+++ b/src/mainboard/amd/torpedo/fadt.c
@@ -18,13 +18,12 @@
* ACPI - create the Fixed ACPI Description Tables (FADT)
*/
-
#include <string.h>
#include <console/console.h>
#include <arch/acpi.h>
#include <arch/io.h>
#include <device/device.h>
-#include "SbPlatform.h"
+#include <southbridge/amd/cimx/sb900/SbPlatform.h>
/*extern*/ u16 pm_base = 0x800;
/* pm_base should be set in sb ACPI */
diff --git a/src/mainboard/amd/torpedo/gpio.c b/src/mainboard/amd/torpedo/gpio.c
index e26052a734..7633cf36f3 100644
--- a/src/mainboard/amd/torpedo/gpio.c
+++ b/src/mainboard/amd/torpedo/gpio.c
@@ -13,9 +13,9 @@
* GNU General Public License for more details.
*/
-#include "SbPlatform.h"
+#include <southbridge/amd/cimx/sb900/SbPlatform.h>
#include "gpio.h"
-#include "vendorcode/amd/cimx/sb900/AmdSbLib.h"
+#include <vendorcode/amd/cimx/sb900/AmdSbLib.h>
#ifndef SB_GPIO_REG01
diff --git a/src/mainboard/amd/torpedo/mptable.c b/src/mainboard/amd/torpedo/mptable.c
index f06fb755e2..47ae625c30 100644
--- a/src/mainboard/amd/torpedo/mptable.c
+++ b/src/mainboard/amd/torpedo/mptable.c
@@ -13,7 +13,6 @@
* GNU General Public License for more details.
*/
-
#include <console/console.h>
#include <arch/smp/mpspec.h>
#include <device/pci.h>
@@ -22,7 +21,7 @@
#include <stdint.h>
#include <arch/cpu.h>
#include <cpu/x86/lapic.h>
-#include "SbPlatform.h"
+#include <southbridge/amd/cimx/sb900/SbPlatform.h>
#define IO_APIC_ID CONFIG_MAX_CPUS
u32 apicid_sb900;
diff --git a/src/mainboard/amd/union_station/mainboard.c b/src/mainboard/amd/union_station/mainboard.c
index 7ed27d8041..402bc3634a 100644
--- a/src/mainboard/amd/union_station/mainboard.c
+++ b/src/mainboard/amd/union_station/mainboard.c
@@ -15,9 +15,8 @@
#include <console/console.h>
#include <device/device.h>
-
#include <southbridge/amd/sb800/sb800.h>
-#include "SBPLATFORM.h" /* Platform Specific Definitions */
+#include <southbridge/amd/cimx/sb800/SBPLATFORM.h> /* Platform Specific Definitions */
/**********************************************
* Enable the dedicated functions of the board.
diff --git a/src/mainboard/amd/union_station/mptable.c b/src/mainboard/amd/union_station/mptable.c
index 152b959eb2..93b68dd65a 100644
--- a/src/mainboard/amd/union_station/mptable.c
+++ b/src/mainboard/amd/union_station/mptable.c
@@ -13,7 +13,6 @@
* GNU General Public License for more details.
*/
-
#include <console/console.h>
#include <arch/smp/mpspec.h>
#include <device/pci.h>
@@ -21,8 +20,7 @@
#include <arch/ioapic.h>
#include <string.h>
#include <stdint.h>
-#include <SBPLATFORM.h>
-
+#include <southbridge/amd/cimx/sb800/SBPLATFORM.h>
u8 intr_data[] = {
[0x00] = 0x10,0x11,0x12,0x13,0x14,0x15,0x16,0x17, /* INTA# - INTH# */