summaryrefslogtreecommitdiffstats
path: root/include/dm/uclass-id.h
diff options
context:
space:
mode:
authorSimon Glass <sjg@chromium.org>2016-01-17 16:11:34 -0700
committerBin Meng <bmeng.cn@gmail.com>2016-01-24 12:09:39 +0800
commite3b5f04143a859092d4e09f61e526790836714f2 (patch)
tree6625e369c66db2fb61bbf7d1299ba3b089acc6e1 /include/dm/uclass-id.h
parent887cba8f38e237735bb1d84b34dfbbf032e5b6b6 (diff)
downloadtalos-obmc-uboot-e3b5f04143a859092d4e09f61e526790836714f2.tar.gz
talos-obmc-uboot-e3b5f04143a859092d4e09f61e526790836714f2.zip
ahci: Add a disk-controller uclass
Add a uclass ID for a disk controller. This can be used by AHCI/SATA or other controller types. There are no operations and no interface so far, but it is possible to probe a SATA device. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Bin Meng <bmeng.cn@gmail.com>
Diffstat (limited to 'include/dm/uclass-id.h')
-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 4806095c1d..73cd3ac94c 100644
--- a/include/dm/uclass-id.h
+++ b/include/dm/uclass-id.h
@@ -29,6 +29,7 @@ enum uclass_id {
UCLASS_CLK, /* Clock source, e.g. used by peripherals */
UCLASS_CPU, /* CPU, typically part of an SoC */
UCLASS_CROS_EC, /* Chrome OS EC */
+ UCLASS_DISK, /* Disk controller, e.g. SATA */
UCLASS_DISPLAY, /* Display (e.g. DisplayPort, HDMI) */
UCLASS_RAM, /* RAM controller */
UCLASS_ETH, /* Ethernet device */
OpenPOWER on IntegriCloud