diff options
author | Martin Roth <gaumless@gmail.com> | 2024-11-28 16:02:52 -0700 |
---|---|---|
committer | Felix Singer <service+coreboot-gerrit@felixsinger.de> | 2024-11-30 04:44:06 +0000 |
commit | c91553d3a38f5efb9e78b6c1b9a3bf9f9ff6e614 (patch) | |
tree | 4bb57e5c34946237b9b4e0a00493980c586b28ad /src/soc/amd/common | |
parent | 932b5079074d752b121067dc3698e7838cdb4b1b (diff) |
Treewide: Remove unused header files
These header files do not seem to be used in coreboot. Presumably
they're left over after the code that used them was removed.
Signed-off-by: Martin Roth <gaumless@gmail.com>
Change-Id: Ide70239c7c2e93fff548d989735450396308c62b
Reviewed-on: https://review.coreboot.org/c/coreboot/+/85370
Reviewed-by: Felix Singer <service+coreboot-gerrit@felixsinger.de>
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Reviewed-by: Elyes Haouas <ehaouas@noos.fr>
Diffstat (limited to 'src/soc/amd/common')
-rw-r--r-- | src/soc/amd/common/block/include/amdblocks/acpimmio_legacy_gpio100.h | 33 |
1 files changed, 0 insertions, 33 deletions
diff --git a/src/soc/amd/common/block/include/amdblocks/acpimmio_legacy_gpio100.h b/src/soc/amd/common/block/include/amdblocks/acpimmio_legacy_gpio100.h deleted file mode 100644 index e7ef80a760..0000000000 --- a/src/soc/amd/common/block/include/amdblocks/acpimmio_legacy_gpio100.h +++ /dev/null @@ -1,33 +0,0 @@ -/* SPDX-License-Identifier: GPL-2.0-or-later */ - -#ifndef AMD_BLOCK_ACPIMMIO_LEGACY_GPIO_100_H -#define AMD_BLOCK_ACPIMMIO_LEGACY_GPIO_100_H - -#include <amdblocks/acpimmio.h> -#include <device/mmio.h> -#include <types.h> - -/* 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 void iomux_write8(uint8_t reg, uint8_t value) -{ - write8(acpimmio_iomux + reg, value); -} - -/* Old GPIO configuration registers */ -static inline uint8_t gpio_100_read8(uint8_t reg) -{ - return read8(acpimmio_gpio_100 + reg); -} - -static inline void gpio_100_write8(uint8_t reg, uint8_t value) -{ - write8(acpimmio_gpio_100 + reg, value); -} - -#endif /* AMD_BLOCK_ACPIMMIO_LEGACY_GPIO_100_H */ |