summaryrefslogtreecommitdiff
path: root/src/soc/amd/common
diff options
context:
space:
mode:
authorKyösti Mälkki <kyosti.malkki@gmail.com>2020-06-26 10:22:24 +0300
committerFelix Held <felix-coreboot@felixheld.de>2020-12-12 19:48:49 +0000
commitcd8d0e6ce628e112840c870e6934afc0c387b314 (patch)
treedeb20d56ba6c3935e0a7545436fc70793a3f2d45 /src/soc/amd/common
parent6a8c96f16991b135e94943727c9dd301a6ab613f (diff)
soc/amd/common: Refactor ACPIMMIO posted writes
Change-Id: Ic1a5c17c789dd79fea8f348d1a9d32d4301ced88 Signed-off-by: Kyösti Mälkki <kyosti.malkki@gmail.com> Reviewed-on: https://review.coreboot.org/c/coreboot/+/42825 Reviewed-by: Felix Held <felix-coreboot@felixheld.de> Reviewed-by: Angel Pons <th3fanbus@gmail.com> Reviewed-by: Raul Rangel <rrangel@chromium.org> Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Diffstat (limited to 'src/soc/amd/common')
-rw-r--r--src/soc/amd/common/block/include/amdblocks/acpimmio.h6
1 files changed, 0 insertions, 6 deletions
diff --git a/src/soc/amd/common/block/include/amdblocks/acpimmio.h b/src/soc/amd/common/block/include/amdblocks/acpimmio.h
index 4fcaa9204a..15445baaad 100644
--- a/src/soc/amd/common/block/include/amdblocks/acpimmio.h
+++ b/src/soc/amd/common/block/include/amdblocks/acpimmio.h
@@ -387,12 +387,6 @@ static inline void gpio_write32(uint8_t gpio_num, uint32_t value)
write32(gpio_ctrl_ptr(gpio_num), value);
}
-static inline void gpio_write32_rb(uint8_t gpio_num, uint32_t value)
-{
- write32(gpio_ctrl_ptr(gpio_num), value);
- read32(gpio_ctrl_ptr(gpio_num));
-}
-
/* GPIO bank 0 */
static inline uint8_t gpio0_read8(uint8_t reg)
{