coreboot-kgpe-d16/util/sconfig
Duncan Laurie 7f6a484511 sconfig: Apply 'hidden' state from override tree
In order to allow override trees to hide/unhide a device copy
the hidden state to the base device.  This allows a sequence
of states like:

chipset.cb: mark device 'off' by default
devicetree.cb: mark device 'hidden' (to skip resource allocation)
overridetree.cb: mark device 'on' for device present on a variant

BUG=b:159143739
BRANCH=volteer
TEST=build volteer variants with TCSS RP0 either hidden or on
and check the resulting static.c to see if the hidden bit is
set appropriately.

Signed-off-by: Duncan Laurie <dlaurie@google.com>
Change-Id: Iebe5f6d2fd93fbcc4329875565c2ebf4823da59b
Reviewed-on: https://review.coreboot.org/c/coreboot/+/47197
Reviewed-by: Furquan Shaikh <furquan@google.com>
Reviewed-by: Tim Wawrzynczak <twawrzynczak@chromium.org>
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
2020-11-20 00:26:11 +00:00
..
Makefile.inc commonlib: Add commonlib/bsd 2020-01-28 06:36:13 +00:00
description.md
lex.yy.c_shipped sconfig: Allow chipset to provide a base devicetree 2020-10-09 23:25:46 +00:00
main.c sconfig: Apply 'hidden' state from override tree 2020-11-20 00:26:11 +00:00
sconfig.h fw_config: Convert fw_config to a 64-bit field 2020-10-30 15:24:52 +00:00
sconfig.l sconfig: Allow chipset to provide a base devicetree 2020-10-09 23:25:46 +00:00
sconfig.tab.c_shipped sconfig: Allow chipset to provide a base devicetree 2020-10-09 23:25:46 +00:00
sconfig.tab.h_shipped sconfig: Allow chipset to provide a base devicetree 2020-10-09 23:25:46 +00:00
sconfig.y fw_config: Convert fw_config to a 64-bit field 2020-10-30 15:24:52 +00:00