diff options
author | Simon Glass <sjg@chromium.org> | 2012-08-22 14:46:37 +0100 |
---|---|---|
committer | Gerrit <chrome-bot@google.com> | 2012-09-10 16:17:13 -0700 |
commit | d392ed7266e239758440830f04dbd0200461ce45 (patch) | |
tree | 12ceb9489c5573657726ae9d6637ee6d7b3c9542 /board/snow | |
parent | f4ff90502735102f1fbb68071d430229cb02b5af (diff) | |
download | chrome-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/snow')
-rw-r--r-- | board/snow/board.h | 1 |
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 |