diff options
author | Julien Viard de Galbert <jviarddegalbert@online.net> | 2018-03-01 16:03:31 +0100 |
---|---|---|
committer | Patrick Georgi <pgeorgi@google.com> | 2018-05-14 21:03:04 +0000 |
commit | 7ebb6b0f00ed6b8f92749cc4b035f02c001197e7 (patch) | |
tree | 7ad769f97cbbb0184f09063732802bd0f9cf6734 /src/soc/intel/denverton_ns/include | |
parent | a78e66e5f4cc032968dc8e6f8e76e550d87dafc8 (diff) | |
download | coreboot-7ebb6b0f00ed6b8f92749cc4b035f02c001197e7.tar.xz |
soc/intel/denverton_ns + mb: Rename gpio configuration
In order to use the shared code in intelblock, this patch renames the
denverton specific implementation to not use the same names (for files
and types).
- rename pad_config to remove conflict with soc/.../intelblocks/gpio.h
- rename gpio.c, soc/gpio.h to not conflict with intelblock
Note: There is no functional change in this patch.
Change-Id: Id3f4e2dc0a118e8c864a96a435fa22e32bbe684f
Signed-off-by: Julien Viard de Galbert <jviarddegalbert@online.net>
Reviewed-on: https://review.coreboot.org/24926
Reviewed-by: Philipp Deppenwiese <zaolin.daisuki@gmail.com>
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Diffstat (limited to 'src/soc/intel/denverton_ns/include')
-rw-r--r-- | src/soc/intel/denverton_ns/include/soc/gpio_dnv.h (renamed from src/soc/intel/denverton_ns/include/soc/gpio.h) | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/soc/intel/denverton_ns/include/soc/gpio.h b/src/soc/intel/denverton_ns/include/soc/gpio_dnv.h index 964b5e0715..c1c1d65e60 100644 --- a/src/soc/intel/denverton_ns/include/soc/gpio.h +++ b/src/soc/intel/denverton_ns/include/soc/gpio_dnv.h @@ -297,13 +297,13 @@ typedef enum { typedef uint32_t GPIO_PAD; -struct pad_config { +struct dnv_pad_config { GPIO_PAD GpioPad; struct GPIO_CONFIG GpioConfig; }; /* Configure GPIOs with mainboard provided settings */ -void gpio_configure_pads(const struct pad_config *gpio, size_t num); +void gpio_configure_dnv_pads(const struct dnv_pad_config *gpio, size_t num); #endif /* __ACPI__ */ #endif /* _DENVERTON_NS_GPIO_H_ */ |