amd/stoneyridge: Refactor GPIO functions
commit469c01ebd2ae0464d469496ecf156b4559a3f506
authorMarc Jones <marcj303@gmail.com>
Mon, 25 Sep 2017 03:04:03 +0000 (24 21:04 -0600)
committerAaron Durbin <adurbin@chromium.org>
Wed, 27 Sep 2017 02:53:50 +0000 (27 02:53 +0000)
treedbc52080c840eac24ffac8e6b1115b9582b289aa
parent13839e151c34632144abe23f46a4405cac57fe52
amd/stoneyridge: Refactor GPIO functions

Refactor the GPIO functions to use GPIO numbers. This is more consistent
with other GPIO code in coreboot.

BUG=b:66462235
BRANCH=none
TEST=Build and boot Kahlee

Change-Id: I6d6af7f6a0ed9ba1230342e1ca024535c4f34d47
Signed-off-by: Marc Jones <marcj303@gmail.com>
Reviewed-on: https://review.coreboot.org/21684
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Reviewed-by: Aaron Durbin <adurbin@chromium.org>
src/soc/amd/stoneyridge/gpio.c
src/soc/amd/stoneyridge/include/soc/gpio.h