soc/amd/stoneyridge/gpio.c: Fix gpio_output()
commit7a52c17f16e84e2c7f61eac78c2534927d42dbba
authorRichard Spiegel <richard.spiegel@amd.corp-partner.google.com>
Thu, 26 Apr 2018 15:19:12 +0000 (26 08:19 -0700)
committerPatrick Georgi <pgeorgi@google.com>
Mon, 30 Apr 2018 06:28:01 +0000 (30 06:28 +0000)
treed20afb07b4fa835dd5eecbf10558af19d2a8291f
parentccfa18feff26211631be53fe1db1b8b0b534cd79
soc/amd/stoneyridge/gpio.c: Fix gpio_output()

Function gpio_output() is only setting the pin as an output, when in fact
it should also set the state (high/low) of the pin. Fix the procedure to
set the state of the pin.

BUG=b:78328773
TEST=None

Change-Id: I516192a0782a9bbb40124029f264a2711114c800
Signed-off-by: Richard Spiegel <richard.spiegel@silverbackltd.com>
Reviewed-on: https://review.coreboot.org/25871
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Reviewed-by: Martin Roth <martinroth@google.com>
Reviewed-by: Aaron Durbin <adurbin@chromium.org>
Reviewed-by: Paul Menzel <paulepanter@users.sourceforge.net>
src/soc/amd/stoneyridge/gpio.c