coreboot-kgpe-d16/src
Julius Werner 9636a106d4 device_tree: Switch allocations to xzalloc()
The FIT code is already using xzalloc() everywhere, and that's the only
real consumer of device tree code right now. Chances are if you're
trying to unflatten an FDT and it doesn't fit into the heap you're
pretty much screwed anyway, so all the OOM handling feels a bit
unnecessary (and some functions will just silently fail because they
don't have a return value, which is bad). Let's just switch this all to
die on failed allocations.

Change-Id: I738f24d550a776653b2becd3d4f7d4d2cb3cc048
Signed-off-by: Julius Werner <jwerner@chromium.org>
Reviewed-on: https://review.coreboot.org/c/coreboot/+/32861
Reviewed-by: Hung-Te Lin <hungte@chromium.org>
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
2019-06-04 11:22:25 +00:00
..
acpi
arch arch/riscv/Kconfig: Make correct default value for CONFIG_ARCH_RISCV_M 2019-06-04 01:54:15 +00:00
commonlib commonlib: fix typo LB_TAB_* (instead of LB_TAG_*) 2019-05-29 20:12:57 +00:00
console console: Move poor-man's atoi() into string.h 2019-05-23 08:43:12 +00:00
cpu cpu/amd/family_10h-family_15h: Remove variable set but not used 2019-06-03 13:32:19 +00:00
device src/device: Prevent attack on null pointer dereference 2019-06-03 13:25:25 +00:00
drivers drivers/aspeed/ast2050: Remove variable set but not used 2019-06-03 13:29:26 +00:00
ec ec/lenovo/h8: Fix method name in ACPI code 2019-06-03 10:10:21 +00:00
include string.h: Move common string functions into .c file 2019-05-31 18:22:11 +00:00
lib device_tree: Switch allocations to xzalloc() 2019-06-04 11:22:25 +00:00
mainboard mb/google/hatch: Enable LTR for PCIe ports 2019-06-04 11:20:42 +00:00
northbridge nb/amd/pi/00630F01/northbridge.c: Remove variable set but not used 2019-06-03 13:32:50 +00:00
security post_code: add post code for failure to load next stage 2019-05-22 14:21:57 +00:00
soc soc/intel/cannonlake: Do not read SPD again if index hasn't changed 2019-06-04 02:40:08 +00:00
southbridge sb/intel/i82801ix: Select SOUTHBRIDGE_INTEL_COMMON_SPI 2019-06-03 15:02:32 +00:00
superio superio/fintek/f71863fg: Remove variable set but not used 2019-05-25 18:20:15 +00:00
vendorcode vendorcode/eltan: Add vendor code for measured and verified boot 2019-06-04 10:41:53 +00:00
Kconfig src/Kconfig: Move DRAM section to src/lib/Kconfig 2019-05-20 10:58:56 +00:00