From 69d73e4d75f3a133a7307f2daea8773ec7038af5 Mon Sep 17 00:00:00 2001 From: Tim Wawrzynczak Date: Tue, 9 Jul 2019 13:35:11 -0600 Subject: soc/intel/intelblocks/gpio: Always expose GPIO PM constants These constants are needed in some ASL files, even when __ACPI__ is defined. Change-Id: I0f4f00b93d5d45794b7c9e0f72b51f3191eb3902 Signed-off-by: Tim Wawrzynczak Reviewed-on: https://review.coreboot.org/c/coreboot/+/34177 Reviewed-by: Lance Zhao Reviewed-by: Subrata Banik Reviewed-by: Paul Fagerburg Reviewed-by: Furquan Shaikh Tested-by: build bot (Jenkins) --- src/soc/intel/common/block/include/intelblocks/gpio.h | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'src/soc/intel/common/block/include') diff --git a/src/soc/intel/common/block/include/intelblocks/gpio.h b/src/soc/intel/common/block/include/intelblocks/gpio.h index a2cccc7cd2..9b351a938f 100644 --- a/src/soc/intel/common/block/include/intelblocks/gpio.h +++ b/src/soc/intel/common/block/include/intelblocks/gpio.h @@ -20,9 +20,6 @@ #include #include "gpio_defs.h" -#ifndef __ACPI__ -#include - /* GPIO community IOSF sideband clock gating */ #define MISCCFG_GPSIDEDPCGEN (1 << 5) /* GPIO community RCOMP clock gating */ @@ -40,6 +37,9 @@ MISCCFG_GPRCOMPCDLCGEN | MISCCFG_GPRTCDLCGEN | MISCCFG_GSXSLCGEN \ | MISCCFG_GPDPCGEN | MISCCFG_GPDLCGEN) +#ifndef __ACPI__ +#include + /* * GPIO numbers may not be contiguous and instead will have a different * starting pin number for each pad group. -- cgit v1.2.3