soc/amd/stoneyridge: Add readable macros for GPIO
commitbf0a67f3ee393eaeb9bf2a63b74b3e2f0aa3e906
authorJustin TerAvest <teravest@chromium.org>
Tue, 20 Feb 2018 20:48:18 +0000 (20 13:48 -0700)
committerMartin Roth <martinroth@google.com>
Thu, 22 Feb 2018 16:35:10 +0000 (22 16:35 +0000)
tree1c1135fc39b8ed3088ef84140b46387badc728c3
parent36b568ce7c7fa7bfc32382fb968a72cf02313404
soc/amd/stoneyridge: Add readable macros for GPIO

This commit defines a set of macros for defining GPIO configuration that
are easier to read than the raw iomux function values used today.

TEST=None
BUG=b:72875858

Change-Id: Ie100c8494c565afa28fa44d78ff73155fc8c7ea8
Signed-off-by: Justin TerAvest <teravest@chromium.org>
Reviewed-on: https://review.coreboot.org/23828
Reviewed-by: Aaron Durbin <adurbin@chromium.org>
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
src/soc/amd/stoneyridge/include/soc/gpio.h