fsp_baytrail: Add functions to set a GPIO
commit1e8a3015e9172a81182d5f47362b71d13d849e29
authorWerner Zeh <werner.zeh@siemens.com>
Fri, 6 Nov 2015 07:38:38 +0000 (6 08:38 +0100)
committerMartin Roth <martinroth@google.com>
Mon, 9 Nov 2015 21:25:43 +0000 (9 22:25 +0100)
treeeeca37b1119841f2063315f5ee4fc490fb0d6ff8
parente619a9ac9b4933332fbb0e7cdc9b536e0dc62188
fsp_baytrail: Add functions to set a GPIO

Add two functions to set a memory mapped GPIO to a given value.

TEST=Booted siemens/mc_tcu3 board and confirmed GPIO-value after
     using this functions.

Change-Id: Idc14c5d4049487e60040cc294ba0cea363d998a6
Signed-off-by: Werner Zeh <werner.zeh@siemens.com>
Reviewed-on: http://review.coreboot.org/12341
Tested-by: build bot (Jenkins)
Reviewed-by: Aaron Durbin <adurbin@chromium.org>
src/soc/intel/fsp_baytrail/baytrail/gpio.h
src/soc/intel/fsp_baytrail/gpio.c