Attention is currently required from: Fred Reitberger, Jason Glenesk, Matt DeVillier.
Felix Held has uploaded this change for review. ( https://review.coreboot.org/c/coreboot/+/80298?usp=email )
Change subject: soc/amd/phoenix/chip.h: guard FSP-specific data structures ......................................................................
soc/amd/phoenix/chip.h: guard FSP-specific data structures
Since the USB configuration data structure is FSP-specific, add guards on this part of the soc_amd_phoenix_config struct and the corresponding include.
Change-Id: I6c324421fbc3dc7b9a7bf6f5868785e9718147a5 --- M src/soc/amd/phoenix/chip.h 1 file changed, 4 insertions(+), 0 deletions(-)
git pull ssh://review.coreboot.org:29418/coreboot refs/changes/98/80298/1
diff --git a/src/soc/amd/phoenix/chip.h b/src/soc/amd/phoenix/chip.h index f436f9f..e3cadc2 100644 --- a/src/soc/amd/phoenix/chip.h +++ b/src/soc/amd/phoenix/chip.h @@ -13,7 +13,9 @@ #include <soc/southbridge.h> #include <drivers/i2c/designware/dw_i2c.h> #include <types.h> +#if CONFIG(PLATFORM_USES_FSP2_0) #include <vendorcode/amd/fsp/phoenix/FspUsb.h> +#endif
struct soc_amd_phoenix_config { struct soc_amd_common_config common_config; @@ -103,8 +105,10 @@ DXIO_PSPP_POWERSAVE, } pspp_policy;
+#if CONFIG(PLATFORM_USES_FSP2_0) uint8_t usb_phy_custom; struct usb_phy_config usb_phy; +#endif };
#endif /* PHOENIX_CHIP_H */