soc/amd/stoneyridge: Remove direct AGESA header includes
All AGESA headers should be included only through agesawrapper.h BUG=b:66818758 TEST=Build gardenia; Build & boot kahlee Change-Id: Iadc516e11148048ed9bf43c7a46827793245027a Signed-off-by: Martin Roth <martinroth@google.com> Reviewed-on: https://review.coreboot.org/21716 Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: Aaron Durbin <adurbin@chromium.org>
This commit is contained in:
parent
b2c0d08a4e
commit
78b05dfbb2
|
@ -20,7 +20,6 @@
|
|||
#include <soc/southbridge.h>
|
||||
|
||||
#include <agesawrapper.h>
|
||||
#include <AGESA.h>
|
||||
#include <amdlib.h>
|
||||
#include <dimmSpd.h>
|
||||
|
||||
|
|
|
@ -13,14 +13,11 @@
|
|||
* GNU General Public License for more details.
|
||||
*/
|
||||
|
||||
#include <agesawrapper.h>
|
||||
#include <device/pci_def.h>
|
||||
#include <device/device.h>
|
||||
#include <soc/pci_devs.h>
|
||||
#include <stdlib.h>
|
||||
|
||||
/* warning: Porting.h includes an open #pragma pack(1) */
|
||||
#include <Porting.h>
|
||||
#include <AGESA.h>
|
||||
#include "chip.h"
|
||||
#include <dimmSpd.h>
|
||||
|
||||
|
|
|
@ -13,6 +13,7 @@
|
|||
* GNU General Public License for more details.
|
||||
*/
|
||||
|
||||
#include <agesawrapper.h>
|
||||
#include <assert.h>
|
||||
#include <stdint.h>
|
||||
#include <arch/io.h>
|
||||
|
@ -26,11 +27,6 @@
|
|||
#include <cpu/x86/msr.h>
|
||||
#include <delay.h>
|
||||
|
||||
/* vendor includes */
|
||||
#include <Porting.h>
|
||||
#include <AGESA.h>
|
||||
#include <Fch/Fch.h>
|
||||
|
||||
void configure_stoneyridge_uart(void)
|
||||
{
|
||||
u8 byte, byte2;
|
||||
|
|
|
@ -15,15 +15,11 @@
|
|||
|
||||
#define __SIMPLE_DEVICE__
|
||||
|
||||
#include <agesawrapper.h>
|
||||
#include <soc/imc.h>
|
||||
#include <arch/io.h>
|
||||
#include <device/device.h>
|
||||
#include <delay.h>
|
||||
#include <Porting.h>
|
||||
#include <AGESA.h>
|
||||
#include <Proc/Fch/Common/FchCommonCfg.h>
|
||||
#include <Proc/Fch/Fch.h>
|
||||
#include <Proc/Fch/FchPlatform.h>
|
||||
|
||||
#define VACPI_MMIO_VBASE ((u8 *)ACPI_MMIO_BASE)
|
||||
|
||||
|
|
|
@ -16,12 +16,9 @@
|
|||
#ifndef __AMD_STONEY_FCHEC__
|
||||
#define __AMD_STONEY_FCHEC__
|
||||
|
||||
#include <agesawrapper.h>
|
||||
#include <soc/imc.h>
|
||||
#include "Porting.h"
|
||||
#include "AGESA.h"
|
||||
#include "FchCommonCfg.h"
|
||||
|
||||
extern VOID FchECfancontrolservice (IN VOID *FchDataPtr);
|
||||
void agesawrapper_fchecfancontrolservice(void);
|
||||
|
||||
#endif
|
||||
|
|
|
@ -13,12 +13,9 @@
|
|||
* GNU General Public License for more details.
|
||||
*/
|
||||
|
||||
#include <agesawrapper.h>
|
||||
#include <device/pci_def.h>
|
||||
#include <device/device.h>
|
||||
|
||||
/* warning: Porting.h includes an open #pragma pack(1) */
|
||||
#include <Porting.h>
|
||||
#include <AGESA.h>
|
||||
#include <soc/southbridge.h>
|
||||
#include <soc/smbus.h>
|
||||
#include <dimmSpd.h>
|
||||
|
|
Loading…
Reference in New Issue