summaryrefslogtreecommitdiffstats
path: root/include/dm
diff options
context:
space:
mode:
authorSimon Glass <sjg@chromium.org>2014-10-13 23:42:14 -0600
committerSimon Glass <sjg@chromium.org>2014-10-22 10:36:53 -0600
commit84d6cbd3029e8b16e201f1129c300fae258c0f9c (patch)
tree173dac18c98c963f0c0993f33e1035284d0b20bf /include/dm
parentfda6fac39bb915fdb0ff31b998336d3a5f5c71a9 (diff)
downloadtalos-obmc-uboot-84d6cbd3029e8b16e201f1129c300fae258c0f9c.tar.gz
talos-obmc-uboot-84d6cbd3029e8b16e201f1129c300fae258c0f9c.zip
dm: cros_ec: Add support for driver model
Add support for driver model if enabled. This involves minimal changes to the code, mostly just plumbing around the edges. Signed-off-by: Simon Glass <sjg@chromium.org> Acked-by: Jagannadha Sutradharudu Teki <jagannadh.teki@gmail.com>
Diffstat (limited to 'include/dm')
-rw-r--r--include/dm/uclass-id.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/dm/uclass-id.h b/include/dm/uclass-id.h
index c92adb4df9..0ea7a6f09e 100644
--- a/include/dm/uclass-id.h
+++ b/include/dm/uclass-id.h
@@ -26,6 +26,7 @@ enum uclass_id {
UCLASS_SPI, /* SPI bus */
UCLASS_SPI_GENERIC, /* Generic SPI flash target */
UCLASS_SPI_FLASH, /* SPI flash */
+ UCLASS_CROS_EC, /* Chrome OS EC */
UCLASS_COUNT,
UCLASS_INVALID = -1,
OpenPOWER on IntegriCloud