summary refs log tree commit diff stats
path: root/include
diff options
context:
space:
mode:
authorYoochan Jeong <yc01.jeong@samsung.com>2024-08-22 17:09:50 +0900
committerJeuk Kim <jeuk20.kim@samsung.com>2024-09-06 18:04:16 +0900
commit7c85332a2b3e8d58db209f29afca740d2f0cd6e7 (patch)
tree0090c9bea304fb60dcc41bb69c4d4c34c9a416e4 /include
parentde2cc4078240f8b745a7caeed461b02f2577e2d2 (diff)
downloadfocaccia-qemu-7c85332a2b3e8d58db209f29afca740d2f0cd6e7.tar.gz
focaccia-qemu-7c85332a2b3e8d58db209f29afca740d2f0cd6e7.zip
hw/ufs: minor bug fixes related to ufs-test
Minor bugs and errors related to ufs-test are resolved. Some
permissions and code implementations that are not synchronized
with the ufs spec are edited.

Signed-off-by: Yoochan Jeong <yc01.jeong@samsung.com>
Reviewed-by: Jeuk Kim <jeuk20.kim@samsung.com>
Signed-off-by: Jeuk Kim <jeuk20.kim@samsung.com>
Diffstat (limited to 'include')
-rw-r--r--include/block/ufs.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/include/block/ufs.h b/include/block/ufs.h
index 92da7a89b9..57f5ea3500 100644
--- a/include/block/ufs.h
+++ b/include/block/ufs.h
@@ -764,6 +764,12 @@ typedef struct QEMU_PACKED UtpTaskReqDesc {
 #define UFS_WB_EXCEED_LIFETIME 0x0B
 
 /*
+ * The range of valid value of Active ICC attritbute
+ * is from 0x00 to 0x0F.
+ */
+#define UFS_QUERY_ATTR_ACTIVE_ICC_MAXVALUE 0x0F
+
+/*
  * In UFS Spec, the Extra Header Segment (EHS) starts from byte 32 in UPIU
  * request/response packet
  */