summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRong Chang <rongchang@chromium.org>2017-02-11 11:49:40 +0800
committerchrome-bot <chrome-bot@chromium.org>2017-03-14 04:11:20 -0700
commitdf1f500864fe17ddd313d69933de4c61c19cb2a2 (patch)
tree57ce833dd36b8f5f05737c1de39cb685f7e45fc4
parent2ed1cb0517e62f0169e151b7721dbe5fc7246103 (diff)
downloadchrome-ec-df1f500864fe17ddd313d69933de4c61c19cb2a2.tar.gz
rowan: enable SPI and GPIO console commands
Enable more hardware related console commands to help hardware validation. BUG=chrome-os-partner:62673 TEST=manual build and load into Rowan check console commands: gpioget spixfer BRANCH=none Change-Id: I86d3b74cef77ed9244a140290241a9fac6af3f84 Signed-off-by: Rong Chang <rongchang@chromium.org> Reviewed-on: https://chromium-review.googlesource.com/441486 Reviewed-by: Nicolas Boichat <drinkcat@chromium.org>
-rw-r--r--board/rowan/board.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/board/rowan/board.h b/board/rowan/board.h
index 2076b0334f..bbda987faa 100644
--- a/board/rowan/board.h
+++ b/board/rowan/board.h
@@ -10,9 +10,11 @@
/*
* Allow dangerous commands.
- * TODO: Remove this config engineering velidation.
+ * TODO: Remove this config engineering validation.
*/
#define CONFIG_SYSTEM_UNLOCKED
+#define CONFIG_CMD_SPI_XFER
+#define CONFIG_CMD_GPIO_EXTENDED
/* Accelero meter and gyro sensor */
#define CONFIG_ACCEL_KX022