]> git.ipfire.org Git - thirdparty/qemu.git/commit
hw/ufs: Fix incorrect comment for segment_size and allocation_unit_size
authorKeoseong Park <keosung.park@samsung.com>
Thu, 3 Apr 2025 09:21:40 +0000 (18:21 +0900)
committerPhilippe Mathieu-Daudé <philmd@linaro.org>
Tue, 8 Apr 2025 18:46:10 +0000 (20:46 +0200)
commit535ef195663e134d704a3c4f375bf5c488705808
treee1846b03c14ffe882f66cfaf33b8b1ae385f5917
parent2ba700a501820f7a59c030f6f49a631a3d2c06f5
hw/ufs: Fix incorrect comment for segment_size and allocation_unit_size

The comments for segment_size and allocation_unit_size incorrectly
described them as 4KB. According to the UFS specification,
segment_size is expressed in units of 512 bytes.
Given segment_size = 0x2000 (8192), the actual size is 4MB.
Similarly, allocation_unit_size = 1 means 1 segment = 4MB.

This patch updates the comments to reflect the correct size.

Signed-off-by: Keoseong Park <keosung.park@samsung.com>
Reviewed-by: Jeuk Kim <jeuk20.kim@samsung.com>
Message-ID: <20250403092140epcms2p355a7f039871b3e5b409754ef450b9158@epcms2p3>
Signed-off-by: Philippe Mathieu-Daudé <philmd@linaro.org>
hw/ufs/ufs.c