coreboot-kgpe-d16/src
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
..
acpi
arch arch/x86/smbios: Fix scope of variable declaration 2017-06-22 15:20:17 +00:00
commonlib commonlib/storage: Zero extend MMC capacity 2017-06-27 21:55:49 +00:00
console src/console: add IS_ENABLED() around Kconfig symbol references 2017-06-12 04:08:55 +02:00
cpu vendorcode/amd: Unify Porting.h across all targets 2017-06-27 17:35:39 +00:00
device device/pnp: remove struct io_info 2017-06-13 15:21:58 +02:00
drivers drivers/spi: Don't disable non-existent warnings on clang 2017-06-27 17:00:55 +00:00
ec device/pnp: remove struct io_info 2017-06-13 15:21:58 +02:00
include include/device: Add pci ids for Intel CNL 2017-06-27 16:50:26 +00:00
lib lib/coreboot_tables: Zero framebuffer structure 2017-06-27 02:16:03 +00:00
mainboard clang: Allow initializer overrides 2017-06-27 23:54:03 +00:00
northbridge nb/intel/fsp_rangeley/port_access.c: Add brackets around macro 2017-06-27 19:44:04 +00:00
soc soc/amd/stoneyridge: Add tseg size to Kconfig 2017-06-27 20:52:13 +00:00
southbridge sis/sis966: Clean up sata.c 2017-06-27 23:50:59 +00:00
superio device/pnp: remove struct io_info 2017-06-13 15:21:58 +02:00
vboot vboot: Separate board name and version number in FWID with a dot 2017-04-29 01:44:10 +02:00
vendorcode vendorcode/amd: Unify Porting.h across all targets 2017-06-27 17:35:39 +00:00
Kconfig Add support for Undefined Behavior Sanitizer 2017-06-14 19:56:59 +02:00