mirror of
https://github.com/u-boot/u-boot.git
synced 2025-04-16 18:04:48 +00:00
ufs: allow UFSHCI version 4.0
Add UFSHCI version 4.0 found on the recent Qualcomm UFS Controllers. Tested-by: Julius Lehmann <lehmanju@devpi.de> Tested-by: Caleb Connolly <caleb.connolly@linaro.org> #rb3gen2 Link: https://lore.kernel.org/r/20240910-topic-ufs-qcom-controller-v1-3-54c0d2231b10@linaro.org Signed-off-by: Neil Armstrong <neil.armstrong@linaro.org>
This commit is contained in:
parent
b3f89c1d6e
commit
690db792cf
2 changed files with 3 additions and 1 deletions
|
@ -1974,7 +1974,8 @@ int ufshcd_probe(struct udevice *ufs_dev, struct ufs_hba_ops *hba_ops)
|
|||
hba->version != UFSHCI_VERSION_20 &&
|
||||
hba->version != UFSHCI_VERSION_21 &&
|
||||
hba->version != UFSHCI_VERSION_30 &&
|
||||
hba->version != UFSHCI_VERSION_31)
|
||||
hba->version != UFSHCI_VERSION_31 &&
|
||||
hba->version != UFSHCI_VERSION_40)
|
||||
dev_err(hba->dev, "invalid UFS version 0x%x\n",
|
||||
hba->version);
|
||||
|
||||
|
|
|
@ -948,6 +948,7 @@ enum {
|
|||
UFSHCI_VERSION_21 = 0x00000210, /* 2.1 */
|
||||
UFSHCI_VERSION_30 = 0x00000300, /* 3.0 */
|
||||
UFSHCI_VERSION_31 = 0x00000310, /* 3.1 */
|
||||
UFSHCI_VERSION_40 = 0x00000400, /* 4.0 */
|
||||
};
|
||||
|
||||
/* Interrupt disable masks */
|
||||
|
|
Loading…
Add table
Reference in a new issue