aboutsummaryrefslogtreecommitdiff
path: root/src/soc/intel/fsp_baytrail/Makefile.inc
diff options
context:
space:
mode:
authorMartin Roth <martin.roth@se-eng.com>2014-12-11 20:38:00 -0700
committerMartin Roth <gaumless@gmail.com>2014-12-17 17:04:10 +0100
commit52669ef31b5a7d813ec82e3c53171e8c47844dce (patch)
tree6867dd898998b760014e8910bef25c73780cc0dd /src/soc/intel/fsp_baytrail/Makefile.inc
parenta9e3a756fe7a68c1839dd5a33b3aa03ca1224327 (diff)
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 <martin.roth@se-eng.com> Reviewed-on: http://review.coreboot.org/7796 Reviewed-by: Edward O'Callaghan <eocallaghan@alterapraxis.com> Tested-by: build bot (Jenkins) Reviewed-by: Werner Zeh <werner.zeh@gmx.net>
Diffstat (limited to 'src/soc/intel/fsp_baytrail/Makefile.inc')
-rw-r--r--src/soc/intel/fsp_baytrail/Makefile.inc1
1 files changed, 1 insertions, 0 deletions
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