diff options
author | Felix Held <felix-coreboot@felixheld.de> | 2023-04-29 02:05:05 +0200 |
---|---|---|
committer | Matt DeVillier <matt.devillier@amd.corp-partner.google.com> | 2023-05-03 16:17:03 +0000 |
commit | bd9db8d9e47835188cdd85369c0f25b2fa928142 (patch) | |
tree | 07dfc30dfd390171eb62513041d98c4252bcba47 /src/soc | |
parent | 4d70daf30511aca27b8939daced1f2d6c727fa57 (diff) |
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>
Diffstat (limited to 'src/soc')
-rw-r--r-- | src/soc/amd/common/block/lpc/lpc.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/soc/amd/common/block/lpc/lpc.c b/src/soc/amd/common/block/lpc/lpc.c index 43b3791fa5..3da326623c 100644 --- a/src/soc/amd/common/block/lpc/lpc.c +++ b/src/soc/amd/common/block/lpc/lpc.c @@ -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); } |