From f35dfdf0374f76457df0099db142bfc6f8b2c05c Mon Sep 17 00:00:00 2001 From: Nicholas Chin Date: Sun, 29 Sep 2024 18:45:45 -0600 Subject: soc/amd/*: Explicitly include static.h for config_of_soc As per commit 865173153760 ("sconfig: Move config_of_soc from device.h to static.h"), sources that require access to the devicetree should directly include static.h so that it can be removed from device.h, eliminating unnecessary dependencies on static.h for files that only need the types and function declarations in device.h. Change-Id: I9db5d80ca0a75ccff3b8e24db0ccbd6b36c84dcb Signed-off-by: Nicholas Chin Reviewed-on: https://review.coreboot.org/c/coreboot/+/84587 Tested-by: build bot (Jenkins) Reviewed-by: Marshall Dawson Reviewed-by: Arthur Heymans Reviewed-by: Varshit Pandya Reviewed-by: Angel Pons --- src/soc/amd/phoenix/i2c.c | 1 + 1 file changed, 1 insertion(+) (limited to 'src/soc/amd/phoenix/i2c.c') diff --git a/src/soc/amd/phoenix/i2c.c b/src/soc/amd/phoenix/i2c.c index 8237b7d776..e069c230d4 100644 --- a/src/soc/amd/phoenix/i2c.c +++ b/src/soc/amd/phoenix/i2c.c @@ -4,6 +4,7 @@ #include #include #include +#include #include "chip.h" /* Table to switch SCL pins to outputs to initially reset the I2C peripherals */ -- cgit v1.2.3