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/mainboard | |
parent | a9e3a756fe7a68c1839dd5a33b3aa03ca1224327 (diff) | |
download | coreboot-52669ef31b5a7d813ec82e3c53171e8c47844dce.tar.xz |
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/mainboard')
0 files changed, 0 insertions, 0 deletions