diff options
author | Kyösti Mälkki <kyosti.malkki@gmail.com> | 2020-07-01 13:15:27 +0300 |
---|---|---|
committer | Felix Held <felix-coreboot@felixheld.de> | 2020-12-12 19:49:14 +0000 |
commit | e8aa3c7f191268b247d9121cef8eb3e0c90e1169 (patch) | |
tree | 606a3a239f12f8ed119d2fa3533c3cff0b7ff6d8 /src | |
parent | cd8d0e6ce628e112840c870e6934afc0c387b314 (diff) |
soc/amd/common: Remove SMBus host word accessors
SMBus controller has byte-wide registers. Remove
the word accessors.
Change-Id: If396108308bc8303d84458039b9529ecd83276c9
Signed-off-by: Kyösti Mälkki <kyosti.malkki@gmail.com>
Reviewed-on: https://review.coreboot.org/c/coreboot/+/48581
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Reviewed-by: Angel Pons <th3fanbus@gmail.com>
Reviewed-by: Felix Held <felix-coreboot@felixheld.de>
Diffstat (limited to 'src')
-rw-r--r-- | src/soc/amd/common/block/include/amdblocks/acpimmio.h | 20 |
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 15445baaad..134e053c49 100644 --- a/src/soc/amd/common/block/include/amdblocks/acpimmio.h +++ b/src/soc/amd/common/block/include/amdblocks/acpimmio.h @@ -244,41 +244,21 @@ static inline uint8_t asf_read8(uint8_t reg) return read8(acpimmio_asf + reg); } -static inline uint16_t asf_read16(uint8_t reg) -{ - return read16(acpimmio_asf + reg); -} - static inline void asf_write8(uint8_t reg, uint8_t value) { write8(acpimmio_asf + reg, value); } -static inline void asf_write16(uint8_t reg, uint16_t value) -{ - write16(acpimmio_asf + reg, value); -} - static inline uint8_t smbus_read8(uint8_t reg) { return read8(acpimmio_smbus + reg); } -static inline uint16_t smbus_read16(uint8_t reg) -{ - return read16(acpimmio_smbus + reg); -} - static inline void smbus_write8(uint8_t reg, uint8_t value) { write8(acpimmio_smbus + reg, value); } -static inline void smbus_write16(uint8_t reg, uint16_t value) -{ - write16(acpimmio_smbus + reg, value); -} - static inline uint8_t iomux_read8(uint8_t reg) { return read8(acpimmio_iomux + reg); |