From 52669ef31b5a7d813ec82e3c53171e8c47844dce Mon Sep 17 00:00:00 2001 From: Martin Roth Date: Thu, 11 Dec 2014 20:38:00 -0700 Subject: fsp_baytrail: Add code to read GPIOs in romstage - Build gpio.c into romstage - Add functions to translate the GPIO # to a pad #, then return the value read from the GPIO. - Add functions to configure the GPIO - Function, Pull up/down, pull strength, Input/Output, and Output level. Change-Id: Ic37dfc9a74a598023bdf797d31087428adec176a Signed-off-by: Martin Roth Reviewed-on: http://review.coreboot.org/7796 Reviewed-by: Edward O'Callaghan Tested-by: build bot (Jenkins) Reviewed-by: Werner Zeh --- src/soc/intel/fsp_baytrail/Makefile.inc | 1 + 1 file changed, 1 insertion(+) (limited to 'src/soc/intel/fsp_baytrail/Makefile.inc') diff --git a/src/soc/intel/fsp_baytrail/Makefile.inc b/src/soc/intel/fsp_baytrail/Makefile.inc index 598deb4b33..fcbe6e7e9e 100644 --- a/src/soc/intel/fsp_baytrail/Makefile.inc +++ b/src/soc/intel/fsp_baytrail/Makefile.inc @@ -42,6 +42,7 @@ romstage-y += iosf.c ramstage-y += northcluster.c ramstage-y += ramstage.c ramstage-y += gpio.c +romstage-y += gpio.c ramstage-y += pmutil.c romstage-y += raminit.c ramstage-y += raminit.c -- cgit v1.2.3