soc/amd/stoneyridge: Add new function sb_program_gpio()
commit843f3abcbdafceff4e698bcf8504172f253f39b7
authorRichard Spiegel <richard.spiegel@silverbackltd.com>
Wed, 3 Jan 2018 23:10:30 +0000 (3 16:10 -0700)
committerMartin Roth <martinroth@google.com>
Tue, 23 Jan 2018 05:45:11 +0000 (23 05:45 +0000)
tree46f98d46690e52f55b2dc62ad45038cf90daaf49
parente539c8538666d949c01d7bcbd8c714cee5d0148e
soc/amd/stoneyridge: Add new function sb_program_gpio()

Add new function sb_program_gpio to be called after AGESA init_reset
and some point within ramstage. For AGESA init_reset, change
amd/stoneyridge/bootblock/bootblock.c function bootblock_soc_init
(add the function after the call to AGESA function).

BUG=b:64140392
TEST=Build kahlee, grunt, gardenia.

Change-Id: I38da26cd1e20617958a6b17d55b7d7c08b8a0230
Signed-off-by: Richard Spiegel <richard.spiegel@silverbackltd.com>
Reviewed-on: https://review.coreboot.org/22987
Reviewed-by: Martin Roth <martinroth@google.com>
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
src/soc/amd/stoneyridge/bootblock/bootblock.c
src/soc/amd/stoneyridge/southbridge.c