diff options
author | Felix Held <felix-coreboot@felixheld.de> | 2021-11-23 10:19:28 +0100 |
---|---|---|
committer | Felix Held <felix-coreboot@felixheld.de> | 2021-11-25 11:09:17 +0000 |
commit | b2c2b92a6d6fe4bf21f22db54ef85972c795aaf3 (patch) | |
tree | 018e32d5ede976a213876bfb29b3461e9d4892b5 /src/soc/amd/common/block/gpio | |
parent | 3215e004e4dae1c3aa7ce55da9f37ac9256a6835 (diff) |
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>
Diffstat (limited to 'src/soc/amd/common/block/gpio')
-rw-r--r-- | src/soc/amd/common/block/gpio/gpio.c | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/src/soc/amd/common/block/gpio/gpio.c b/src/soc/amd/common/block/gpio/gpio.c index 1141846842..163de2de58 100644 --- a/src/soc/amd/common/block/gpio/gpio.c +++ b/src/soc/amd/common/block/gpio/gpio.c @@ -125,11 +125,6 @@ static void program_sci(uint32_t flags, unsigned int gevent_num) 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) { uint32_t reg; |