diff options
author | Alim Akhtar <alim.akhtar@samsung.com> | 2018-05-06 15:44:17 +0530 |
---|---|---|
committer | Martin K. Petersen <martin.petersen@oracle.com> | 2018-05-18 10:47:10 -0400 |
commit | 4404c5de7707859d8e54f4356ac17c82413c80e9 (patch) | |
tree | b2049898ed0510e2b09d3145a4e8979218a839de /drivers/scsi/ufs/ufshcd.h | |
parent | 5ac6abc9415c3c70040b529631426b78e26108c4 (diff) | |
download | blackbird-obmc-linux-4404c5de7707859d8e54f4356ac17c82413c80e9.tar.gz blackbird-obmc-linux-4404c5de7707859d8e54f4356ac17c82413c80e9.zip |
scsi: ufs: add quirk to enable host controller without hce
Some host controllers don't support host controller enable via HCE.
Signed-off-by: Seungwon Jeon <essuuj@gmail.com>
Signed-off-by: Alim Akhtar <alim.akhtar@samsung.com>
Reviewed-by: Subhash Jadavani <subhashj@codeaurora.org>
Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
Diffstat (limited to 'drivers/scsi/ufs/ufshcd.h')
-rw-r--r-- | drivers/scsi/ufs/ufshcd.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/drivers/scsi/ufs/ufshcd.h b/drivers/scsi/ufs/ufshcd.h index d8c922d5bbee..a39cdb51ab41 100644 --- a/drivers/scsi/ufs/ufshcd.h +++ b/drivers/scsi/ufs/ufshcd.h @@ -606,6 +606,11 @@ struct ufs_hba { */ #define UFSHCI_QUIRK_SKIP_RESET_INTR_AGGR 0x200 + /* + * This quirks needs to be enabled if host controller cannot be + * enabled via HCE register. + */ + #define UFSHCI_QUIRK_BROKEN_HCE 0x400 unsigned int quirks; /* Deviations from standard UFSHCI spec. */ /* Device deviations from standard UFS device spec. */ |