diff options
author | Felix Held <felix-coreboot@felixheld.de> | 2021-08-03 03:15:27 +0200 |
---|---|---|
committer | Felix Held <felix-coreboot@felixheld.de> | 2021-09-08 00:15:30 +0000 |
commit | f5658cf1a56d48683dc63b5998523e2e21169d10 (patch) | |
tree | 4733e7ac789b936c37de0097690ff2fd16e05d4b /src/soc/amd/picasso/acpi | |
parent | 029a4a0b88a9602e80aa35c5a6ba35e44f478d95 (diff) |
soc/amd/common: move GPIO ACPIMMIO access functions to gpio_banks block
Since the raw GPIO MMIO register access is now only used inside the
gpio_banks block, the gpio_read32 and gpio_write32 functions can be
moved to that block to reduce the visibility and enforce the usage of
the functions provided by the gpio_banks block.
The iomux_read8 and iomux_write8 functions can't be easily moved to the
gpio_banks block, since it's also used in the pre-SOC AMD chipsets that
use the ACPIMMIO access functions directly.
Signed-off-by: Felix Held <felix-coreboot@felixheld.de>
Change-Id: Ia0d6dea72c6bebbbe6ce545bedfc74f91e0042c4
Reviewed-on: https://review.coreboot.org/c/coreboot/+/56781
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Reviewed-by: Martin Roth <martinroth@google.com>
Reviewed-by: Jason Glenesk <jason.glenesk@amd.corp-partner.google.com>
Diffstat (limited to 'src/soc/amd/picasso/acpi')
0 files changed, 0 insertions, 0 deletions