summaryrefslogtreecommitdiff
path: root/src/northbridge
diff options
context:
space:
mode:
authorElyes HAOUAS <ehaouas@noos.fr>2018-10-14 14:52:06 +0200
committerPatrick Georgi <pgeorgi@google.com>2018-11-05 09:00:26 +0000
commit19f5ba81be265da3d1a2a15c106486677479dfd5 (patch)
treeef03b65c6223c85d81934953cf6780876f663123 /src/northbridge
parent54f942499b72efe301e7bee7b7d9daf6a1d8c8ea (diff)
amd: Fix non-local header treated as local
Change-Id: I0668b73cd3a5bf5220af55c29785220b77eb5259 Signed-off-by: Elyes HAOUAS <ehaouas@noos.fr> Reviewed-on: https://review.coreboot.org/29103 Reviewed-by: Patrick Georgi <pgeorgi@google.com> Reviewed-by: Paul Menzel <paulepanter@users.sourceforge.net> Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Diffstat (limited to 'src/northbridge')
-rw-r--r--src/northbridge/amd/agesa/BiosCallOuts.h4
-rw-r--r--src/northbridge/amd/agesa/family12/dimmSpd.c4
-rw-r--r--src/northbridge/amd/agesa/family12/state_machine.c4
-rw-r--r--src/northbridge/amd/agesa/family14/dimmSpd.c6
-rw-r--r--src/northbridge/amd/agesa/family14/state_machine.c4
-rw-r--r--src/northbridge/amd/agesa/family15tn/dimmSpd.c4
-rw-r--r--src/northbridge/amd/agesa/family15tn/state_machine.c4
-rw-r--r--src/northbridge/amd/agesa/family16kb/dimmSpd.c4
-rw-r--r--src/northbridge/amd/agesa/family16kb/state_machine.c4
-rw-r--r--src/northbridge/amd/lx/northbridge.c3
-rw-r--r--src/northbridge/amd/pi/00630F01/dimmSpd.c6
-rw-r--r--src/northbridge/amd/pi/00660F01/dimmSpd.c6
-rw-r--r--src/northbridge/amd/pi/00730F01/dimmSpd.c6
-rw-r--r--src/northbridge/amd/pi/agesawrapper.h4
-rw-r--r--src/northbridge/amd/pi/agesawrapper_call.h2
15 files changed, 32 insertions, 33 deletions
diff --git a/src/northbridge/amd/agesa/BiosCallOuts.h b/src/northbridge/amd/agesa/BiosCallOuts.h
index 238557823e..42e9440314 100644
--- a/src/northbridge/amd/agesa/BiosCallOuts.h
+++ b/src/northbridge/amd/agesa/BiosCallOuts.h
@@ -17,8 +17,8 @@
#ifndef CALLOUTS_AMD_AGESA_H
#define CALLOUTS_AMD_AGESA_H
-#include "Porting.h"
-#include "AGESA.h"
+#include <Porting.h>
+#include <AGESA.h>
AGESA_STATUS agesa_NoopUnsupported (UINT32 Func, UINTN Data, VOID *ConfigPtr);
AGESA_STATUS agesa_NoopSuccess (UINT32 Func, UINTN Data, VOID *ConfigPtr);
diff --git a/src/northbridge/amd/agesa/family12/dimmSpd.c b/src/northbridge/amd/agesa/family12/dimmSpd.c
index a0a1aea688..822c577a74 100644
--- a/src/northbridge/amd/agesa/family12/dimmSpd.c
+++ b/src/northbridge/amd/agesa/family12/dimmSpd.c
@@ -28,8 +28,8 @@
*/
#include <stdlib.h>
-#include "Porting.h"
-#include "AGESA.h"
+#include <Porting.h>
+#include <AGESA.h>
#include <northbridge/amd/agesa/dimmSpd.h>
diff --git a/src/northbridge/amd/agesa/family12/state_machine.c b/src/northbridge/amd/agesa/family12/state_machine.c
index 52b065e9e3..077bf6a293 100644
--- a/src/northbridge/amd/agesa/family12/state_machine.c
+++ b/src/northbridge/amd/agesa/family12/state_machine.c
@@ -13,8 +13,8 @@
* GNU General Public License for more details.
*/
-#include "Porting.h"
-#include "AGESA.h"
+#include <Porting.h>
+#include <AGESA.h>
#include <cbmem.h>
#include <northbridge/amd/agesa/state_machine.h>
diff --git a/src/northbridge/amd/agesa/family14/dimmSpd.c b/src/northbridge/amd/agesa/family14/dimmSpd.c
index 99f467df3a..25771d1d2d 100644
--- a/src/northbridge/amd/agesa/family14/dimmSpd.c
+++ b/src/northbridge/amd/agesa/family14/dimmSpd.c
@@ -16,11 +16,11 @@
#include <device/pci_def.h>
#include <device/device.h>
#include <stdlib.h>
-#include "OEM.h" /* SMBUS0_BASE_ADDRESS */
+#include <OEM.h> /* SMBUS0_BASE_ADDRESS */
/* warning: Porting.h includes an open #pragma pack(1) */
-#include "Porting.h"
-#include "AGESA.h"
+#include <Porting.h>
+#include <AGESA.h>
#include "chip.h"
#include <northbridge/amd/agesa/dimmSpd.h>
diff --git a/src/northbridge/amd/agesa/family14/state_machine.c b/src/northbridge/amd/agesa/family14/state_machine.c
index 81ce57f13b..89aca7d720 100644
--- a/src/northbridge/amd/agesa/family14/state_machine.c
+++ b/src/northbridge/amd/agesa/family14/state_machine.c
@@ -13,8 +13,8 @@
* GNU General Public License for more details.
*/
-#include "Porting.h"
-#include "AGESA.h"
+#include <Porting.h>
+#include <AGESA.h>
#include <arch/io.h>
#include <cbmem.h>
diff --git a/src/northbridge/amd/agesa/family15tn/dimmSpd.c b/src/northbridge/amd/agesa/family15tn/dimmSpd.c
index 1d77683e88..528bc4337c 100644
--- a/src/northbridge/amd/agesa/family15tn/dimmSpd.c
+++ b/src/northbridge/amd/agesa/family15tn/dimmSpd.c
@@ -18,8 +18,8 @@
#include <stdlib.h>
/* warning: Porting.h includes an open #pragma pack(1) */
-#include "Porting.h"
-#include "AGESA.h"
+#include <Porting.h>
+#include <AGESA.h>
#include "chip.h"
#include <northbridge/amd/agesa/dimmSpd.h>
diff --git a/src/northbridge/amd/agesa/family15tn/state_machine.c b/src/northbridge/amd/agesa/family15tn/state_machine.c
index 8457d832d7..473edfc255 100644
--- a/src/northbridge/amd/agesa/family15tn/state_machine.c
+++ b/src/northbridge/amd/agesa/family15tn/state_machine.c
@@ -13,8 +13,8 @@
* GNU General Public License for more details.
*/
-#include "Porting.h"
-#include "AGESA.h"
+#include <Porting.h>
+#include <AGESA.h>
#include <cbmem.h>
#include <northbridge/amd/agesa/state_machine.h>
diff --git a/src/northbridge/amd/agesa/family16kb/dimmSpd.c b/src/northbridge/amd/agesa/family16kb/dimmSpd.c
index 43cd6b0eb4..3720c55098 100644
--- a/src/northbridge/amd/agesa/family16kb/dimmSpd.c
+++ b/src/northbridge/amd/agesa/family16kb/dimmSpd.c
@@ -18,8 +18,8 @@
#include <stdlib.h>
/* warning: Porting.h includes an open #pragma pack(1) */
-#include "Porting.h"
-#include "AGESA.h"
+#include <Porting.h>
+#include <AGESA.h>
#include "chip.h"
#include <northbridge/amd/agesa/dimmSpd.h>
diff --git a/src/northbridge/amd/agesa/family16kb/state_machine.c b/src/northbridge/amd/agesa/family16kb/state_machine.c
index 00a7e85265..e6796390bb 100644
--- a/src/northbridge/amd/agesa/family16kb/state_machine.c
+++ b/src/northbridge/amd/agesa/family16kb/state_machine.c
@@ -13,8 +13,8 @@
* GNU General Public License for more details.
*/
-#include "Porting.h"
-#include "AGESA.h"
+#include <Porting.h>
+#include <AGESA.h>
#include <cbmem.h>
#include <northbridge/amd/agesa/state_machine.h>
diff --git a/src/northbridge/amd/lx/northbridge.c b/src/northbridge/amd/lx/northbridge.c
index b9ead3858a..ffaaa19ca3 100644
--- a/src/northbridge/amd/lx/northbridge.c
+++ b/src/northbridge/amd/lx/northbridge.c
@@ -27,9 +27,8 @@
#include <cpu/x86/msr.h>
#include <cpu/x86/cache.h>
#include <cpu/amd/vr.h>
-#include <cpu/cpu.h>
#include "northbridge.h"
-#include "../../../southbridge/amd/cs5536/cs5536.h"
+#include <southbridge/amd/cs5536/cs5536.h>
/* here is programming for the various MSRs.*/
diff --git a/src/northbridge/amd/pi/00630F01/dimmSpd.c b/src/northbridge/amd/pi/00630F01/dimmSpd.c
index 1789e7d46e..28e3fe4bde 100644
--- a/src/northbridge/amd/pi/00630F01/dimmSpd.c
+++ b/src/northbridge/amd/pi/00630F01/dimmSpd.c
@@ -17,11 +17,11 @@
#include <device/device.h>
/* warning: Porting.h includes an open #pragma pack(1) */
-#include "Porting.h"
-#include "AGESA.h"
+#include <Porting.h>
+#include <AGESA.h>
#include "chip.h"
-#include "northbridge/amd/pi/dimmSpd.h"
+#include <northbridge/amd/pi/dimmSpd.h>
#define DIMENSION(array)(sizeof(array)/ sizeof(array [0]))
diff --git a/src/northbridge/amd/pi/00660F01/dimmSpd.c b/src/northbridge/amd/pi/00660F01/dimmSpd.c
index 4869895b2a..38f088f477 100644
--- a/src/northbridge/amd/pi/00660F01/dimmSpd.c
+++ b/src/northbridge/amd/pi/00660F01/dimmSpd.c
@@ -18,10 +18,10 @@
#include <stdlib.h>
/* warning: Porting.h includes an open #pragma pack(1) */
-#include "Porting.h"
-#include "AGESA.h"
+#include <Porting.h>
+#include <AGESA.h>
#include "chip.h"
-#include "northbridge/amd/pi/dimmSpd.h"
+#include <northbridge/amd/pi/dimmSpd.h>
AGESA_STATUS AmdMemoryReadSPD (UINT32 unused1, UINTN unused2, AGESA_READ_SPD_PARAMS *info)
{
diff --git a/src/northbridge/amd/pi/00730F01/dimmSpd.c b/src/northbridge/amd/pi/00730F01/dimmSpd.c
index fdeefab568..bbcbfe9ab7 100644
--- a/src/northbridge/amd/pi/00730F01/dimmSpd.c
+++ b/src/northbridge/amd/pi/00730F01/dimmSpd.c
@@ -17,11 +17,11 @@
#include <device/device.h>
/* warning: Porting.h includes an open #pragma pack(1) */
-#include "Porting.h"
-#include "AGESA.h"
+#include <Porting.h>
+#include <AGESA.h>
#include "chip.h"
-#include "northbridge/amd/pi/dimmSpd.h"
+#include <northbridge/amd/pi/dimmSpd.h>
#define DIMENSION(array)(sizeof(array)/ sizeof(array [0]))
diff --git a/src/northbridge/amd/pi/agesawrapper.h b/src/northbridge/amd/pi/agesawrapper.h
index d7a137c679..e5971d845f 100644
--- a/src/northbridge/amd/pi/agesawrapper.h
+++ b/src/northbridge/amd/pi/agesawrapper.h
@@ -19,8 +19,8 @@
#if IS_ENABLED(CONFIG_BINARYPI_LEGACY_WRAPPER)
#include <stdint.h>
-#include "Porting.h"
-#include "AGESA.h"
+#include <Porting.h>
+#include <AGESA.h>
AGESA_STATUS agesawrapper_amdinitreset(void);
AGESA_STATUS agesawrapper_amdinitearly(void);
diff --git a/src/northbridge/amd/pi/agesawrapper_call.h b/src/northbridge/amd/pi/agesawrapper_call.h
index bfcd78d06d..b235b49939 100644
--- a/src/northbridge/amd/pi/agesawrapper_call.h
+++ b/src/northbridge/amd/pi/agesawrapper_call.h
@@ -16,7 +16,7 @@
#include <stdint.h>
#include <console/console.h>
-#include "AGESA.h"
+#include <AGESA.h>
/*
* Possible AGESA_STATUS values: