coreboot-kgpe-d16/src/mainboard/intel/cougar_canyon2
Martin Roth 4fb64d0b88 fsp 1.0 systems: Check for NULL when saving HobListPtr
Die if cbmem_add can't allocate memory for the hob pointer.  This
shouldn't ever happen, but it's a reasonable check.

- fsp_broadwell_de already had a check, but it returned to someplace
inside the FSP.  Just die instead.

Change-Id: Ieef8d6ab81aab0ec3d52b729e34566bb34ee0623
Found-by: Coverity Scan #1291162
Signed-off-by: Martin Roth <martinroth@google.com>
Reviewed-on: https://review.coreboot.org/18092
Tested-by: build bot (Jenkins)
Reviewed-by: Werner Zeh <werner.zeh@siemens.com>
2017-01-12 17:19:26 +01:00
..
acpi
acpi_tables.c cpu/x86/msr.h: Drop excessive includes 2016-12-06 20:54:31 +01:00
board_info.txt
cmos.layout
devicetree.cb
dsdt.asl
gpio.h
hda_verb.c
Kconfig intel FSP sandy/ivy: Move select MMCONF_SUPPORT 2016-11-22 04:14:49 +01:00
Kconfig.name
mainboard.c
mainboard_smi.c
romstage.c fsp 1.0 systems: Check for NULL when saving HobListPtr 2017-01-12 17:19:26 +01:00
thermal.h