mirror of
https://github.com/izzy2lost/xemu.git
synced 2026-07-06 00:20:22 -07:00
hw/ufs: Fix legacy single doorbell support bit
QEMU UFS has supported both legacy single doorbell and MCQ, but the LSDBS value was incorrectly set. This change corrects the LSDBS value to 0. Signed-off-by: Jeuk Kim <jeuk20.kim@samsung.com>
This commit is contained in:
+1
-1
@@ -1635,7 +1635,7 @@ static void ufs_init_hc(UfsHc *u)
|
||||
cap = FIELD_DP32(cap, CAP, OODDS, 0);
|
||||
cap = FIELD_DP32(cap, CAP, UICDMETMS, 0);
|
||||
cap = FIELD_DP32(cap, CAP, CS, 0);
|
||||
cap = FIELD_DP32(cap, CAP, LSDBS, 1);
|
||||
cap = FIELD_DP32(cap, CAP, LSDBS, 0);
|
||||
cap = FIELD_DP32(cap, CAP, MCQS, u->params.mcq);
|
||||
u->reg.cap = cap;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user