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:
parent
4d70daf305
commit
bd9db8d9e4
|
@ -1,5 +1,6 @@
|
|||
/* SPDX-License-Identifier: GPL-2.0-only */
|
||||
|
||||
#include <arch/hpet.h>
|
||||
#include <arch/ioapic.h>
|
||||
#include <console/console.h>
|
||||
#include <device/device.h>
|
||||
|
@ -129,6 +130,9 @@ static void lpc_read_resources(struct device *dev)
|
|||
/* FCH IOAPIC */
|
||||
mmio_range(dev, 4, IO_APIC_ADDR, 4 * KiB);
|
||||
|
||||
/* HPET */
|
||||
mmio_range(dev, 5, HPET_BASE_ADDRESS, 4 * KiB);
|
||||
|
||||
compact_resources(dev);
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue