Nico Huber merged this change.

View Change

Approvals: build bot (Jenkins): Verified Jacob Garber: Looks good to me, approved
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(-)

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) {

To view, visit change 34551. To unsubscribe, or for help writing mail filters, visit settings.

Gerrit-Project: flashrom
Gerrit-Branch: master
Gerrit-Change-Id: Idb2ec4a767bdc8fdfab6a78b6448e76ea3388a32
Gerrit-Change-Number: 34551
Gerrit-PatchSet: 6
Gerrit-Owner: Nico Huber <nico.h@gmx.de>
Gerrit-Reviewer: Jacob Garber <jgarber1@ualberta.ca>
Gerrit-Reviewer: Nico Huber <nico.h@gmx.de>
Gerrit-Reviewer: build bot (Jenkins) <no-reply@coreboot.org>
Gerrit-CC: Paul Menzel <paulepanter@users.sourceforge.net>
Gerrit-MessageType: merged