From 6fcb9b00c8b7f820bb5ef81a83a24cd656654272 Mon Sep 17 00:00:00 2001 From: Richard Spiegel Date: Wed, 18 Apr 2018 08:06:33 -0700 Subject: soc/amd/stoneyridge/include/soc/southbridge.c: Rename gpio structure The GPIO definition structure has evolved to a point where it's no longer specific to stoneyridge, though probably still specific to AMD. Therefore, rename the GPIO declaration structure removing stoneyridge from it. BUG=b:72875858 TEST=Build kahlee, grunt, gardenia. Change-Id: Ib034d3f7840c36ee8f5c5384241d7326d3fe5543 Signed-off-by: Richard Spiegel Reviewed-on: https://review.coreboot.org/25726 Reviewed-by: Martin Roth Tested-by: build bot (Jenkins) --- src/soc/amd/stoneyridge/include/soc/southbridge.h | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) (limited to 'src/soc/amd/stoneyridge/include') diff --git a/src/soc/amd/stoneyridge/include/soc/southbridge.h b/src/soc/amd/stoneyridge/include/soc/southbridge.h index c0a48b301e..eed7457f20 100644 --- a/src/soc/amd/stoneyridge/include/soc/southbridge.h +++ b/src/soc/amd/stoneyridge/include/soc/southbridge.h @@ -352,7 +352,7 @@ #define FCH_AOAC_STAT0 BIT(6) #define FCH_AOAC_STAT1 BIT(7) -struct soc_amd_stoneyridge_gpio { +struct soc_amd_gpio { uint8_t gpio; uint8_t function; uint8_t control; @@ -449,8 +449,7 @@ uint64_t get_uma_base(void); * * @return none */ -void sb_program_gpios(const struct soc_amd_stoneyridge_gpio *gpio_ptr, - size_t size); +void sb_program_gpios(const struct soc_amd_gpio *gpio_ptr, size_t size); /** * @brief Find the size of a particular wide IO * -- cgit v1.2.3