diff options
author | Shawn Nematbakhsh <shawnn@chromium.org> | 2015-07-24 13:08:51 -0700 |
---|---|---|
committer | Shawn N <shawnn@chromium.org> | 2015-07-25 00:10:11 +0000 |
commit | 7de0037538bd0016c9202ad289655cbf4f4d90aa (patch) | |
tree | daf66e99c16dd645a25a37efe909831914810fd4 | |
parent | 08546e3540cb21b849a4112a256d6c52337cca96 (diff) | |
download | chrome-ec-7de0037538bd0016c9202ad289655cbf4f4d90aa.tar.gz |
glados: Make SPI chip select a GPIO
The mec1322 SPI driver toggles CS manually (CONFIG_SPI_CS_GPIO), so the
pin needs to be a normal GPIO, not functional.
BUG=chrome-os-partner:43160
TEST=Run "flashrom -p internal:bus=lpc -r read.bin" on glados, verify
that read.bin contains actual flash data and not all zeros.
BRANCH=None
Change-Id: Ibaee03b43b4d9c25f6c074c02688d1cba20c7a02
Signed-off-by: Shawn Nematbakhsh <shawnn@chromium.org>
Reviewed-on: https://chromium-review.googlesource.com/288321
Reviewed-by: Duncan Laurie <dlaurie@chromium.org>
Reviewed-by: Alec Berg <alecaberg@chromium.org>
-rw-r--r-- | board/glados/gpio.inc | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/board/glados/gpio.inc b/board/glados/gpio.inc index a69c27ca71..3f7e78b41f 100644 --- a/board/glados/gpio.inc +++ b/board/glados/gpio.inc @@ -151,8 +151,6 @@ ALTERNATE(PIN_MASK(12, 0x01), 1, MODULE_LPC, 0) /* SPI pins */ /* MOSI - GPIO054 */ ALTERNATE(PIN_MASK(5, 0x10), 1, MODULE_SPI, 0) -/* PVT_CS0# - GPIO146 */ -ALTERNATE(PIN_MASK(14, 0x40), 1, MODULE_SPI, 0) /* MISO - GPIO164 */ ALTERNATE(PIN_MASK(16, 0x10), 1, MODULE_SPI, 0) /* PVT_SCLK - GPIO153 */ |