coreboot/src/mainboard
Stefan Reinauer 42b37f537f clang: Allow initializer overrides
In the code we do the following in a number of places
to pre-initialize an array with a certain value before
overwriting some of the array with other values:

 u8 mainboard_picr_data[FCH_INT_TABLE_SIZE] = {
    [0 ... FCH_INT_TABLE_SIZE-1] = 0x1F,
 }

clang does not like that behavior unless we specify
the option -Wno-initializer-overrides.

Remove the check for gcc in those places, too, because
 1) it would silently change array contents between compilers
 2) the check isn't sufficient to determine compilation on
    clang vs gcc

Signed-off-by: Stefan Reinauer <stefan.reinauer@coreboot.org>
Change-Id: I93cc121b6fec099fcdbd5fd1114c2ff7cbc291dc
Reviewed-on: https://review.coreboot.org/20384
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Reviewed-by: Paul Menzel <paulepanter@users.sourceforge.net>
Reviewed-by: Patrick Georgi <pgeorgi@google.com>
2017-06-27 23:54:03 +00:00
..
a-trend
aaeon AMD Geode: Move conflicting mainboard_romstage_entry() 2017-04-25 22:39:05 +02:00
abit
adi mb/*/*/cmos.layout: Make multibyte options byte aligned 2017-06-06 18:59:40 +02:00
adlink
advansus src/amd: Add common definition of AMD ACPI MMIO address 2017-01-05 21:53:55 +01:00
amd clang: Allow initializer overrides 2017-06-27 23:54:03 +00:00
aopen aopen/dxplplusu: Switch to 2MiB flash 2017-01-13 17:47:20 +01:00
apple Kconfig: Introduce HAVE_(VBE_)LINEAR_FRAMEBUFFER 2017-06-02 18:37:45 +02:00
artecgroup AMD Geode: Move conflicting mainboard_romstage_entry() 2017-04-25 22:39:05 +02:00
asrock mb/asrock/g41c-gs: Rename the board to G41C-GS R2.0 (g41c-gs_r2_0). 2017-06-09 19:59:33 +02:00
asus Consolidate reset API, add generic reset_prepare mechanism 2017-06-13 20:53:09 +02:00
avalue src/amd: Add common definition of AMD ACPI MMIO address 2017-01-05 21:53:55 +01:00
azza
bachmann AMD geode: Avoid conflicting main() declaration 2017-03-08 03:19:46 +01:00
bap vendorcode/amd: Unify Porting.h across all targets 2017-06-27 17:35:39 +00:00
bcom southbridge/via/vt8237r: Get rid of #include early_smbus.c 2017-04-14 17:20:26 +02:00
biostar AGESA: Introduce AGESA_LEGACY and its counterpart 2017-03-28 01:57:09 +02:00
broadcom nb/amdk8: Link coherent_ht.c 2017-04-28 17:20:51 +02:00
compaq
cubietech
digitallogic AMD Geode: Move conflicting mainboard_romstage_entry() 2017-04-25 22:39:05 +02:00
dmp dmp/vortex86ex: Drop excessive include 2016-06-18 20:00:58 +02:00
ecs
elmex elmex/pcm205400: Switch away from AGESA_LEGACY 2017-03-28 01:59:11 +02:00
emulation mainboard/emulation/qemu-i440fx/fw_cfg: Fix undefined behavior 2017-06-19 20:47:39 +02:00
esd mb/*/*/cmos.layout: Make multibyte options byte aligned 2017-06-06 18:59:40 +02:00
foxconn mb/foxconn/g41s-k: add new mainboard 2017-06-12 04:41:02 +02:00
getac Kconfig: Introduce HAVE_(VBE_)LINEAR_FRAMEBUFFER 2017-06-02 18:37:45 +02:00
gigabyte cpu/intel/model_206ax: Use tsc monotonic timer 2017-06-09 16:27:19 +02:00
gizmosphere gizmosphere/gizmo: Switch away from AGESA_LEGACY 2017-03-28 01:58:13 +02:00
google mainboard/google/soraka: Update VR config settings 2017-06-27 20:46:48 +00:00
hp mb/*/*/cmos.layout: Make multibyte options byte aligned 2017-06-06 18:59:40 +02:00
ibase nb/intel/i945: Define and use a default MMCONF_BASE_ADDRESS 2017-05-11 16:39:35 +02:00
iei AMD Geode: Move conflicting mainboard_romstage_entry() 2017-04-25 22:39:05 +02:00
intel soc/braswell: fix scope for I2C ACPI devices 2017-06-09 16:29:10 +02:00
iwave cpu/x86/msr.h: Drop excessive includes 2016-12-06 20:54:31 +01:00
iwill nb/amdk8: Link coherent_ht.c 2017-04-28 17:20:51 +02:00
jetway southbridge/via/vt8237r: Get rid of #include early_smbus.c 2017-04-14 17:20:26 +02:00
kontron mb/*/*/cmos.layout: Make multibyte options byte aligned 2017-06-06 18:59:40 +02:00
lanner
lenovo mainboard/lenovo/x220: allow to use libgfxinit 2017-06-27 16:51:02 +00:00
linutop
lippert AMD Geode: Move conflicting mainboard_romstage_entry() 2017-04-25 22:39:05 +02:00
lowrisc mb/lowrisc/nexys4ddr: Read RAM information from the config string 2016-12-06 18:52:42 +01:00
mitac
msi mb/*/*/cmos.layout: Make multibyte options byte aligned 2017-06-06 18:59:40 +02:00
nec
nokia
nvidia nb/amdk8: Link coherent_ht.c 2017-04-28 17:20:51 +02:00
packardbell Kconfig: Rework MAINBOARD_HAS_NATIVE_VGA_INIT_TEXTMODECFG 2017-06-02 18:35:41 +02:00
pcengines clang: Allow initializer overrides 2017-06-27 23:54:03 +00:00
purism purism/librem13v2: Fix HDA verb values, use azalia macros 2017-06-16 16:19:13 +02:00
rca
roda nb/intel/gm45: Don't allow too low values for gfx_uma_size 2017-06-15 00:35:35 +02:00
samsung vboot: Move remaining features out of vendorcode/google/chromeos 2017-03-28 22:18:13 +02:00
sapphire cpu/intel/model_206ax: Use tsc monotonic timer 2017-06-09 16:27:19 +02:00
siemens siemens/mc_apl1: Enable decoding for COM 3 on LPC 2017-06-23 06:52:25 +00:00
soyo
sunw nb/amdk8: Link coherent_ht.c 2017-04-28 17:20:51 +02:00
supermicro Use more secure HTTPS URLs for coreboot sites 2017-06-07 12:04:50 +02:00
technexion nb/amdk8: Link coherent_ht.c 2017-04-28 17:20:51 +02:00
thomson mainboard/thomson/ip1000: transition away from device_t 2016-11-10 17:00:59 +01:00
ti
traverse AMD Geode: Move conflicting mainboard_romstage_entry() 2017-04-25 22:39:05 +02:00
tyan mb/*/*/cmos.layout: Make multibyte options byte aligned 2017-06-06 18:59:40 +02:00
via Use more secure HTTPS URLs for coreboot sites 2017-06-07 12:04:50 +02:00
winent nb/amdk8: Link coherent_ht.c 2017-04-28 17:20:51 +02:00
wyse AMD Geode: Move conflicting mainboard_romstage_entry() 2017-04-25 22:39:05 +02:00
Kconfig Kconfig: Remind users to delete .config when switching boards 2017-01-06 21:33:58 +01:00