coreboot/util/sconfig
Nicholas Chin 05a13e7ed9 sconfig: Move (WEAK_)DEV_PTR from device.h to static.h
Similar to commit 8651731537 ("sconfig: Move config_of_soc from
device.h to static.h"), move these macros to static.h to separate
dependencies on device.h and static.h. These macros resolve to device
alises that are declared in the generated static_devices.h header, so
move them to static.h which includes static_devices.h.

Since static.h remains included in device.h, any source that uses these
macros should still compile correctly. Subsequent commits will add
static.h to files that need them, after which static.h can be dropped
from device.h.

Change-Id: I1c76ad749769591da9c102b11eb618e93b68bd7c
Signed-off-by: Nicholas Chin <nic.c3.14@gmail.com>
Reviewed-on: https://review.coreboot.org/c/coreboot/+/84676
Reviewed-by: Angel Pons <th3fanbus@gmail.com>
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Reviewed-by: Felix Singer <service+coreboot-gerrit@felixsinger.de>
2024-11-10 10:35:44 +00:00
..
description.md util: Add description.md to each util 2018-07-26 13:26:50 +00:00
lex.yy.c_shipped util/sconfig: Probe device when fw_config is unprovisioned 2024-08-22 13:53:18 +00:00
main.c sconfig: Move (WEAK_)DEV_PTR from device.h to static.h 2024-11-10 10:35:44 +00:00
Makefile.mk util: Rename Makefiles from .inc to .mk 2024-01-26 12:43:18 +00:00
sconfig.h util/sconfig: Probe device when fw_config is unprovisioned 2024-08-22 13:53:18 +00:00
sconfig.l util/sconfig: Probe device when fw_config is unprovisioned 2024-08-22 13:53:18 +00:00
sconfig.tab.c_shipped util/sconfig: Probe device when fw_config is unprovisioned 2024-08-22 13:53:18 +00:00
sconfig.tab.h_shipped util/sconfig: Probe device when fw_config is unprovisioned 2024-08-22 13:53:18 +00:00
sconfig.y util/sconfig: Probe device when fw_config is unprovisioned 2024-08-22 13:53:18 +00:00