diff options
author | Furquan Shaikh <furquan@google.com> | 2018-06-11 04:26:45 -0700 |
---|---|---|
committer | Patrick Georgi <pgeorgi@google.com> | 2018-06-13 14:48:12 +0000 |
commit | de39fc71604eb49ee652d68085595d2f151d8a28 (patch) | |
tree | ff2e9f69693be4de97addad4f7c9af253a3bb5cf /src/southbridge | |
parent | 93459d6278f1557f3e38c33b79a8fd739aa7ff68 (diff) |
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>
Diffstat (limited to 'src/southbridge')
0 files changed, 0 insertions, 0 deletions