From d392ed7266e239758440830f04dbd0200461ce45 Mon Sep 17 00:00:00 2001 From: Simon Glass Date: Wed, 22 Aug 2012 14:46:37 +0100 Subject: 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 Reviewed-on: https://gerrit.chromium.org/gerrit/32075 Reviewed-by: David Hendricks Reviewed-by: Randall Spangler --- board/snow/board.h | 1 + 1 file changed, 1 insertion(+) (limited to 'board/snow') 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 -- cgit v1.2.1