summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/soc/amd/common/block/include/amdblocks/acpimmio.h22
1 files changed, 2 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 134e053c49..8443d298df 100644
--- a/src/soc/amd/common/block/include/amdblocks/acpimmio.h
+++ b/src/soc/amd/common/block/include/amdblocks/acpimmio.h
@@ -259,36 +259,18 @@ static inline void smbus_write8(uint8_t reg, uint8_t value)
write8(acpimmio_smbus + reg, value);
}
+/* These iomux_read/write8 are to be deprecated to enforce proper
+ use of <gpio.h> API for pin configurations. */
static inline uint8_t iomux_read8(uint8_t reg)
{
return read8(acpimmio_iomux + reg);
}
-static inline uint16_t iomux_read16(uint8_t reg)
-{
- return read16(acpimmio_iomux + reg);
-}
-
-static inline uint32_t iomux_read32(uint8_t reg)
-{
- return read32(acpimmio_iomux + reg);
-}
-
static inline void iomux_write8(uint8_t reg, uint8_t value)
{
write8(acpimmio_iomux + reg, value);
}
-static inline void iomux_write16(uint8_t reg, uint16_t value)
-{
- write16(acpimmio_iomux + reg, value);
-}
-
-static inline void iomux_write32(uint8_t reg, uint32_t value)
-{
- write32(acpimmio_iomux + reg, value);
-}
-
static inline uint8_t misc_read8(uint8_t reg)
{
return read8(acpimmio_misc + reg);