soc/amd/common/block/lpc/lpc: report HPET MMIO

Signed-off-by: Felix Held <felix-coreboot@felixheld.de>
Change-Id: I77471d464dddffc63bb2f005fef3a33c84ff5f5e
Reviewed-on: https://review.coreboot.org/c/coreboot/+/74847
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Reviewed-by: Matt DeVillier <matt.devillier@amd.corp-partner.google.com>
Reviewed-by: Arthur Heymans <arthur@aheymans.xyz>
This commit is contained in:
Felix Held 2023-04-29 02:05:05 +02:00 committed by Matt DeVillier
parent 4d70daf305
commit bd9db8d9e4
1 changed files with 4 additions and 0 deletions

View File

@ -1,5 +1,6 @@
/* SPDX-License-Identifier: GPL-2.0-only */ /* SPDX-License-Identifier: GPL-2.0-only */
#include <arch/hpet.h>
#include <arch/ioapic.h> #include <arch/ioapic.h>
#include <console/console.h> #include <console/console.h>
#include <device/device.h> #include <device/device.h>
@ -129,6 +130,9 @@ static void lpc_read_resources(struct device *dev)
/* FCH IOAPIC */ /* FCH IOAPIC */
mmio_range(dev, 4, IO_APIC_ADDR, 4 * KiB); mmio_range(dev, 4, IO_APIC_ADDR, 4 * KiB);
/* HPET */
mmio_range(dev, 5, HPET_BASE_ADDRESS, 4 * KiB);
compact_resources(dev); compact_resources(dev);
} }