]> git.sur5r.net Git - u-boot/commit
cros_ec: Clean up multiple EC protocol support
authorRandall Spangler <rspangler@chromium.org>
Thu, 27 Feb 2014 20:26:08 +0000 (13:26 -0700)
committerSimon Glass <sjg@chromium.org>
Tue, 18 Mar 2014 02:05:47 +0000 (20:05 -0600)
commite8c12662364fbcf5ea917d341f707534c8574900
tree92b10bee92329f51223785449ba781c9cdbaee74
parent836bb6e8277aaa8f0f86e39b0c38b207d32723d9
cros_ec: Clean up multiple EC protocol support

Version 1 protocols (without command version) were already no longer
supported in cros_ec.c.  This removes some dead code from the
cros_ec_i2c driver.

Version 2 protcols (with command version) are now called
protocol_version=2, instead of cmd_version_is_supported=1.

A subsequent change will introduce protocol version 3 for SPI.

Reviewed-by: Simon Glass <sjg@chromium.org>
Signed-off-by: Randall Spangler <rspangler@chromium.org>
Signed-off-by: Simon Glass <sjg@chromium.org>
drivers/misc/cros_ec.c
drivers/misc/cros_ec_i2c.c
drivers/misc/cros_ec_spi.c
include/cros_ec.h