coreboot/src
Julius Werner 7c712bbb6c Fix code that would trip -Wtype-limits
This patch fixes up all code that would throw a -Wtype-limits warning.
This sometimes involves eliminating unnecessary checks, adding a few odd
but harmless casts or just pragma'ing out the warning for a whole file
-- I tried to find the path of least resistance. I think the overall
benefit of the warning outweighs the occasional weirdness.

Change-Id: Iacd37eb1fad388d9db7267ceccb03e6dcf1ad0d2
Signed-off-by: Julius Werner <jwerner@chromium.org>
Reviewed-on: https://review.coreboot.org/c/coreboot/+/32537
Reviewed-by: Paul Menzel <paulepanter@users.sourceforge.net>
Reviewed-by: Furquan Shaikh <furquan@google.com>
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
2019-05-06 10:32:15 +00:00
..
acpi
arch arch/x86/acpi: Update VT-d DMA remapping structure flags setting 2019-05-01 18:33:55 +00:00
commonlib src: include <assert.h> when appropriate 2019-04-23 10:01:36 +00:00
console Fix code that would trip -Wtype-limits 2019-05-06 10:32:15 +00:00
cpu cpu/intel/car/non-evict: Select NO_FIXED_XIP_ROM_SIZE 2019-04-25 15:56:28 +00:00
device x86emu: add console.h header to fix compilation 2019-05-02 05:00:33 +00:00
drivers Fix code that would trip -Wtype-limits 2019-05-06 10:32:15 +00:00
ec ec/google/wilco: Support board_id with EC provided ID 2019-04-18 23:43:06 +00:00
include soc/skylake: Add missing PCH IDs 2019-05-06 10:29:02 +00:00
lib vboot: refactor OPROM code 2019-04-30 21:47:25 +00:00
mainboard Fix code that would trip -Wtype-limits 2019-05-06 10:32:15 +00:00
northbridge nb/intel/haswell: correct a typo in Kconfig 2019-05-03 14:32:06 +00:00
security vboot: refactor OPROM code 2019-04-30 21:47:25 +00:00
soc Fix code that would trip -Wtype-limits 2019-05-06 10:32:15 +00:00
southbridge Fix code that would trip -Wtype-limits 2019-05-06 10:32:15 +00:00
superio superio/fintek/f71808a: Add more optional ramstage registers 2019-05-01 00:09:57 +00:00
vendorcode Fix code that would trip -Wtype-limits 2019-05-06 10:32:15 +00:00
Kconfig spd_bin: Do not depend CONFIG_DIMM_MAX on CONFIG_GENERIC_SPD_BIN 2019-05-06 10:31:38 +00:00