summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorZhikang Zhang <[email protected]>2017-08-03 02:30:56 -0700
committerTom Rini <[email protected]>2017-08-13 15:17:30 -0400
commitffab6945eca97c23612d8434833dcdaa4a8556dd (patch)
tree7c4795a374066279193cdf1ff5796ac3391cc43c /include
parent1b69ce2fc0ecd1741645d6084be45e562156b5ae (diff)
dm: blk: part: Add UCLASS_NVME and IF_TYPE_NVME
This adds a new uclass id and block interface type for NVMe. Signed-off-by: Zhikang Zhang <[email protected]> Signed-off-by: Wenbin Song <[email protected]> Signed-off-by: Bin Meng <[email protected]> Signed-off-by: Jon Nettleton <[email protected]> Reviewed-by: Tom Rini <[email protected]>
Diffstat (limited to 'include')
-rw-r--r--include/blk.h1
-rw-r--r--include/dm/uclass-id.h1
2 files changed, 2 insertions, 0 deletions
diff --git a/include/blk.h b/include/blk.h
index 1e6239ac9e8..61b56281b31 100644
--- a/include/blk.h
+++ b/include/blk.h
@@ -31,6 +31,7 @@ enum if_type {
IF_TYPE_SATA,
IF_TYPE_HOST,
IF_TYPE_SYSTEMACE,
+ IF_TYPE_NVME,
IF_TYPE_COUNT, /* Number of interface types */
};
diff --git a/include/dm/uclass-id.h b/include/dm/uclass-id.h
index 2e6498b7dcd..1a501992db2 100644
--- a/include/dm/uclass-id.h
+++ b/include/dm/uclass-id.h
@@ -52,6 +52,7 @@ enum uclass_id {
UCLASS_MOD_EXP, /* RSA Mod Exp device */
UCLASS_MTD, /* Memory Technology Device (MTD) device */
UCLASS_NORTHBRIDGE, /* Intel Northbridge / SDRAM controller */
+ UCLASS_NVME, /* NVM Express device */
UCLASS_PANEL, /* Display panel, such as an LCD */
UCLASS_PANEL_BACKLIGHT, /* Backlight controller for panel */
UCLASS_PCH, /* x86 platform controller hub */