coreboot-kgpe-d16/util/sconfig
Furquan Shaikh 4d99b27018 util/sconfig: Throw an error if override tree has no devices
If override tree does not have any device, then the chip info
structure in it cannot be associated with the correct device and ends
up being added as a standalone chip info structure without any device
actually using it. This change prevents this condition by throwing an
error during compilation.

BUG=b:130342895

Change-Id: I7b8bb6b3228030a465976ca32ce8ef63f41365dd
Signed-off-by: Furquan Shaikh <furquan@google.com>
Reviewed-on: https://review.coreboot.org/c/coreboot/+/32289
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Reviewed-by: Duncan Laurie <dlaurie@chromium.org>
Reviewed-by: Aaron Durbin <adurbin@chromium.org>
2019-04-24 16:23:51 +00:00
..
Makefile.inc
description.md util: Add description.md to each util 2018-07-26 13:26:50 +00:00
lex.yy.c_shipped sconfig: Allow setting device status in device tree 2018-09-16 08:37:36 +00:00
main.c util/sconfig: Throw an error if override tree has no devices 2019-04-24 16:23:51 +00:00
sconfig.h sconfig: Allow setting device status in device tree 2018-09-16 08:37:36 +00:00
sconfig.l sconfig: Allow setting device status in device tree 2018-09-16 08:37:36 +00:00
sconfig.tab.c_shipped sconfig: Allow setting device status in device tree 2018-09-16 08:37:36 +00:00
sconfig.tab.h_shipped sconfig: Allow setting device status in device tree 2018-09-16 08:37:36 +00:00
sconfig.y sconfig: Allow setting device status in device tree 2018-09-16 08:37:36 +00:00