summaryrefslogtreecommitdiff
path: root/src/soc/amd/stoneyridge/include
diff options
context:
space:
mode:
authorRichard Spiegel <richard.spiegel@amd.corp-partner.google.com>2018-04-18 08:06:33 -0700
committerPatrick Georgi <pgeorgi@google.com>2018-04-20 13:03:14 +0000
commit6fcb9b00c8b7f820bb5ef81a83a24cd656654272 (patch)
tree3cb9214d55eed3311fd071af4ca32739ba567df9 /src/soc/amd/stoneyridge/include
parente6db1895617a50eabf9f1a0b40025e8a74817cc3 (diff)
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 <richard.spiegel@silverbackltd.com> Reviewed-on: https://review.coreboot.org/25726 Reviewed-by: Martin Roth <martinroth@google.com> Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Diffstat (limited to 'src/soc/amd/stoneyridge/include')
-rw-r--r--src/soc/amd/stoneyridge/include/soc/southbridge.h5
1 files changed, 2 insertions, 3 deletions
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
*