aboutsummaryrefslogtreecommitdiff
path: root/include/drivers/ufs.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/drivers/ufs.h')
-rw-r--r--include/drivers/ufs.h11
1 files changed, 11 insertions, 0 deletions
diff --git a/include/drivers/ufs.h b/include/drivers/ufs.h
index 574c4ea0a..c074e85d1 100644
--- a/include/drivers/ufs.h
+++ b/include/drivers/ufs.h
@@ -254,6 +254,17 @@
#define UFS_VENDOR_SKHYNIX U(0x1AD)
#define MAX_MODEL_LEN 16
+
+/* maximum number of retries for a general UIC command */
+#define UFS_UIC_COMMAND_RETRIES 3
+
+/* maximum number of link-startup retries */
+#define DME_LINKSTARTUP_RETRIES 10
+
+#define HCE_ENABLE_OUTER_RETRIES 3
+#define HCE_ENABLE_INNER_RETRIES 50
+#define HCE_ENABLE_TIMEOUT_US 100
+
/**
* ufs_dev_desc - ufs device details from the device descriptor
* @wmanufacturerid: card details