AMD Stoney Ridge: Add agesa_headers.h
- Create header files for the stoneyridge PI that pulls in AGESA pi headers and encloses them in #pragma pack push/pop to keep the '#pragma pack(1)' in Porting.h from leaking. - Add that header to agesawrapper.h, replacing AGESA.h and Porting.h Following patches will update the coreboot code to use only agesawrapper.h to pull in the AGESA headers. BUG=b:66818758 TEST=Build tested Change-Id: Ib7d76811c1270ec7ef71266d84f3960919b792d4 Signed-off-by: Martin Roth <martinroth@google.com> Reviewed-on: https://review.coreboot.org/21713 Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: Aaron Durbin <adurbin@chromium.org>
This commit is contained in:
parent
112ae4860f
commit
d6ccf4eaa9
|
@ -17,8 +17,7 @@
|
|||
#define __AGESAWRAPPER_H__
|
||||
|
||||
#include <stdint.h>
|
||||
#include <Porting.h>
|
||||
#include <AGESA.h>
|
||||
#include <agesa_headers.h>
|
||||
|
||||
enum {
|
||||
PICK_DMI, /* DMI Interface */
|
||||
|
|
|
@ -0,0 +1,33 @@
|
|||
/*
|
||||
* This file is part of the coreboot project.
|
||||
*
|
||||
* Copyright (C) 2017 Google, Inc.
|
||||
*
|
||||
* This program is free software; you can redistribute it and/or modify
|
||||
* it under the terms of the GNU General Public License as published by
|
||||
* the Free Software Foundation; version 2 of the License.
|
||||
*
|
||||
* This program is distributed in the hope that it will be useful,
|
||||
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||
* GNU General Public License for more details.
|
||||
*/
|
||||
|
||||
#ifndef __AGESA_HEADERS_H__
|
||||
#define __AGESA_HEADERS_H__
|
||||
|
||||
#pragma pack(push)
|
||||
#include <Porting.h>
|
||||
#include "AGESA.h"
|
||||
#include "AMD.h"
|
||||
|
||||
#include "Proc/Fch/Common/FchCommonCfg.h"
|
||||
#include "Proc/Fch/Fch.h"
|
||||
#include "Include/Ids.h"
|
||||
#include "Include/PlatformMemoryConfiguration.h"
|
||||
#include "Proc/Fch/FchPlatform.h"
|
||||
#include "Proc/CPU/heapManager.h"
|
||||
#include "Proc/Psp/PspBaseLib/PspBaseLib.h"
|
||||
#pragma pack(pop)
|
||||
|
||||
#endif
|
Loading…
Reference in New Issue