coreboot/src/vendorcode
Joe Moore a608dd80d5 vc/amd/agesa/[...]/Config: Avoid out-of-bounds warnings
The memNTrainFlowControl array is generating Coverity warnings
in multiple places in code where it attempts to write to index 1.
The array is defined as either 2 elements or 1 of NULL depending
on #if (AGESA_ENTRY_INIT_POST == TRUE). This is likely a false
alarm from Coverity (memory should not be training outside of a
POST), but adding a second NULL element for the
AGESA_ENTRY_INIT_POST == FALSE case. Tested on Lenovo G505s.

Change-Id: Iaebe0830471e1854d6191c69cdaa552f900ba7a6
Signed-off-by: Joe Moore <awokd@danwin1210.me>
Found-by: Coverity CID 1357451, 1357452, 1357453
Reviewed-on: https://review.coreboot.org/c/coreboot/+/38176
Reviewed-by: Patrick Georgi <pgeorgi@google.com>
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
2020-03-04 16:09:09 +00:00
..
amd vc/amd/agesa/[...]/Config: Avoid out-of-bounds warnings 2020-03-04 16:09:09 +00:00
cavium dram-spd: Remove free() 2019-12-27 16:08:40 +00:00
eltan vboot: remove use of NEED_VB20_INTERNALS switch 2020-02-19 12:08:12 +00:00
google vboot: remove rogue vboot_struct.h include 2020-02-24 12:47:55 +00:00
intel vendorcode/intel/fsp/fsp2_0/tgl: Update FSP header for Tiger Lake 2020-03-03 10:19:39 +00:00
siemens vendorcode/siemens/hwilib: Fix current file string usage 2019-11-29 09:03:41 +00:00
Makefile.inc vendorcode/eltan: Add vendor code for measured and verified boot 2019-06-04 10:41:53 +00:00