Hello Jacob Garber,
I'd like you to do a code review. Please visit
https://review.coreboot.org/c/flashrom/+/34551
to review the following change.
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 --- M chipset_enable.c 1 file changed, 14 insertions(+), 14 deletions(-)
git pull ssh://review.coreboot.org:29418/flashrom refs/changes/51/34551/1
diff --git a/chipset_enable.c b/chipset_enable.c index 44e3e22..7fb06ee 100644 --- a/chipset_enable.c +++ b/chipset_enable.c @@ -631,13 +631,13 @@ }; static const struct boot_straps boot_straps_EP80579[] = { { "SPI", BUS_SPI }, - { "reserved" }, - { "reserved" }, + { "reserved", 0 }, + { "reserved", 0 }, { "LPC", BUS_LPC | BUS_FWH } }; static const struct boot_straps boot_straps_ich7_nm10[] = - { { "reserved" }, + { { "reserved", 0 }, { "SPI", BUS_SPI }, - { "PCI" }, + { "PCI", 0 }, { "LPC", BUS_LPC | BUS_FWH } }; static const struct boot_straps boot_straps_tunnel_creek[] = { { "SPI", BUS_SPI }, @@ -645,29 +645,29 @@ static const struct boot_straps boot_straps_ich8910[] = { { "SPI", BUS_SPI }, { "SPI", BUS_SPI }, - { "PCI" }, + { "PCI", 0 }, { "LPC", BUS_LPC | BUS_FWH } }; static const struct boot_straps boot_straps_pch567[] = { { "LPC", BUS_LPC | BUS_FWH }, - { "reserved" }, - { "PCI" }, + { "reserved", 0 }, + { "PCI", 0 }, { "SPI", BUS_SPI } }; static const struct boot_straps boot_straps_pch89_baytrail[] = { { "LPC", BUS_LPC | BUS_FWH }, - { "reserved" }, - { "reserved" }, + { "reserved", 0 }, + { "reserved", 0 }, { "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", 0 } }; static const struct boot_straps boot_straps_unknown[] = - { { "unknown" }, - { "unknown" }, - { "unknown" }, - { "unknown" } }; + { { "unknown", 0 }, + { "unknown", 0 }, + { "unknown", 0 }, + { "unknown", 0 } };
const struct boot_straps *boot_straps; switch (ich_generation) {