nb/amd/pi/00730F01/state_machine.c: unhardcode IOAPIC2 address

Signed-off-by: Michał Żygowski <michal.zygowski@3mdeb.com>
Change-Id: I95964ac6b5939f66c40bd56939bdf532a72d75ce
Reviewed-on: https://review.coreboot.org/c/coreboot/+/39701
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Reviewed-by: Angel Pons <th3fanbus@gmail.com>
Reviewed-by: Paul Menzel <paulepanter@users.sourceforge.net>
This commit is contained in:
Michał Żygowski 2020-03-19 15:39:12 +01:00 committed by Patrick Georgi
parent 208318cdf4
commit 3fbd2af112
1 changed files with 2 additions and 1 deletions

View File

@ -19,6 +19,7 @@
#include <device/device.h>
#include <northbridge/amd/agesa/state_machine.h>
#include <northbridge/amd/agesa/agesa_helper.h>
#include <northbridge/amd/pi/nb_common.h>
void platform_BeforeInitReset(struct sysinfo *cb, AMD_RESET_PARAMS *Reset)
{
@ -63,7 +64,7 @@ void platform_BeforeInitMid(struct sysinfo *cb, AMD_MID_PARAMS *Mid)
/* 0 iGpuVgaAdapter, 1 iGpuVgaNonAdapter; */
Mid->GnbMidConfiguration.iGpuVgaMode = 0;
Mid->GnbMidConfiguration.GnbIoapicAddress = 0xFEC20000;
Mid->GnbMidConfiguration.GnbIoapicAddress = IO_APIC2_ADDR;
}
void platform_BeforeInitLate(struct sysinfo *cb, AMD_LATE_PARAMS *Late)