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>
This commit is contained in:
Elyes HAOUAS
2018-10-14 14:52:06 +02:00
committed by Patrick Georgi
parent 54f942499b
commit 19f5ba81be
109 changed files with 203 additions and 204 deletions

View File

@@ -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);

View File

@@ -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>

View File

@@ -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>

View File

@@ -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>

View File

@@ -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>

View File

@@ -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>

View File

@@ -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>

View File

@@ -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>

View File

@@ -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>

View File

@@ -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.*/

View File

@@ -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]))

View File

@@ -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)
{

View File

@@ -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]))

View File

@@ -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);

View File

@@ -16,7 +16,7 @@
#include <stdint.h>
#include <console/console.h>
#include "AGESA.h"
#include <AGESA.h>
/*
* Possible AGESA_STATUS values: