summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorKyösti Mälkki <kyosti.malkki@gmail.com>2020-12-15 11:07:32 +0200
committerFelix Held <felix-coreboot@felixheld.de>2021-02-01 22:43:32 +0000
commit060ae5c88b3026f6f91b37de977528eba38a0068 (patch)
tree823a12359e4e03e48d6df13b15af435bba05800f /src
parent38fa9f25ee25a42f0f4d6da06385ccb703aaa123 (diff)
soc/amd/common: Use only byte access for old GPIO
Change-Id: I06ec29845d051d9b90ab6f3cfb269ad5e6b75ea8 Signed-off-by: Kyösti Mälkki <kyosti.malkki@gmail.com> Reviewed-on: https://review.coreboot.org/c/coreboot/+/48689 Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: Felix Held <felix-coreboot@felixheld.de>
Diffstat (limited to 'src')
-rw-r--r--src/soc/amd/common/block/include/amdblocks/acpimmio.h20
1 files changed, 0 insertions, 20 deletions
diff --git a/src/soc/amd/common/block/include/amdblocks/acpimmio.h b/src/soc/amd/common/block/include/amdblocks/acpimmio.h
index ca32f2399e..4b80a28a0d 100644
--- a/src/soc/amd/common/block/include/amdblocks/acpimmio.h
+++ b/src/soc/amd/common/block/include/amdblocks/acpimmio.h
@@ -305,31 +305,11 @@ static inline uint8_t gpio_100_read8(uint8_t reg)
return read8(acpimmio_gpio_100 + reg);
}
-static inline uint16_t gpio_100_read16(uint8_t reg)
-{
- return read16(acpimmio_gpio_100 + reg);
-}
-
-static inline uint32_t gpio_100_read32(uint8_t reg)
-{
- return read32(acpimmio_gpio_100 + reg);
-}
-
static inline void gpio_100_write8(uint8_t reg, uint8_t value)
{
write8(acpimmio_gpio_100 + reg, value);
}
-static inline void gpio_100_write16(uint8_t reg, uint16_t value)
-{
- write16(acpimmio_gpio_100 + reg, value);
-}
-
-static inline void gpio_100_write32(uint8_t reg, uint32_t value)
-{
- write32(acpimmio_gpio_100 + reg, value);
-}
-
/* New GPIO banks configuration registers */
static inline void *gpio_ctrl_ptr(uint8_t gpio_num)