coreboot-kgpe-d16/util/sconfig
Furquan Shaikh 369e1f074f util/sconfig: Add helper function for allocating memory
Add a helper function s_alloc (sconfig alloc) that allocates memory
using calloc to get 0 initialized memory and checks to ensure it is
not NULL.

BUG=b:80081934

Change-Id: I56a70cf4865c50ed238226ace86e867bb1ec53db
Signed-off-by: Furquan Shaikh <furquan@google.com>
Reviewed-on: https://review.coreboot.org/26738
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Reviewed-by: Aaron Durbin <adurbin@chromium.org>
2018-06-05 20:57:51 +00:00
..
Makefile.inc
lex.yy.c_shipped devicetree: Add USB device type 2018-05-11 08:59:51 +00:00
main.c util/sconfig: Add helper function for allocating memory 2018-06-05 20:57:51 +00:00
sconfig.h util/sconfig: Get rid of bus pointer in device structure 2018-06-05 20:57:39 +00:00
sconfig.l devicetree: Add USB device type 2018-05-11 08:59:51 +00:00
sconfig.tab.c_shipped util/sconfig: Get rid of bus pointer in device structure 2018-06-05 20:57:39 +00:00
sconfig.tab.h_shipped util/sconfig: Re-factor sconfig to not assume chip as device 2018-06-05 20:57:16 +00:00
sconfig.y util/sconfig: Get rid of bus pointer in device structure 2018-06-05 20:57:39 +00:00