coreboot-kgpe-d16/util/sconfig
Furquan Shaikh 4ebe953090 util/sconfig: Drop id from struct device maintained by sconfig
This change drops the id field from struct device as used by
sconfig. It was primarily used for generating unique device names. This
was maintained within device structure so that the order in which the
device tree entries were parsed is clear. Since the ids are assigned
in parsing order, it is problematic when a device is moved from base
devicetree to override tree. The entire parsing order changes which
makes it really difficult to compare what really changed in static.c
file.

By moving the dev name assignment to happen later when doing pass0 of
static.c generation, the difference in static.c file is minimized when
adding support for override trees.

BUG=b:155549176

Change-Id: I31870ace5a2fd7d5f95ab5e30d794c3bc959ed46
Signed-off-by: Furquan Shaikh <furquan@google.com>
Reviewed-on: https://review.coreboot.org/c/coreboot/+/41005
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Reviewed-by: Aaron Durbin <adurbin@chromium.org>
2020-05-07 11:55:27 +00:00
..
Makefile.inc commonlib: Add commonlib/bsd 2020-01-28 06:36:13 +00:00
description.md util: Add description.md to each util 2018-07-26 13:26:50 +00:00
lex.yy.c_shipped Add configurable ramstage support for minimal PCI scanning 2020-02-08 18:57:36 +00:00
main.c util/sconfig: Drop id from struct device maintained by sconfig 2020-05-07 11:55:27 +00:00
sconfig.h util/sconfig: Drop id from struct device maintained by sconfig 2020-05-07 11:55:27 +00:00
sconfig.l Add configurable ramstage support for minimal PCI scanning 2020-02-08 18:57:36 +00:00
sconfig.tab.c_shipped sconfig: Allow `register` entries below devices, too 2020-05-05 13:03:29 +00:00
sconfig.tab.h_shipped sconfig: Allow `register` entries below devices, too 2020-05-05 13:03:29 +00:00
sconfig.y sconfig: Allow `register` entries below devices, too 2020-05-05 13:03:29 +00:00