coreboot-kgpe-d16/util/sconfig
Furquan Shaikh de39fc7160 util/sconfig: Prepare sconfig to allow parsing multiple trees
In preparation to allow devicetree overrides, it will be necessary to
use the same parsing functions to prepare two separate parse
trees. This change does the following things:
1. Updates root device and bus names to add base_ prefix.
2. Adds a function parse_devicetree that sets the root_parent and
linenum before calling yyparse().
3. Updates all uses of root_dev to refer to the next base_root_dev.

BUG=b:80081934
TEST=Verified that static.c generated for all boards built using
abuild is the same with and without this change.

Change-Id: I403a90c1ebf07ac66115ddfe137daf0980dc1a18
Signed-off-by: Furquan Shaikh <furquan@google.com>
Reviewed-on: https://review.coreboot.org/27017
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Reviewed-by: Stefan Reinauer <stefan.reinauer@coreboot.org>
2018-06-13 14:48:12 +00:00
..
Makefile.inc
lex.yy.c_shipped
main.c util/sconfig: Prepare sconfig to allow parsing multiple trees 2018-06-13 14:48:12 +00:00
sconfig.h util/sconfig: Get rid of rescnt in struct device 2018-06-08 23:36:47 +00:00
sconfig.l
sconfig.tab.c_shipped util/sconfig: Re-factor device structure in parse tree 2018-06-08 23:36:02 +00:00
sconfig.tab.h_shipped util/sconfig: Re-factor device structure in parse tree 2018-06-08 23:36:02 +00:00
sconfig.y util/sconfig: Re-factor device structure in parse tree 2018-06-08 23:36:02 +00:00