hw/ufs: Fix incorrect register fields
authorJeuk Kim <jeuk20.kim@samsung.com>
Tue, 10 Oct 2023 05:11:13 +0000 (14:11 +0900)
committerJeuk Kim <jeuk20.kim@samsung.com>
Fri, 13 Oct 2023 04:56:28 +0000 (13:56 +0900)
commitebca80bbdb5c1650e4b753a3d13b43634e7dfe05
treec14492027dde5dbbed7d55810a1afdd093b028b5
parent97970dae534226f045ff08c77bdb8a25e19fa023
hw/ufs: Fix incorrect register fields

This patch fixes invalid ufs register fields.
This fixes an issue reported by Bin Meng that
caused ufs to fail over riscv.

Fixes: bc4e68d362ec ("hw/ufs: Initial commit for emulated Universal-Flash-Storage")
Signed-off-by: Jeuk Kim <jeuk20.kim@samsung.com>
Reported-by: Bin Meng <bmeng@tinylab.org>
Reviewed-by: Bin Meng <bmeng@tinylab.org>
Tested-by: Bin Meng <bmeng@tinylab.org>
include/block/ufs.h