coreboot-kgpe-d16/util/sconfig
Furquan Shaikh 0df32c85ad sconfig: Emit device structure pointers if alias names are provided
This change uses _dev_${ALIAS_NAME} as the name for `struct device` if
the device has an alias. In addition to that, it emits
_dev_${ALIAS_NAME}_ptr which points to the device structure. This
allows developers to directly reference a particular device in the tree
using alias name without having to walk the entire path. In later CLs,
mainboards are transitioned to use this newly emitted device structure
pointers.

Change-Id: I8306d9efba8e5ca5c0bda41baac9c90ad8b73ece
Signed-off-by: Furquan Shaikh <furquan@google.com>
Reviewed-on: https://review.coreboot.org/c/coreboot/+/57657
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Reviewed-by: Nico Huber <nico.h@gmx.de>
Reviewed-by: Tim Wawrzynczak <twawrzynczak@chromium.org>
Reviewed-by: Karthik Ramasubramanian <kramasub@google.com>
2021-09-20 12:17:13 +00:00
..
Makefile.inc
description.md
lex.yy.c_shipped util/sconfig: Remove unused devicetree keywords ESPI & LPC 2021-07-14 20:24:00 +00:00
main.c sconfig: Emit device structure pointers if alias names are provided 2021-09-20 12:17:13 +00:00
sconfig.h util/sconfig: Add support for discontiguous FW_CONFIG fields 2021-05-03 07:40:57 +00:00
sconfig.l util/sconfig: Remove unused devicetree keywords ESPI & LPC 2021-07-14 20:24:00 +00:00
sconfig.tab.c_shipped sconfig: Ensure at least one `device` node below each `chip` 2021-09-08 19:03:20 +00:00
sconfig.tab.h_shipped sconfig: Ensure at least one `device` node below each `chip` 2021-09-08 19:03:20 +00:00
sconfig.y sconfig: Ensure at least one `device` node below each `chip` 2021-09-08 19:03:20 +00:00