From a508ca0acdc5cbd0ae8c2342d865d363ef24f185 Mon Sep 17 00:00:00 2001 From: Nico Huber Date: Wed, 24 Jul 2019 19:34:43 +0200 Subject: chipset_enable: Fix recent -Wmissing-field-initializer trouble Change-Id: Idb2ec4a767bdc8fdfab6a78b6448e76ea3388a32 Signed-off-by: Nico Huber Reviewed-on: https://review.coreboot.org/c/flashrom/+/34551 Tested-by: build bot (Jenkins) Reviewed-by: Jacob Garber --- chipset_enable.c | 28 ++++++++++++++-------------- 1 file changed, 14 insertions(+), 14 deletions(-) diff --git a/chipset_enable.c b/chipset_enable.c index 08feda52e..8c884a892 100644 --- a/chipset_enable.c +++ b/chipset_enable.c @@ -621,13 +621,13 @@ static enum chipbustype enable_flash_ich_report_gcs( }; static const struct boot_straps boot_straps_EP80579[] = { { "SPI", BUS_SPI }, - { "reserved" }, - { "reserved" }, + { "reserved", BUS_NONE }, + { "reserved", BUS_NONE }, { "LPC", BUS_LPC | BUS_FWH } }; static const struct boot_straps boot_straps_ich7_nm10[] = - { { "reserved" }, + { { "reserved", BUS_NONE }, { "SPI", BUS_SPI }, - { "PCI" }, + { "PCI", BUS_NONE }, { "LPC", BUS_LPC | BUS_FWH } }; static const struct boot_straps boot_straps_tunnel_creek[] = { { "SPI", BUS_SPI }, @@ -635,29 +635,29 @@ static enum chipbustype enable_flash_ich_report_gcs( static const struct boot_straps boot_straps_ich8910[] = { { "SPI", BUS_SPI }, { "SPI", BUS_SPI }, - { "PCI" }, + { "PCI", BUS_NONE }, { "LPC", BUS_LPC | BUS_FWH } }; static const struct boot_straps boot_straps_pch567[] = { { "LPC", BUS_LPC | BUS_FWH }, - { "reserved" }, - { "PCI" }, + { "reserved", BUS_NONE }, + { "PCI", BUS_NONE }, { "SPI", BUS_SPI } }; static const struct boot_straps boot_straps_pch89_baytrail[] = { { "LPC", BUS_LPC | BUS_FWH }, - { "reserved" }, - { "reserved" }, + { "reserved", BUS_NONE }, + { "reserved", BUS_NONE }, { "SPI", BUS_SPI } }; static const struct boot_straps boot_straps_pch8_lp[] = { { "SPI", BUS_SPI }, { "LPC", BUS_LPC | BUS_FWH } }; static const struct boot_straps boot_straps_apl[] = { { "SPI", BUS_SPI }, - { "reserved" } }; + { "reserved", BUS_NONE } }; static const struct boot_straps boot_straps_unknown[] = - { { "unknown" }, - { "unknown" }, - { "unknown" }, - { "unknown" } }; + { { "unknown", BUS_NONE }, + { "unknown", BUS_NONE }, + { "unknown", BUS_NONE }, + { "unknown", BUS_NONE } }; const struct boot_straps *boot_straps; switch (ich_generation) { -- cgit v1.2.3