diff options
author | Arthur Heymans <arthur@aheymans.xyz> | 2023-07-05 11:43:09 +0200 |
---|---|---|
committer | Kyösti Mälkki <kyosti.malkki@gmail.com> | 2023-07-12 09:12:37 +0000 |
commit | e05693e9388e4d5f6ebd4e9749a5806958604666 (patch) | |
tree | d638a0f04a92ec06850da5009b0a1216e39e5bc4 /src/drivers/pc80/tpm/tis.c | |
parent | ac66a272d30340d77e0c2568138f57fdf5ca0d72 (diff) |
pc80/tpm: Use newer function for resource declarations
Signed-off-by: Arthur Heymans <arthur@aheymans.xyz>
Change-Id: I40b8482f41e8fece55fd60fec7ec3f63f83bd030
Reviewed-on: https://review.coreboot.org/c/coreboot/+/76280
Reviewed-by: Kyösti Mälkki <kyosti.malkki@gmail.com>
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Diffstat (limited to 'src/drivers/pc80/tpm/tis.c')
-rw-r--r-- | src/drivers/pc80/tpm/tis.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/drivers/pc80/tpm/tis.c b/src/drivers/pc80/tpm/tis.c index ce88ae012d..435d0c9d51 100644 --- a/src/drivers/pc80/tpm/tis.c +++ b/src/drivers/pc80/tpm/tis.c @@ -711,7 +711,7 @@ static int tis_setup_interrupt(int vector, int polarity) static void lpc_tpm_read_resources(struct device *dev) { /* Static 5K memory region specified in Kconfig */ - mmio_resource_kb(dev, 0, CONFIG_TPM_TIS_BASE_ADDRESS >> 10, 0x5000 >> 10); + mmio_range(dev, 0, CONFIG_TPM_TIS_BASE_ADDRESS, 0x5000); } static void lpc_tpm_set_resources(struct device *dev) |