baytrail: gpio: Fix NCORE gpio-to-pad LUT

NCORE pad addresses were wildly wrong due to documentation bugs.

BUG=chrome-os-partner:24179
TEST=Manual on Rambi. Verify display isn't always on. Verify brightness
control now works in Chrome OS.
BRANCH=None.

Change-Id: I464436a58baa4957329c11231c5a866dafd97ce8
Signed-off-by: Shawn Nematbakhsh <shawnn@chromium.org>
Reviewed-on: https://chromium-review.googlesource.com/177597
Reviewed-by: Aaron Durbin <adurbin@chromium.org>
Signed-off-by: Aaron Durbin <adurbin@chromium.org>
Reviewed-on: http://review.coreboot.org/4980
Tested-by: build bot (Jenkins)
Reviewed-by: Patrick Georgi <patrick@georgi-clan.de>
This commit is contained in:
Shawn Nematbakhsh 2013-11-21 11:00:53 -08:00 committed by Kyösti Mälkki
parent 21565cac1b
commit 5f5cd72a55
1 changed files with 3 additions and 3 deletions

View File

@ -25,9 +25,9 @@
/* GPIO-to-Pad LUTs */ /* GPIO-to-Pad LUTs */
static const u8 gpncore_gpio_to_pad[GPNCORE_COUNT] = static const u8 gpncore_gpio_to_pad[GPNCORE_COUNT] =
{ 25, 24, 23, 32, 33, 34, 36, 37, /* [ 0: 7] */ { 19, 18, 17, 20, 21, 22, 24, 25, /* [ 0: 7] */
35, 22, 20, 21, 18, 38, 39, 1, /* [ 8:15] */ 23, 16, 14, 15, 12, 26, 27, 1, /* [ 8:15] */
4, 8, 17, 0, 3, 6, 16, 19, /* [16:23] */ 4, 8, 11, 0, 3, 6, 10, 13, /* [16:23] */
2, 5, 9 }; /* [24:26] */ 2, 5, 9 }; /* [24:26] */
static const u8 gpscore_gpio_to_pad[GPSCORE_COUNT] = static const u8 gpscore_gpio_to_pad[GPSCORE_COUNT] =