From a1b07939f1a140be8764c08f6eef0db7c90f5aa0 Mon Sep 17 00:00:00 2001 From: Marc Jones Date: Thu, 22 Jun 2017 21:39:03 -0600 Subject: soc/amd/stoneyridge: Add GPIO functions to romstage A mainboard may access GPIO in romstage. Change-Id: Id380c6570943ce2a0bf6112d62cc91aeae283fcf Signed-off-by: Marc Jones Reviewed-on: https://review.coreboot.org/20310 Tested-by: build bot (Jenkins) Reviewed-by: Aaron Durbin --- src/soc/amd/stoneyridge/Makefile.inc | 1 + src/soc/amd/stoneyridge/include/soc/gpio.h | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) (limited to 'src/soc') diff --git a/src/soc/amd/stoneyridge/Makefile.inc b/src/soc/amd/stoneyridge/Makefile.inc index f3c2b1b5d9..30006b3a05 100644 --- a/src/soc/amd/stoneyridge/Makefile.inc +++ b/src/soc/amd/stoneyridge/Makefile.inc @@ -48,6 +48,7 @@ romstage-y += early_setup.c romstage-y += dimmSpd.c romstage-$(CONFIG_USBDEBUG_IN_ROMSTAGE) += enable_usbdebug.c romstage-y += fixme.c +romstage-y += gpio.c romstage-$(CONFIG_STONEYRIDGE_IMC_FWM) += imc.c romstage-y += smbus.c romstage-y += smbus_spd.c diff --git a/src/soc/amd/stoneyridge/include/soc/gpio.h b/src/soc/amd/stoneyridge/include/soc/gpio.h index 06933681c6..f873e52152 100644 --- a/src/soc/amd/stoneyridge/include/soc/gpio.h +++ b/src/soc/amd/stoneyridge/include/soc/gpio.h @@ -16,7 +16,7 @@ #ifndef _STONEYRIDGE_GPIO_H_ #define _STONEYRIDGE_GPIO_H_ -#include +#include #include #define CROS_GPIO_DEVICE_NAME "AmdKern" -- cgit v1.2.3