diff options
author | Aaron Durbin <adurbin@chromium.org> | 2014-08-04 15:38:42 -0500 |
---|---|---|
committer | Patrick Georgi <pgeorgi@google.com> | 2015-03-25 22:31:51 +0100 |
commit | 9e76090fe999a23d1952d894b5ef0e9794bd71e0 (patch) | |
tree | b8f89079070c295e2228d4fefd3ef00ceddf02a8 /src/soc/nvidia/tegra132/pinmux.h | |
parent | bf534180997889bb5feef45178eaf24ef834241a (diff) | |
download | coreboot-9e76090fe999a23d1952d894b5ef0e9794bd71e0.tar.xz |
tegra132: fix gpio constants
I erroneously added GPIO_NONE_INDEX at the beginning of the
enum block effectively putting every GPIO index off by 1.
Instead, move it to the end.
BUG=chrome-os-partner:29981
BRANCH=None
TEST=Built and ran through to depthcharge on rush. Also
printed out banks, port, and bit offsets to validate.
Change-Id: I4f6510c1b6fcdddddbe36ff738299b4439ffc597
Signed-off-by: Patrick Georgi <pgeorgi@chromium.org>
Original-Commit-Id: 4c020c2125b9a2378a7faa17209d1b78e019c7df
Original-Change-Id: I0471480e8658de9e534beb859a1f5027a961d73e
Original-Signed-off-by: Aaron Durbin <adurbin@chromium.org>
Original-Reviewed-on: https://chromium-review.googlesource.com/210908
Original-Reviewed-by: Furquan Shaikh <furquan@chromium.org>
Reviewed-on: http://review.coreboot.org/8907
Tested-by: build bot (Jenkins)
Reviewed-by: Stefan Reinauer <stefan.reinauer@coreboot.org>
Diffstat (limited to 'src/soc/nvidia/tegra132/pinmux.h')
-rw-r--r-- | src/soc/nvidia/tegra132/pinmux.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/soc/nvidia/tegra132/pinmux.h b/src/soc/nvidia/tegra132/pinmux.h index 4f69dcee8b..f3bab1da01 100644 --- a/src/soc/nvidia/tegra132/pinmux.h +++ b/src/soc/nvidia/tegra132/pinmux.h @@ -32,7 +32,6 @@ GPIO_##port##6_INDEX, GPIO_##port##7_INDEX enum { - GPIO_NONE_INDEX = 0, GPIO_PORT_CONSTANTS(A), GPIO_PORT_CONSTANTS(B), GPIO_PORT_CONSTANTS(C), @@ -64,7 +63,8 @@ enum { GPIO_PORT_CONSTANTS(CC), GPIO_PORT_CONSTANTS(DD), GPIO_PORT_CONSTANTS(EE), - GPIO_PORT_CONSTANTS(FF) + GPIO_PORT_CONSTANTS(FF), + GPIO_NONE_INDEX = 0, }; #define PINMUX_CONSTANTS_GPIO(name, gpio) \ |