amd/stoneyridge: Add definition for HPET to southbridge

Add #define values for the HPET device.  In Stoney Ridge, the base
address is fixed and cannot be relocated.

Change-Id: Id36fd9ecc90d54a92144f2cca7cec6d84abfdabd
Signed-off-by: Marshall Dawson <marshalldawson3rd@gmail.com>
Reviewed-on: https://review.coreboot.org/22242
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Reviewed-by: Marc Jones <marc@marcjonesconsulting.com>
Reviewed-by: Aaron Durbin <adurbin@chromium.org>
This commit is contained in:
Marshall Dawson 2017-10-27 16:57:54 -06:00
parent 76db7886f4
commit 7a694318e5
1 changed files with 5 additions and 0 deletions

View File

@ -25,6 +25,11 @@
#define IO_APIC2_ADDR 0xfec20000 #define IO_APIC2_ADDR 0xfec20000
#if IS_ENABLED(CONFIG_HPET_ADDRESS_OVERRIDE)
#error HPET address override is not allowed and must be fixed at 0xfed00000
#endif
#define HPET_BASE_ADDRESS 0xfed00000
/* Offsets from ACPI_MMIO_BASE */ /* Offsets from ACPI_MMIO_BASE */
#define APU_SMI_BASE 0xfed80200 #define APU_SMI_BASE 0xfed80200