1
0
mirror of https://review.coreboot.org/flashrom.git synced 2025-04-28 15:33:42 +02:00

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>
This commit is contained in:
Nico Huber 2019-07-24 19:34:43 +02:00
parent 519be66fc5
commit a508ca0acd

View File

@ -621,13 +621,13 @@ static enum chipbustype enable_flash_ich_report_gcs(
}; };
static const struct boot_straps boot_straps_EP80579[] = static const struct boot_straps boot_straps_EP80579[] =
{ { "SPI", BUS_SPI }, { { "SPI", BUS_SPI },
{ "reserved" }, { "reserved", BUS_NONE },
{ "reserved" }, { "reserved", BUS_NONE },
{ "LPC", BUS_LPC | BUS_FWH } }; { "LPC", BUS_LPC | BUS_FWH } };
static const struct boot_straps boot_straps_ich7_nm10[] = static const struct boot_straps boot_straps_ich7_nm10[] =
{ { "reserved" }, { { "reserved", BUS_NONE },
{ "SPI", BUS_SPI }, { "SPI", BUS_SPI },
{ "PCI" }, { "PCI", BUS_NONE },
{ "LPC", BUS_LPC | BUS_FWH } }; { "LPC", BUS_LPC | BUS_FWH } };
static const struct boot_straps boot_straps_tunnel_creek[] = static const struct boot_straps boot_straps_tunnel_creek[] =
{ { "SPI", BUS_SPI }, { { "SPI", BUS_SPI },
@ -635,29 +635,29 @@ static enum chipbustype enable_flash_ich_report_gcs(
static const struct boot_straps boot_straps_ich8910[] = static const struct boot_straps boot_straps_ich8910[] =
{ { "SPI", BUS_SPI }, { { "SPI", BUS_SPI },
{ "SPI", BUS_SPI }, { "SPI", BUS_SPI },
{ "PCI" }, { "PCI", BUS_NONE },
{ "LPC", BUS_LPC | BUS_FWH } }; { "LPC", BUS_LPC | BUS_FWH } };
static const struct boot_straps boot_straps_pch567[] = static const struct boot_straps boot_straps_pch567[] =
{ { "LPC", BUS_LPC | BUS_FWH }, { { "LPC", BUS_LPC | BUS_FWH },
{ "reserved" }, { "reserved", BUS_NONE },
{ "PCI" }, { "PCI", BUS_NONE },
{ "SPI", BUS_SPI } }; { "SPI", BUS_SPI } };
static const struct boot_straps boot_straps_pch89_baytrail[] = static const struct boot_straps boot_straps_pch89_baytrail[] =
{ { "LPC", BUS_LPC | BUS_FWH }, { { "LPC", BUS_LPC | BUS_FWH },
{ "reserved" }, { "reserved", BUS_NONE },
{ "reserved" }, { "reserved", BUS_NONE },
{ "SPI", BUS_SPI } }; { "SPI", BUS_SPI } };
static const struct boot_straps boot_straps_pch8_lp[] = static const struct boot_straps boot_straps_pch8_lp[] =
{ { "SPI", BUS_SPI }, { { "SPI", BUS_SPI },
{ "LPC", BUS_LPC | BUS_FWH } }; { "LPC", BUS_LPC | BUS_FWH } };
static const struct boot_straps boot_straps_apl[] = static const struct boot_straps boot_straps_apl[] =
{ { "SPI", BUS_SPI }, { { "SPI", BUS_SPI },
{ "reserved" } }; { "reserved", BUS_NONE } };
static const struct boot_straps boot_straps_unknown[] = static const struct boot_straps boot_straps_unknown[] =
{ { "unknown" }, { { "unknown", BUS_NONE },
{ "unknown" }, { "unknown", BUS_NONE },
{ "unknown" }, { "unknown", BUS_NONE },
{ "unknown" } }; { "unknown", BUS_NONE } };
const struct boot_straps *boot_straps; const struct boot_straps *boot_straps;
switch (ich_generation) { switch (ich_generation) {