diff options
author | Joel Stanley <joel@jms.id.au> | 2018-07-13 13:59:57 +0930 |
---|---|---|
committer | Joel Stanley <joel@jms.id.au> | 2018-08-14 00:03:13 +0930 |
commit | 5da4f4fc1706ea5c12981e18778f42249591fe18 (patch) | |
tree | 69d89cf6b8d377d17d5f20784a24d49681f9f78a /libopenbmc_intf | |
parent | 517b35ed92ad2c0df5e048711c175bacb632f6d0 (diff) | |
download | talos-skeleton-5da4f4fc1706ea5c12981e18778f42249591fe18.tar.gz talos-skeleton-5da4f4fc1706ea5c12981e18778f42249591fe18.zip |
hostctl: Move to kernel FSI interface
The Power8 systems now use the in-kernel FSI driver, so the GPIOs used
for bitbanging are not available. This modifies the FSI SBE startup
code to use the kernel FSI infrastructure.
Change-Id: Ie7f7faab6af89b4311734eae4e252485a2163764
Signed-off-by: Joel Stanley <joel@jms.id.au>
Diffstat (limited to 'libopenbmc_intf')
-rw-r--r-- | libopenbmc_intf/gpio_configs.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libopenbmc_intf/gpio_configs.c b/libopenbmc_intf/gpio_configs.c index 63c6e48..a1cce59 100644 --- a/libopenbmc_intf/gpio_configs.c +++ b/libopenbmc_intf/gpio_configs.c @@ -121,7 +121,7 @@ gboolean read_gpios(GDBusConnection *connection, GpioConfigs *gpios) } gpios->power_gpio.num_pci_reset_outs = g_variant_iter_n_children(pci_reset_outs_iter); - g_print("Power GPIO %d pci reset outputs\n", gpios->power_gpio.num_pci_reset_outs); + g_print("Power GPIO %zd pci reset outputs\n", gpios->power_gpio.num_pci_reset_outs); gpios->power_gpio.pci_reset_outs = g_malloc0_n(gpios->power_gpio.num_pci_reset_outs, sizeof(GPIO)); gpios->power_gpio.pci_reset_pols = g_malloc0_n(gpios->power_gpio.num_pci_reset_outs, |