diff options
author | Martin Roth <martin.roth@se-eng.com> | 2014-12-11 20:38:00 -0700 |
---|---|---|
committer | Martin Roth <gaumless@gmail.com> | 2014-12-17 17:04:10 +0100 |
commit | 52669ef31b5a7d813ec82e3c53171e8c47844dce (patch) | |
tree | 6867dd898998b760014e8910bef25c73780cc0dd /src/soc/intel/fsp_baytrail/Makefile.inc | |
parent | a9e3a756fe7a68c1839dd5a33b3aa03ca1224327 (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.inc | 1 |
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 |