summaryrefslogtreecommitdiff
path: root/board
diff options
context:
space:
mode:
authorSimon Glass <sjg@chromium.org>2012-08-22 14:46:37 +0100
committerGerrit <chrome-bot@google.com>2012-09-10 16:17:13 -0700
commitd392ed7266e239758440830f04dbd0200461ce45 (patch)
tree12ceb9489c5573657726ae9d6637ee6d7b3c9542 /board
parentf4ff90502735102f1fbb68071d430229cb02b5af (diff)
downloadchrome-ec-d392ed7266e239758440830f04dbd0200461ce45.tar.gz
Move pending command logic into host_command
This logic doesn't really belong in drivers, since to enable another driver (like SPI) we must repeat it all. This is tricky if we enable both I2C and SPI. Move the logic into host_command. BUG=chrome-os-partner:10533 BRANCH=none TEST=manual Use U-Boot to test comms status functionality on snow: SMDK5250 # mkbp write rw 40000000 SMDK5250 # mkbp erase rw SMDK5250 # mkbp erase rw Change-Id: I3f90aada80208cd0540be14525f73f980ad33292 Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-on: https://gerrit.chromium.org/gerrit/32075 Reviewed-by: David Hendricks <dhendrix@chromium.org> Reviewed-by: Randall Spangler <rspangler@chromium.org>
Diffstat (limited to 'board')
-rw-r--r--board/snow/board.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/board/snow/board.h b/board/snow/board.h
index a9ef304701..86af96c01c 100644
--- a/board/snow/board.h
+++ b/board/snow/board.h
@@ -18,6 +18,7 @@
#define CONFIG_I2C
#define CONFIG_CONFIGURE_BOARD_LATE
+#define CONFIG_HOST_COMMAND_STATUS
/* Debug features */
#define CONFIG_PANIC_HELP