coreboot/src/mainboard
Jacob Garber 7da638c20e mb/sifive/hifive-unleashed: Check for errors in fixup_fdt
It is possible that cbfs_boot_map_with_leak() and malloc() could fail,
so detect those conditions and print error messages if they do.

Change-Id: I34951da0b73028c4c89446cb1779a72422997325
Signed-off-by: Jacob Garber <jgarber1@ualberta.ca>
Found-by: Coverity CID 1399147
Reviewed-on: https://review.coreboot.org/c/coreboot/+/33134
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Reviewed-by: Patrick Rudolph <siro@das-labor.org>
Reviewed-by: Xiang Wang <wxjstz@126.com>
2019-06-03 13:18:27 +00:00
..
adi src: Drop unused 'include <arch/acpigen.h>' 2019-03-12 07:27:28 +00:00
adlink
advansus src: Use 'include <string.h>' when appropriate 2019-03-20 20:27:51 +00:00
amd sb/amd/cimx/sb800: Get rid of power button device in coreboot 2019-05-20 14:43:44 +00:00
aopen src/mb/Kconfig: Fix PCI subsystem IDs 2019-04-19 17:48:15 +00:00
apple src/mainboard: Remove unneeded include <arch/io.h> 2019-05-15 17:59:05 +00:00
asrock sb/amd/cimx/sb800: Get rid of power button device in coreboot 2019-05-20 14:43:44 +00:00
asus src/mainboard: Add missing 'include <types.h>' 2019-05-29 20:29:28 +00:00
avalue src: Use 'include <string.h>' when appropriate 2019-03-20 20:27:51 +00:00
bap src: Add missing include 'console.h' 2019-04-23 10:00:39 +00:00
biostar src: Add missing include 'console.h' 2019-04-23 10:00:39 +00:00
cavium src: Use 'include <string.h>' when appropriate 2019-03-20 20:27:51 +00:00
compulab nb/intel/snb: Drop NORTHBRIDGE_INTEL_IVYBRIDGE 2019-05-12 15:03:03 +00:00
cubietech src/mainboard: Add missing 'include <types.h>' 2019-05-29 20:29:28 +00:00
elmex sb/amd/cimx/sb800: Get rid of power button device in coreboot 2019-05-20 14:43:44 +00:00
emulation src: Use 'include <string.h>' when appropriate 2019-03-20 20:27:51 +00:00
esd src: Use 'include <string.h>' when appropriate 2019-03-20 20:27:51 +00:00
facebook mb/facebook/watson: Don't use deprecated IS_ENABLED 2019-04-20 04:22:46 +00:00
foxconn nb/intel/pineview: Move to C_ENVIRONMENT_BOOTBLOCK 2019-05-25 15:49:27 +00:00
getac src: Remove unused include <halt.h> 2019-05-06 10:39:01 +00:00
gigabyte mb/gigabyte/ga-b75m-d3{h,v}: Switch to variant setup 2019-05-29 20:01:52 +00:00
gizmosphere sb/amd/cimx/sb800: Get rid of power button device in coreboot 2019-05-20 14:43:44 +00:00
google mb/google/poppy/variants/nami: Add fallthrough comment 2019-06-03 13:18:11 +00:00
hp nb/intel/snb: Drop NORTHBRIDGE_INTEL_IVYBRIDGE 2019-05-12 15:03:03 +00:00
ibase src/mainboard: Remove unneeded include <arch/io.h> 2019-05-15 17:59:05 +00:00
iei src: Use 'include <string.h>' when appropriate 2019-03-20 20:27:51 +00:00
intel drivers/intel/fsp1.1: Simplify bootflow and clean up 2019-05-29 20:17:48 +00:00
jetway sb/amd/cimx/sb800: Get rid of power button device in coreboot 2019-05-20 14:43:44 +00:00
kontron src/mainboard: Remove unneeded include <arch/io.h> 2019-05-15 17:59:05 +00:00
lenovo mb/lenovo/*: Remove useless smihandler code 2019-06-03 10:14:06 +00:00
lippert src: Add missing include 'console.h' 2019-04-23 10:00:39 +00:00
msi mb/msi/ms7707: Remove MAINBOARD_PCI_SUBSYSTEM_{DEVICE_ID,VENDOR_ID} 2019-05-05 10:47:58 +00:00
ocp mb/ocp/monolake: replace IS_ENABLED(CONFIG_*) with CONFIG() 2019-05-16 20:16:38 +00:00
opencellular src: Use include <delay.h> when appropriate 2019-04-06 16:09:12 +00:00
packardbell Clean up unused arch/early_variables.h header 2019-05-29 20:03:14 +00:00
pcengines sb/amd/cimx/sb800: Get rid of power button device in coreboot 2019-05-20 14:43:44 +00:00
purism soc/intel/broadwell: Clean up the bootflow 2019-05-14 23:22:51 +00:00
roda nb/intel/snb: Drop NORTHBRIDGE_INTEL_IVYBRIDGE 2019-05-12 15:03:03 +00:00
samsung mb/samsung/lumpy: Move onboard SPD to second channel 2019-05-13 09:28:11 +00:00
sapphire nb/intel/snb: Drop NORTHBRIDGE_INTEL_IVYBRIDGE 2019-05-12 15:03:03 +00:00
scaleway src: Use 'include <string.h>' when appropriate 2019-03-20 20:27:51 +00:00
siemens src/mainboard: Add missing 'include <types.h>' 2019-05-29 20:29:28 +00:00
sifive mb/sifive/hifive-unleashed: Check for errors in fixup_fdt 2019-06-03 13:18:27 +00:00
supermicro mb/supermicro/x10slm-f: Do SIO setup in bootblock 2019-04-25 15:52:03 +00:00
ti device/mmio.h: Add include file for MMIO ops 2019-03-04 15:57:39 +00:00
tyan src: Use 'include <string.h>' when appropriate 2019-03-20 20:27:51 +00:00
up mb/up/squared: Add mainboard 2019-05-22 12:13:22 +00:00
via src: Use 'include <string.h>' when appropriate 2019-03-20 20:27:51 +00:00
Kconfig Kconfig: Unify power-after-failure options 2019-01-06 15:54:19 +00:00