diff options
author | Nico Huber <nico.h@gmx.de> | 2019-07-24 19:34:43 +0200 |
---|---|---|
committer | Nico Huber <nico.h@gmx.de> | 2019-07-31 08:27:57 +0000 |
commit | a508ca0acdc5cbd0ae8c2342d865d363ef24f185 (patch) | |
tree | 8fe50245d5bb3b8817427287510f199df1015e73 | |
parent | 519be66fc59558971dd653afe69ccaf1a633b492 (diff) | |
download | flashrom-a508ca0acdc5cbd0ae8c2342d865d363ef24f185.tar.gz flashrom-a508ca0acdc5cbd0ae8c2342d865d363ef24f185.tar.bz2 flashrom-a508ca0acdc5cbd0ae8c2342d865d363ef24f185.zip |
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>
-rw-r--r-- | chipset_enable.c | 28 |
1 files changed, 14 insertions, 14 deletions
diff --git a/chipset_enable.c b/chipset_enable.c index 08feda52..8c884a89 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) { |