diff options
author | Matt Spinler <spinler@us.ibm.com> | 2018-08-07 14:46:31 -0500 |
---|---|---|
committer | Matt Spinler <spinler@us.ibm.com> | 2018-08-14 15:42:00 -0500 |
commit | 6a07a6c940b0d7c135049796d48c1f21bd32aa8c (patch) | |
tree | 4454c7dafc389fe9d8a24aeb6d5ec7e4418323a5 | |
parent | e2cd39d8585dce09c8acddf07fd5ed2b0a619ebc (diff) | |
download | blackbird-skeleton-6a07a6c940b0d7c135049796d48c1f21bd32aa8c.tar.gz blackbird-skeleton-6a07a6c940b0d7c135049796d48c1f21bd32aa8c.zip |
Remove host control GPIOs from GpioConfigs
These are not used anymore.
Change-Id: I4bf8f0538aafeec768075fd51236a50f1f97b3d8
Signed-off-by: Matt Spinler <spinler@us.ibm.com>
-rw-r--r-- | libopenbmc_intf/gpio_configs.c | 8 | ||||
-rw-r--r-- | libopenbmc_intf/gpio_configs.h | 11 |
2 files changed, 0 insertions, 19 deletions
diff --git a/libopenbmc_intf/gpio_configs.c b/libopenbmc_intf/gpio_configs.c index 4de9d5c..a6ee8b6 100644 --- a/libopenbmc_intf/gpio_configs.c +++ b/libopenbmc_intf/gpio_configs.c @@ -220,12 +220,4 @@ void free_gpios(GpioConfigs *gpios) { g_free(gpios->power_gpio.pci_reset_outs); g_free(gpios->power_gpio.pci_reset_pols); g_free(gpios->power_gpio.pci_reset_holds); - - g_free(gpios->hostctl_gpio.fsi_data.name); - g_free(gpios->hostctl_gpio.fsi_clk.name); - g_free(gpios->hostctl_gpio.fsi_enable.name); - g_free(gpios->hostctl_gpio.cronus_sel.name); - for (i = 0; i < gpios->hostctl_gpio.num_optionals; ++i) { - g_free(gpios->hostctl_gpio.optionals[i].name); - } } diff --git a/libopenbmc_intf/gpio_configs.h b/libopenbmc_intf/gpio_configs.h index ab01fe5..233e27f 100644 --- a/libopenbmc_intf/gpio_configs.h +++ b/libopenbmc_intf/gpio_configs.h @@ -44,19 +44,8 @@ typedef struct PowerGpio { gboolean *pci_reset_holds; } PowerGpio; -typedef struct HostctlGpio { - GPIO fsi_data; - GPIO fsi_clk; - GPIO fsi_enable; - GPIO cronus_sel; - size_t num_optionals; - GPIO* optionals; - gboolean* optional_pols; -} HostctlGpio; - typedef struct GpioConfigs { PowerGpio power_gpio; - HostctlGpio hostctl_gpio; } GpioConfigs; /* Read system configuration for GPIOs. */ |