soc/amd/common/block/gpio: drop unused gpio_get_address

Signed-off-by: Felix Held <felix-coreboot@felixheld.de>
Change-Id: I5b47324af368f81288e9e9be65fe0f1ae2fa3697
Reviewed-on: https://review.coreboot.org/c/coreboot/+/59599
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Reviewed-by: Marshall Dawson <marshalldawson3rd@gmail.com>
This commit is contained in:
Felix Held 2021-11-23 10:19:28 +01:00
parent 3215e004e4
commit b2c2b92a6d
2 changed files with 0 additions and 8 deletions

View File

@ -125,11 +125,6 @@ static void program_sci(uint32_t flags, unsigned int gevent_num)
configure_scimap(&sci); configure_scimap(&sci);
} }
uintptr_t gpio_get_address(gpio_t gpio_num)
{
return (uintptr_t)gpio_ctrl_ptr(gpio_num);
}
static void gpio_update32(gpio_t gpio_num, uint32_t mask, uint32_t or) static void gpio_update32(gpio_t gpio_num, uint32_t mask, uint32_t or)
{ {
uint32_t reg; uint32_t reg;

View File

@ -75,9 +75,6 @@ void gpio_configure_pads_with_override(const struct soc_amd_gpio *base_cfg,
const struct soc_amd_gpio *override_cfg, const struct soc_amd_gpio *override_cfg,
size_t override_num_pads); size_t override_num_pads);
/* Get the address of the control register of a particular pin */
uintptr_t gpio_get_address(gpio_t gpio_num);
/** /**
* @brief program a particular set of GPIO * @brief program a particular set of GPIO
* *