coreboot/src/soc
John Zhao 2bb432ece6 soc/intel/common: Check bios_size and window_size after MIN operation
Clang Static Analyzer version 8.0.0 detects that log2_ceil(bios_size)
and log2_ceil(window_size) are garbage or undefined if the value of
bios_size and window_size is zero. Check bios_size and window_size after
MIN operation to prevent error.

TEST=Built and boot up to kernel.

Change-Id: Ifc3f3da52d129ef5d6063a46b045603a236be759
Signed-off-by: John Zhao <john.zhao@intel.com>
Reviewed-on: https://review.coreboot.org/c/coreboot/+/32924
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Reviewed-by: Duncan Laurie <dlaurie@chromium.org>
2019-05-29 20:08:04 +00:00
..
amd soc/amd/common: Identify AGESA call pattern 2019-05-22 10:08:59 +00:00
cavium soc/cavium/common/bootblock: Remove unused variables 2019-04-25 15:55:27 +00:00
imgtec arch/mips: Fix <arch/mmio.h> prototypes 2019-03-22 12:18:41 +00:00
intel soc/intel/common: Check bios_size and window_size after MIN operation 2019-05-29 20:08:04 +00:00
mediatek mediatek/mt8183: Wait 200us for voltages to settle 2019-05-06 10:27:53 +00:00
nvidia vboot: refactor OPROM code 2019-04-30 21:47:25 +00:00
qualcomm soc/qualcomm/sdm845: Fix broken Kconfig 2019-05-17 20:19:03 +00:00
rockchip Fix code that would trip -Wtype-limits 2019-05-06 10:32:15 +00:00
samsung Fix code that would trip -Wtype-limits 2019-05-06 10:32:15 +00:00
sifive src/mb/sifive/hifive-unleashed: initialize Gigabit Ethernet Controller 2019-03-18 09:12:46 +00:00
ucb riscv: Add initial support for 32bit boards 2019-02-13 04:49:14 +00:00