Martin Roth has submitted this change. ( https://review.coreboot.org/c/coreboot/+/51383 )
Change subject: soc/amd/picasso: Allow GPIO defines to be used in ASL ......................................................................
soc/amd/picasso: Allow GPIO defines to be used in ASL
BUG=b:182269526 TEST=builds
Signed-off-by: Mathew King mathewk@chromium.org Change-Id: Ib33a46a6eead84eaff2c4ac320800b7993f5c3f6 Reviewed-on: https://review.coreboot.org/c/coreboot/+/51383 Tested-by: build bot (Jenkins) no-reply@coreboot.org Reviewed-by: Felix Held felix-coreboot@felixheld.de --- M src/soc/amd/picasso/include/soc/gpio.h 1 file changed, 3 insertions(+), 1 deletion(-)
Approvals: build bot (Jenkins): Verified Felix Held: Looks good to me, approved
diff --git a/src/soc/amd/picasso/include/soc/gpio.h b/src/soc/amd/picasso/include/soc/gpio.h index 0f4507c..70eaf98 100644 --- a/src/soc/amd/picasso/include/soc/gpio.h +++ b/src/soc/amd/picasso/include/soc/gpio.h @@ -9,6 +9,9 @@ #ifndef __ACPI__ #include <soc/iomap.h> #include <amdblocks/gpio_banks.h> +#endif /* !__ACPI__ */ + +#include <amdblocks/gpio_defs.h>
/* The following sections describe only the GPIOs defined for this SOC */
@@ -296,5 +299,4 @@
#define GPIO_2_EVENT GEVENT_8
-#endif /* __ACPI__ */ #endif /* AMD_PICASSO_GPIO_H */