diff options
author | Felix Held <felix-coreboot@felixheld.de> | 2022-02-07 21:11:25 +0100 |
---|---|---|
committer | Felix Held <felix-coreboot@felixheld.de> | 2022-02-11 14:18:54 +0000 |
commit | 6ba6bc24eb58c77f38a0818dd05da865abfb659b (patch) | |
tree | b329fc6bea27644225591a691a659ab680978668 /src/include/device | |
parent | cdbfa6e63788a7c71e3167378657d0afb8beab53 (diff) |
soc/amd/common/block/lpc/espi_util: add decode range register helpers
Introduce and use functions to translate eSPI IO/MMIO decode range IDs
into the corresponding register bits and the IO/MMIO range and size
register IDs into register offsets. This is a preparation to support the
additional eSPI decode ranges on Sabrina where not all enable bits and
base/size registers for one type of decode ranges are consecutive.
Signed-off-by: Felix Held <felix-coreboot@felixheld.de>
Change-Id: Id91fe32447a06b049e33dfdacc8edfa2ebb2df39
Reviewed-on: https://review.coreboot.org/c/coreboot/+/61778
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Reviewed-by: Raul Rangel <rrangel@chromium.org>
Diffstat (limited to 'src/include/device')
0 files changed, 0 insertions, 0 deletions