Nico Huber has submitted this change and it was merged. ( https://review.coreboot.org/c/flashrom/+/34551 )
Change subject: chipset_enable: Fix recent -Wmissing-field-initializer trouble ......................................................................
chipset_enable: Fix recent -Wmissing-field-initializer trouble
Change-Id: Idb2ec4a767bdc8fdfab6a78b6448e76ea3388a32 Signed-off-by: Nico Huber nico.h@gmx.de Reviewed-on: https://review.coreboot.org/c/flashrom/+/34551 Tested-by: build bot (Jenkins) no-reply@coreboot.org Reviewed-by: Jacob Garber jgarber1@ualberta.ca --- M chipset_enable.c 1 file changed, 14 insertions(+), 14 deletions(-)
Approvals: build bot (Jenkins): Verified Jacob Garber: Looks good to me, approved
diff --git a/chipset_enable.c b/chipset_enable.c index 08feda5..8c884a8 100644 --- a/chipset_enable.c +++ b/chipset_enable.c @@ -621,13 +621,13 @@ }; 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 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) {