AGESA: Add agesa_helper.h header
These definitions do not require AGESA.h include, and we will eventually remove agesawrapper.h files. Change-Id: I1b5b78409828aaf2616e177bb54a054960c3869f Signed-off-by: Kyösti Mälkki <kyosti.malkki@gmail.com> Reviewed-on: https://review.coreboot.org/18588 Tested-by: build bot (Jenkins) Reviewed-by: Patrick Georgi <pgeorgi@google.com> Reviewed-by: Paul Menzel <paulepanter@users.sourceforge.net>
This commit is contained in:
parent
627d790651
commit
d610c5823c
|
@ -14,7 +14,8 @@
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#include <cpu/x86/mtrr.h>
|
#include <cpu/x86/mtrr.h>
|
||||||
#include <northbridge/amd/agesa/agesawrapper.h>
|
#include <northbridge/amd/agesa/agesa_helper.h>
|
||||||
|
#include <AGESA.h>
|
||||||
#include "amdlib.h"
|
#include "amdlib.h"
|
||||||
|
|
||||||
void amd_initcpuio(void)
|
void amd_initcpuio(void)
|
||||||
|
|
|
@ -14,7 +14,9 @@
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#include <cpu/x86/mtrr.h>
|
#include <cpu/x86/mtrr.h>
|
||||||
#include <northbridge/amd/agesa/agesawrapper.h>
|
|
||||||
|
#include <northbridge/amd/agesa/agesa_helper.h>
|
||||||
|
#include <AGESA.h>
|
||||||
#include "amdlib.h"
|
#include "amdlib.h"
|
||||||
|
|
||||||
/* Define AMD Ontario APPU SSID/SVID */
|
/* Define AMD Ontario APPU SSID/SVID */
|
||||||
|
|
|
@ -14,7 +14,8 @@
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#include <cpu/x86/mtrr.h>
|
#include <cpu/x86/mtrr.h>
|
||||||
#include <northbridge/amd/agesa/agesawrapper.h>
|
#include <northbridge/amd/agesa/agesa_helper.h>
|
||||||
|
#include <AGESA.h>
|
||||||
#include "amdlib.h"
|
#include "amdlib.h"
|
||||||
|
|
||||||
UINT64
|
UINT64
|
||||||
|
|
|
@ -14,7 +14,8 @@
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#include <cpu/x86/mtrr.h>
|
#include <cpu/x86/mtrr.h>
|
||||||
#include <northbridge/amd/agesa/agesawrapper.h>
|
#include <northbridge/amd/agesa/agesa_helper.h>
|
||||||
|
#include <AGESA.h>
|
||||||
#include "amdlib.h"
|
#include "amdlib.h"
|
||||||
|
|
||||||
void amd_initcpuio(void)
|
void amd_initcpuio(void)
|
||||||
|
|
|
@ -14,7 +14,8 @@
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#include <cpu/x86/mtrr.h>
|
#include <cpu/x86/mtrr.h>
|
||||||
#include <northbridge/amd/agesa/agesawrapper.h>
|
#include <northbridge/amd/agesa/agesa_helper.h>
|
||||||
|
#include <AGESA.h>
|
||||||
#include "amdlib.h"
|
#include "amdlib.h"
|
||||||
|
|
||||||
void amd_initcpuio(void)
|
void amd_initcpuio(void)
|
||||||
|
|
|
@ -14,7 +14,8 @@
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#include <cpu/x86/mtrr.h>
|
#include <cpu/x86/mtrr.h>
|
||||||
#include <northbridge/amd/agesa/agesawrapper.h>
|
#include <northbridge/amd/agesa/agesa_helper.h>
|
||||||
|
#include <AGESA.h>
|
||||||
#include "amdlib.h"
|
#include "amdlib.h"
|
||||||
|
|
||||||
void amd_initcpuio(void)
|
void amd_initcpuio(void)
|
||||||
|
|
|
@ -26,6 +26,7 @@
|
||||||
#include <commonlib/loglevel.h>
|
#include <commonlib/loglevel.h>
|
||||||
#include <cpu/amd/car.h>
|
#include <cpu/amd/car.h>
|
||||||
#include <northbridge/amd/agesa/agesawrapper.h>
|
#include <northbridge/amd/agesa/agesawrapper.h>
|
||||||
|
#include <northbridge/amd/agesa/agesa_helper.h>
|
||||||
#include <cpu/x86/bist.h>
|
#include <cpu/x86/bist.h>
|
||||||
#include <superio/smsc/sch4037/sch4037.h>
|
#include <superio/smsc/sch4037/sch4037.h>
|
||||||
#include <superio/smsc/sio1036/sio1036.h>
|
#include <superio/smsc/sio1036/sio1036.h>
|
||||||
|
|
|
@ -28,6 +28,7 @@
|
||||||
#include <cpu/x86/mtrr.h>
|
#include <cpu/x86/mtrr.h>
|
||||||
#include <cpu/amd/car.h>
|
#include <cpu/amd/car.h>
|
||||||
#include <northbridge/amd/agesa/agesawrapper.h>
|
#include <northbridge/amd/agesa/agesawrapper.h>
|
||||||
|
#include <northbridge/amd/agesa/agesa_helper.h>
|
||||||
#include <cpu/x86/bist.h>
|
#include <cpu/x86/bist.h>
|
||||||
#include <superio/smsc/kbc1100/kbc1100.h>
|
#include <superio/smsc/kbc1100/kbc1100.h>
|
||||||
#include <cpu/x86/lapic.h>
|
#include <cpu/x86/lapic.h>
|
||||||
|
|
|
@ -27,6 +27,7 @@
|
||||||
#include <commonlib/loglevel.h>
|
#include <commonlib/loglevel.h>
|
||||||
#include <cpu/amd/car.h>
|
#include <cpu/amd/car.h>
|
||||||
#include <northbridge/amd/agesa/agesawrapper.h>
|
#include <northbridge/amd/agesa/agesawrapper.h>
|
||||||
|
#include <northbridge/amd/agesa/agesa_helper.h>
|
||||||
#include <cpu/x86/bist.h>
|
#include <cpu/x86/bist.h>
|
||||||
#include <cpu/x86/lapic.h>
|
#include <cpu/x86/lapic.h>
|
||||||
#include <southbridge/amd/agesa/hudson/hudson.h>
|
#include <southbridge/amd/agesa/hudson/hudson.h>
|
||||||
|
|
|
@ -27,6 +27,7 @@
|
||||||
#include <commonlib/loglevel.h>
|
#include <commonlib/loglevel.h>
|
||||||
#include <cpu/amd/car.h>
|
#include <cpu/amd/car.h>
|
||||||
#include <northbridge/amd/agesa/agesawrapper.h>
|
#include <northbridge/amd/agesa/agesawrapper.h>
|
||||||
|
#include <northbridge/amd/agesa/agesa_helper.h>
|
||||||
#include <cpu/x86/bist.h>
|
#include <cpu/x86/bist.h>
|
||||||
#include <cpu/x86/lapic.h>
|
#include <cpu/x86/lapic.h>
|
||||||
#include <southbridge/amd/agesa/hudson/hudson.h>
|
#include <southbridge/amd/agesa/hudson/hudson.h>
|
||||||
|
|
|
@ -28,6 +28,7 @@
|
||||||
#include <cpu/x86/mtrr.h>
|
#include <cpu/x86/mtrr.h>
|
||||||
#include <cpu/amd/car.h>
|
#include <cpu/amd/car.h>
|
||||||
#include <northbridge/amd/agesa/agesawrapper.h>
|
#include <northbridge/amd/agesa/agesawrapper.h>
|
||||||
|
#include <northbridge/amd/agesa/agesa_helper.h>
|
||||||
#include <cpu/x86/bist.h>
|
#include <cpu/x86/bist.h>
|
||||||
#include <superio/fintek/common/fintek.h>
|
#include <superio/fintek/common/fintek.h>
|
||||||
#include <superio/fintek/f81865f/f81865f.h>
|
#include <superio/fintek/f81865f/f81865f.h>
|
||||||
|
|
|
@ -28,6 +28,7 @@
|
||||||
#include <cpu/x86/mtrr.h>
|
#include <cpu/x86/mtrr.h>
|
||||||
#include <cpu/amd/car.h>
|
#include <cpu/amd/car.h>
|
||||||
#include <northbridge/amd/agesa/agesawrapper.h>
|
#include <northbridge/amd/agesa/agesawrapper.h>
|
||||||
|
#include <northbridge/amd/agesa/agesa_helper.h>
|
||||||
#include <cpu/x86/bist.h>
|
#include <cpu/x86/bist.h>
|
||||||
#include <superio/fintek/common/fintek.h>
|
#include <superio/fintek/common/fintek.h>
|
||||||
#include <superio/fintek/f81865f/f81865f.h>
|
#include <superio/fintek/f81865f/f81865f.h>
|
||||||
|
|
|
@ -27,6 +27,7 @@
|
||||||
#include <commonlib/loglevel.h>
|
#include <commonlib/loglevel.h>
|
||||||
#include <cpu/amd/car.h>
|
#include <cpu/amd/car.h>
|
||||||
#include <northbridge/amd/agesa/agesawrapper.h>
|
#include <northbridge/amd/agesa/agesawrapper.h>
|
||||||
|
#include <northbridge/amd/agesa/agesa_helper.h>
|
||||||
#include <cpu/x86/bist.h>
|
#include <cpu/x86/bist.h>
|
||||||
#include <cpu/x86/lapic.h>
|
#include <cpu/x86/lapic.h>
|
||||||
#include <southbridge/amd/agesa/hudson/hudson.h>
|
#include <southbridge/amd/agesa/hudson/hudson.h>
|
||||||
|
|
|
@ -25,6 +25,7 @@
|
||||||
#include <commonlib/loglevel.h>
|
#include <commonlib/loglevel.h>
|
||||||
#include <cpu/amd/car.h>
|
#include <cpu/amd/car.h>
|
||||||
#include <northbridge/amd/agesa/agesawrapper.h>
|
#include <northbridge/amd/agesa/agesawrapper.h>
|
||||||
|
#include <northbridge/amd/agesa/agesa_helper.h>
|
||||||
#include <cpu/x86/bist.h>
|
#include <cpu/x86/bist.h>
|
||||||
#include <superio/smsc/kbc1100/kbc1100.h>
|
#include <superio/smsc/kbc1100/kbc1100.h>
|
||||||
#include <cpu/x86/lapic.h>
|
#include <cpu/x86/lapic.h>
|
||||||
|
|
|
@ -28,6 +28,7 @@
|
||||||
#include <cpu/x86/mtrr.h>
|
#include <cpu/x86/mtrr.h>
|
||||||
#include <cpu/amd/car.h>
|
#include <cpu/amd/car.h>
|
||||||
#include <northbridge/amd/agesa/agesawrapper.h>
|
#include <northbridge/amd/agesa/agesawrapper.h>
|
||||||
|
#include <northbridge/amd/agesa/agesa_helper.h>
|
||||||
#include <cpu/x86/bist.h>
|
#include <cpu/x86/bist.h>
|
||||||
#include <cpu/x86/lapic.h>
|
#include <cpu/x86/lapic.h>
|
||||||
#include <sb_cimx.h>
|
#include <sb_cimx.h>
|
||||||
|
|
|
@ -28,6 +28,7 @@
|
||||||
#include <cpu/x86/mtrr.h>
|
#include <cpu/x86/mtrr.h>
|
||||||
#include <cpu/amd/car.h>
|
#include <cpu/amd/car.h>
|
||||||
#include <northbridge/amd/agesa/agesawrapper.h>
|
#include <northbridge/amd/agesa/agesawrapper.h>
|
||||||
|
#include <northbridge/amd/agesa/agesa_helper.h>
|
||||||
#include <cpu/x86/bist.h>
|
#include <cpu/x86/bist.h>
|
||||||
#include <superio/nuvoton/common/nuvoton.h>
|
#include <superio/nuvoton/common/nuvoton.h>
|
||||||
#include <superio/nuvoton/nct5572d/nct5572d.h>
|
#include <superio/nuvoton/nct5572d/nct5572d.h>
|
||||||
|
|
|
@ -27,6 +27,7 @@
|
||||||
#include <commonlib/loglevel.h>
|
#include <commonlib/loglevel.h>
|
||||||
#include <cpu/amd/car.h>
|
#include <cpu/amd/car.h>
|
||||||
#include <northbridge/amd/agesa/agesawrapper.h>
|
#include <northbridge/amd/agesa/agesawrapper.h>
|
||||||
|
#include <northbridge/amd/agesa/agesa_helper.h>
|
||||||
#include <cpu/x86/bist.h>
|
#include <cpu/x86/bist.h>
|
||||||
#include <cpu/x86/lapic.h>
|
#include <cpu/x86/lapic.h>
|
||||||
#include <southbridge/amd/agesa/hudson/hudson.h>
|
#include <southbridge/amd/agesa/hudson/hudson.h>
|
||||||
|
|
|
@ -15,6 +15,7 @@
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#include <northbridge/amd/agesa/agesawrapper.h>
|
#include <northbridge/amd/agesa/agesawrapper.h>
|
||||||
|
#include <northbridge/amd/agesa/agesa_helper.h>
|
||||||
|
|
||||||
#include <arch/acpi.h>
|
#include <arch/acpi.h>
|
||||||
#include <arch/cpu.h>
|
#include <arch/cpu.h>
|
||||||
|
|
|
@ -29,6 +29,7 @@
|
||||||
#include <commonlib/loglevel.h>
|
#include <commonlib/loglevel.h>
|
||||||
#include <cpu/amd/car.h>
|
#include <cpu/amd/car.h>
|
||||||
#include <northbridge/amd/agesa/agesawrapper.h>
|
#include <northbridge/amd/agesa/agesawrapper.h>
|
||||||
|
#include <northbridge/amd/agesa/agesa_helper.h>
|
||||||
#include <cpu/x86/bist.h>
|
#include <cpu/x86/bist.h>
|
||||||
#include <cpu/x86/lapic.h>
|
#include <cpu/x86/lapic.h>
|
||||||
#include <southbridge/amd/agesa/hudson/hudson.h>
|
#include <southbridge/amd/agesa/hudson/hudson.h>
|
||||||
|
|
|
@ -28,6 +28,7 @@
|
||||||
#include <commonlib/loglevel.h>
|
#include <commonlib/loglevel.h>
|
||||||
#include <cpu/amd/car.h>
|
#include <cpu/amd/car.h>
|
||||||
#include <northbridge/amd/agesa/agesawrapper.h>
|
#include <northbridge/amd/agesa/agesawrapper.h>
|
||||||
|
#include <northbridge/amd/agesa/agesa_helper.h>
|
||||||
#include <cpu/x86/bist.h>
|
#include <cpu/x86/bist.h>
|
||||||
#include <cpu/x86/lapic.h>
|
#include <cpu/x86/lapic.h>
|
||||||
#include <southbridge/amd/common/amd_defs.h>
|
#include <southbridge/amd/common/amd_defs.h>
|
||||||
|
|
|
@ -28,6 +28,7 @@
|
||||||
#include <cpu/x86/mtrr.h>
|
#include <cpu/x86/mtrr.h>
|
||||||
#include <cpu/amd/car.h>
|
#include <cpu/amd/car.h>
|
||||||
#include <northbridge/amd/agesa/agesawrapper.h>
|
#include <northbridge/amd/agesa/agesawrapper.h>
|
||||||
|
#include <northbridge/amd/agesa/agesa_helper.h>
|
||||||
#include <cpu/x86/bist.h>
|
#include <cpu/x86/bist.h>
|
||||||
#include <superio/fintek/common/fintek.h>
|
#include <superio/fintek/common/fintek.h>
|
||||||
#include <superio/fintek/f81865f/f81865f.h>
|
#include <superio/fintek/f81865f/f81865f.h>
|
||||||
|
|
|
@ -29,6 +29,7 @@
|
||||||
#include <cpu/x86/mtrr.h>
|
#include <cpu/x86/mtrr.h>
|
||||||
#include <cpu/amd/car.h>
|
#include <cpu/amd/car.h>
|
||||||
#include <northbridge/amd/agesa/agesawrapper.h>
|
#include <northbridge/amd/agesa/agesawrapper.h>
|
||||||
|
#include <northbridge/amd/agesa/agesa_helper.h>
|
||||||
#include <cpu/x86/bist.h>
|
#include <cpu/x86/bist.h>
|
||||||
#include <cpu/x86/cache.h>
|
#include <cpu/x86/cache.h>
|
||||||
#include <sb_cimx.h>
|
#include <sb_cimx.h>
|
||||||
|
|
|
@ -27,6 +27,7 @@
|
||||||
#include <commonlib/loglevel.h>
|
#include <commonlib/loglevel.h>
|
||||||
#include <cpu/amd/car.h>
|
#include <cpu/amd/car.h>
|
||||||
#include <northbridge/amd/agesa/agesawrapper.h>
|
#include <northbridge/amd/agesa/agesawrapper.h>
|
||||||
|
#include <northbridge/amd/agesa/agesa_helper.h>
|
||||||
#include <cpu/x86/bist.h>
|
#include <cpu/x86/bist.h>
|
||||||
#include <cpu/x86/lapic.h>
|
#include <cpu/x86/lapic.h>
|
||||||
#include <southbridge/amd/agesa/hudson/hudson.h>
|
#include <southbridge/amd/agesa/hudson/hudson.h>
|
||||||
|
|
|
@ -28,6 +28,7 @@
|
||||||
#include <commonlib/loglevel.h>
|
#include <commonlib/loglevel.h>
|
||||||
#include <cpu/amd/car.h>
|
#include <cpu/amd/car.h>
|
||||||
#include <northbridge/amd/agesa/agesawrapper.h>
|
#include <northbridge/amd/agesa/agesawrapper.h>
|
||||||
|
#include <northbridge/amd/agesa/agesa_helper.h>
|
||||||
#include <cpu/x86/bist.h>
|
#include <cpu/x86/bist.h>
|
||||||
#include <cpu/x86/lapic.h>
|
#include <cpu/x86/lapic.h>
|
||||||
#include <southbridge/amd/agesa/hudson/hudson.h>
|
#include <southbridge/amd/agesa/hudson/hudson.h>
|
||||||
|
|
|
@ -14,6 +14,7 @@
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#include <northbridge/amd/agesa/agesawrapper.h>
|
#include <northbridge/amd/agesa/agesawrapper.h>
|
||||||
|
#include <northbridge/amd/agesa/agesa_helper.h>
|
||||||
|
|
||||||
#include <arch/acpi.h>
|
#include <arch/acpi.h>
|
||||||
#include <arch/cpu.h>
|
#include <arch/cpu.h>
|
||||||
|
|
|
@ -15,6 +15,7 @@
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#include <northbridge/amd/agesa/agesawrapper.h>
|
#include <northbridge/amd/agesa/agesawrapper.h>
|
||||||
|
#include <northbridge/amd/agesa/agesa_helper.h>
|
||||||
|
|
||||||
#include <arch/acpi.h>
|
#include <arch/acpi.h>
|
||||||
#include <arch/cpu.h>
|
#include <arch/cpu.h>
|
||||||
|
|
|
@ -14,6 +14,7 @@
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#include <northbridge/amd/agesa/agesawrapper.h>
|
#include <northbridge/amd/agesa/agesawrapper.h>
|
||||||
|
#include <northbridge/amd/agesa/agesa_helper.h>
|
||||||
|
|
||||||
#include <arch/acpi.h>
|
#include <arch/acpi.h>
|
||||||
#include <arch/cpu.h>
|
#include <arch/cpu.h>
|
||||||
|
|
|
@ -28,6 +28,7 @@
|
||||||
#include <cpu/x86/mtrr.h>
|
#include <cpu/x86/mtrr.h>
|
||||||
#include <cpu/amd/car.h>
|
#include <cpu/amd/car.h>
|
||||||
#include <northbridge/amd/agesa/agesawrapper.h>
|
#include <northbridge/amd/agesa/agesawrapper.h>
|
||||||
|
#include <northbridge/amd/agesa/agesa_helper.h>
|
||||||
#include <cpu/x86/bist.h>
|
#include <cpu/x86/bist.h>
|
||||||
#include <superio/smsc/smscsuperio/smscsuperio.h>
|
#include <superio/smsc/smscsuperio/smscsuperio.h>
|
||||||
#include <cpu/x86/lapic.h>
|
#include <cpu/x86/lapic.h>
|
||||||
|
|
|
@ -28,6 +28,7 @@
|
||||||
#include <cpu/x86/mtrr.h>
|
#include <cpu/x86/mtrr.h>
|
||||||
#include <cpu/amd/car.h>
|
#include <cpu/amd/car.h>
|
||||||
#include <northbridge/amd/agesa/agesawrapper.h>
|
#include <northbridge/amd/agesa/agesawrapper.h>
|
||||||
|
#include <northbridge/amd/agesa/agesa_helper.h>
|
||||||
#include <cpu/x86/bist.h>
|
#include <cpu/x86/bist.h>
|
||||||
#include <superio/winbond/common/winbond.h>
|
#include <superio/winbond/common/winbond.h>
|
||||||
#include <superio/winbond/w83627dhg/w83627dhg.h>
|
#include <superio/winbond/w83627dhg/w83627dhg.h>
|
||||||
|
|
|
@ -16,6 +16,7 @@
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#include <northbridge/amd/agesa/agesawrapper.h>
|
#include <northbridge/amd/agesa/agesawrapper.h>
|
||||||
|
#include <northbridge/amd/agesa/agesa_helper.h>
|
||||||
|
|
||||||
#include <arch/acpi.h>
|
#include <arch/acpi.h>
|
||||||
#include <arch/cpu.h>
|
#include <arch/cpu.h>
|
||||||
|
|
|
@ -30,6 +30,7 @@
|
||||||
#include <cpu/x86/mtrr.h>
|
#include <cpu/x86/mtrr.h>
|
||||||
#include <cpu/amd/car.h>
|
#include <cpu/amd/car.h>
|
||||||
#include <northbridge/amd/agesa/agesawrapper.h>
|
#include <northbridge/amd/agesa/agesawrapper.h>
|
||||||
|
#include <northbridge/amd/agesa/agesa_helper.h>
|
||||||
#include <southbridge/amd/cimx/cimx_util.h>
|
#include <southbridge/amd/cimx/cimx_util.h>
|
||||||
#include <cpu/x86/bist.h>
|
#include <cpu/x86/bist.h>
|
||||||
#include <cpu/x86/cache.h>
|
#include <cpu/x86/cache.h>
|
||||||
|
|
|
@ -24,6 +24,7 @@
|
||||||
#include <cpu/x86/lapic.h>
|
#include <cpu/x86/lapic.h>
|
||||||
#include <cpu/amd/car.h>
|
#include <cpu/amd/car.h>
|
||||||
#include <northbridge/amd/agesa/agesawrapper.h>
|
#include <northbridge/amd/agesa/agesawrapper.h>
|
||||||
|
#include <northbridge/amd/agesa/agesa_helper.h>
|
||||||
#include <northbridge/amd/agesa/family10/reset_test.h>
|
#include <northbridge/amd/agesa/family10/reset_test.h>
|
||||||
#include <nb_cimx.h>
|
#include <nb_cimx.h>
|
||||||
#include <sb_cimx.h>
|
#include <sb_cimx.h>
|
||||||
|
|
|
@ -24,6 +24,7 @@
|
||||||
#include <cpu/x86/lapic.h>
|
#include <cpu/x86/lapic.h>
|
||||||
#include <cpu/amd/car.h>
|
#include <cpu/amd/car.h>
|
||||||
#include <northbridge/amd/agesa/agesawrapper.h>
|
#include <northbridge/amd/agesa/agesawrapper.h>
|
||||||
|
#include <northbridge/amd/agesa/agesa_helper.h>
|
||||||
#include <northbridge/amd/agesa/family10/reset_test.h>
|
#include <northbridge/amd/agesa/family10/reset_test.h>
|
||||||
#include <nb_cimx.h>
|
#include <nb_cimx.h>
|
||||||
#include <sb_cimx.h>
|
#include <sb_cimx.h>
|
||||||
|
|
|
@ -24,6 +24,7 @@
|
||||||
#include <cpu/x86/lapic.h>
|
#include <cpu/x86/lapic.h>
|
||||||
#include <cpu/amd/car.h>
|
#include <cpu/amd/car.h>
|
||||||
#include <northbridge/amd/agesa/agesawrapper.h>
|
#include <northbridge/amd/agesa/agesawrapper.h>
|
||||||
|
#include <northbridge/amd/agesa/agesa_helper.h>
|
||||||
#include <northbridge/amd/agesa/family10/reset_test.h>
|
#include <northbridge/amd/agesa/family10/reset_test.h>
|
||||||
#include <nb_cimx.h>
|
#include <nb_cimx.h>
|
||||||
#include <sb_cimx.h>
|
#include <sb_cimx.h>
|
||||||
|
|
|
@ -0,0 +1,36 @@
|
||||||
|
/*
|
||||||
|
* This file is part of the coreboot project.
|
||||||
|
*
|
||||||
|
* Copyright (C) 2011 Advanced Micro Devices, 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_HELPER_H_
|
||||||
|
#define _AGESA_HELPER_H_
|
||||||
|
|
||||||
|
enum {
|
||||||
|
PICK_DMI, /* DMI Interface */
|
||||||
|
PICK_PSTATE, /* Acpi Pstate SSDT Table */
|
||||||
|
PICK_SRAT, /* SRAT Table */
|
||||||
|
PICK_SLIT, /* SLIT Table */
|
||||||
|
PICK_WHEA_MCE, /* WHEA MCE table */
|
||||||
|
PICK_WHEA_CMC, /* WHEA CMV table */
|
||||||
|
PICK_ALIB, /* SACPI SSDT table with ALIB implementation */
|
||||||
|
PICK_IVRS, /* IOMMU ACPI IVRS(I/O Virtualization Reporting Structure) table */
|
||||||
|
};
|
||||||
|
|
||||||
|
void *agesawrapper_getlateinitptr (int pick);
|
||||||
|
|
||||||
|
void amd_initcpuio(void);
|
||||||
|
void amd_initmmio(void);
|
||||||
|
void amd_initenv(void);
|
||||||
|
|
||||||
|
#endif /* _AGESA_HELPER_H_ */
|
|
@ -16,6 +16,7 @@
|
||||||
#include <stdint.h>
|
#include <stdint.h>
|
||||||
#include <string.h>
|
#include <string.h>
|
||||||
|
|
||||||
|
#include <northbridge/amd/agesa/agesa_helper.h>
|
||||||
#include <northbridge/amd/agesa/agesawrapper.h>
|
#include <northbridge/amd/agesa/agesawrapper.h>
|
||||||
#include <northbridge/amd/agesa/BiosCallOuts.h>
|
#include <northbridge/amd/agesa/BiosCallOuts.h>
|
||||||
#include "amdlib.h"
|
#include "amdlib.h"
|
||||||
|
|
|
@ -20,17 +20,6 @@
|
||||||
#include "Porting.h"
|
#include "Porting.h"
|
||||||
#include "AGESA.h"
|
#include "AGESA.h"
|
||||||
|
|
||||||
enum {
|
|
||||||
PICK_DMI, /* DMI Interface */
|
|
||||||
PICK_PSTATE, /* Acpi Pstate SSDT Table */
|
|
||||||
PICK_SRAT, /* SRAT Table */
|
|
||||||
PICK_SLIT, /* SLIT Table */
|
|
||||||
PICK_WHEA_MCE, /* WHEA MCE table */
|
|
||||||
PICK_WHEA_CMC, /* WHEA CMV table */
|
|
||||||
PICK_ALIB, /* SACPI SSDT table with ALIB implementation */
|
|
||||||
PICK_IVRS, /* IOMMU ACPI IVRS(I/O Virtualization Reporting Structure) table */
|
|
||||||
};
|
|
||||||
|
|
||||||
AGESA_STATUS agesawrapper_amdinitreset(void);
|
AGESA_STATUS agesawrapper_amdinitreset(void);
|
||||||
AGESA_STATUS agesawrapper_amdinitearly(void);
|
AGESA_STATUS agesawrapper_amdinitearly(void);
|
||||||
AGESA_STATUS agesawrapper_amdinitenv(void);
|
AGESA_STATUS agesawrapper_amdinitenv(void);
|
||||||
|
@ -42,15 +31,10 @@ void agesawrapper_trace(AGESA_STATUS ret, AMD_CONFIG_PARAMS *StdHeader, const ch
|
||||||
#define AGESA_EVENTLOG(status, stdheader) \
|
#define AGESA_EVENTLOG(status, stdheader) \
|
||||||
agesawrapper_trace(status, stdheader, __func__)
|
agesawrapper_trace(status, stdheader, __func__)
|
||||||
|
|
||||||
void amd_initcpuio(void);
|
|
||||||
void amd_initmmio(void);
|
|
||||||
void amd_initenv(void);
|
|
||||||
|
|
||||||
AGESA_STATUS agesawrapper_amdinitresume(void);
|
AGESA_STATUS agesawrapper_amdinitresume(void);
|
||||||
AGESA_STATUS agesawrapper_amdS3Save(void);
|
AGESA_STATUS agesawrapper_amdS3Save(void);
|
||||||
AGESA_STATUS agesawrapper_amds3laterestore(void);
|
AGESA_STATUS agesawrapper_amds3laterestore(void);
|
||||||
AGESA_STATUS agesawrapper_amdlaterunaptask (UINT32 Func, UINT32 Data, VOID *ConfigPtr);
|
AGESA_STATUS agesawrapper_amdlaterunaptask (UINT32 Func, UINT32 Data, VOID *ConfigPtr);
|
||||||
void *agesawrapper_getlateinitptr (int pick);
|
|
||||||
|
|
||||||
AGESA_STATUS agesawrapper_fchs3earlyrestore(void);
|
AGESA_STATUS agesawrapper_fchs3earlyrestore(void);
|
||||||
AGESA_STATUS agesawrapper_fchs3laterestore(void);
|
AGESA_STATUS agesawrapper_fchs3laterestore(void);
|
||||||
|
|
|
@ -33,6 +33,7 @@
|
||||||
|
|
||||||
#include "sb_cimx.h"
|
#include "sb_cimx.h"
|
||||||
#include <northbridge/amd/agesa/agesawrapper.h>
|
#include <northbridge/amd/agesa/agesawrapper.h>
|
||||||
|
#include <northbridge/amd/agesa/agesa_helper.h>
|
||||||
|
|
||||||
#define FX_DEVS 1
|
#define FX_DEVS 1
|
||||||
|
|
||||||
|
|
|
@ -32,9 +32,9 @@
|
||||||
#include <cpu/amd/mtrr.h>
|
#include <cpu/amd/mtrr.h>
|
||||||
|
|
||||||
#include <northbridge/amd/agesa/agesawrapper.h>
|
#include <northbridge/amd/agesa/agesawrapper.h>
|
||||||
#if CONFIG_AMD_SB_CIMX
|
#include <northbridge/amd/agesa/agesa_helper.h>
|
||||||
|
|
||||||
#include <sb_cimx.h>
|
#include <sb_cimx.h>
|
||||||
#endif
|
|
||||||
|
|
||||||
#define FX_DEVS 1
|
#define FX_DEVS 1
|
||||||
|
|
||||||
|
|
|
@ -37,7 +37,10 @@
|
||||||
#include <Topology.h>
|
#include <Topology.h>
|
||||||
#include <cpu/amd/amdfam15.h>
|
#include <cpu/amd/amdfam15.h>
|
||||||
#include <cpuRegisters.h>
|
#include <cpuRegisters.h>
|
||||||
|
|
||||||
#include <northbridge/amd/agesa/agesawrapper.h>
|
#include <northbridge/amd/agesa/agesawrapper.h>
|
||||||
|
#include <northbridge/amd/agesa/agesa_helper.h>
|
||||||
|
|
||||||
#include "sb_cimx.h"
|
#include "sb_cimx.h"
|
||||||
|
|
||||||
#define MAX_NODE_NUMS (MAX_NODES * MAX_DIES)
|
#define MAX_NODE_NUMS (MAX_NODES * MAX_DIES)
|
||||||
|
|
|
@ -38,7 +38,9 @@
|
||||||
#include <Topology.h>
|
#include <Topology.h>
|
||||||
#include <cpu/amd/amdfam15.h>
|
#include <cpu/amd/amdfam15.h>
|
||||||
#include <cpuRegisters.h>
|
#include <cpuRegisters.h>
|
||||||
|
|
||||||
#include <northbridge/amd/agesa/agesawrapper.h>
|
#include <northbridge/amd/agesa/agesawrapper.h>
|
||||||
|
#include <northbridge/amd/agesa/agesa_helper.h>
|
||||||
|
|
||||||
#define MAX_NODE_NUMS (MAX_NODES * MAX_DIES)
|
#define MAX_NODE_NUMS (MAX_NODES * MAX_DIES)
|
||||||
|
|
||||||
|
|
|
@ -37,7 +37,9 @@
|
||||||
#include <Topology.h>
|
#include <Topology.h>
|
||||||
#include <cpu/amd/amdfam15.h>
|
#include <cpu/amd/amdfam15.h>
|
||||||
#include <cpuRegisters.h>
|
#include <cpuRegisters.h>
|
||||||
|
|
||||||
#include <northbridge/amd/agesa/agesawrapper.h>
|
#include <northbridge/amd/agesa/agesawrapper.h>
|
||||||
|
#include <northbridge/amd/agesa/agesa_helper.h>
|
||||||
|
|
||||||
#define MAX_NODE_NUMS (MAX_NODES * MAX_DIES)
|
#define MAX_NODE_NUMS (MAX_NODES * MAX_DIES)
|
||||||
|
|
||||||
|
|
|
@ -37,7 +37,9 @@
|
||||||
#include <Topology.h>
|
#include <Topology.h>
|
||||||
#include <cpu/amd/amdfam16.h>
|
#include <cpu/amd/amdfam16.h>
|
||||||
#include <cpuRegisters.h>
|
#include <cpuRegisters.h>
|
||||||
|
|
||||||
#include <northbridge/amd/agesa/agesawrapper.h>
|
#include <northbridge/amd/agesa/agesawrapper.h>
|
||||||
|
#include <northbridge/amd/agesa/agesa_helper.h>
|
||||||
|
|
||||||
#define MAX_NODE_NUMS (MAX_NODES * MAX_DIES)
|
#define MAX_NODE_NUMS (MAX_NODES * MAX_DIES)
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue