soc/intel/braswell/gpio_support: drop unused get_gpio

The get_gpio function in this file is both unused and it shouldn't use
a signed int to pass in the MMIO base address and offset.

Signed-off-by: Felix Held <felix-coreboot@felixheld.de>
Change-Id: I3b08bad040ad175b37175ef21d0a0a29525c4478
Reviewed-on: https://review.coreboot.org/c/coreboot/+/80690
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Reviewed-by: Matt DeVillier <matt.devillier@amd.corp-partner.google.com>
This commit is contained in:
Felix Held
2024-02-20 20:35:17 +01:00
committed by Matt DeVillier
parent 1e113bc878
commit b6d16fb3fa
2 changed files with 0 additions and 6 deletions

View File

@@ -143,8 +143,3 @@ int gpio_get(gpio_t gpio_num)
return pad_value & PAD_RX_BIT;
}
int get_gpio(int community_base, int pad0_offset)
{
return (read32p(community_base + pad0_offset)) & PAD_RX_BIT;
}

View File

@@ -466,7 +466,6 @@ struct soc_gpio_config *mainboard_get_gpios(void);
typedef int gpio_t;
int get_gpio(int community_base, int pad0_offset);
uint16_t gpio_family_number(uint8_t community, uint8_t pad);
uint32_t *gpio_pad_config_reg(uint8_t community, uint8_t pad);