
2 Oct
2023
2 Oct
'23
3:17 a.m.
On Tue, 26 Sept 2023 at 04:09, Bin Meng bmeng@tinylab.org wrote:
commit 3d2fc7971454 ("cmd: blk: Allow generic read/write operations to work in sandbox") used the hard-coded block size (512) for accessing the sandbox host device. Now that we have added support for non-512 block size for both Sandbox host device and blkmap driver, let's stop using the hard-coded block size.
Signed-off-by: Bin Meng bmeng@tinylab.org
cmd/blk_common.c | 20 ++++++++++++++------ 1 file changed, 14 insertions(+), 6 deletions(-)
Reviewed-by: Simon Glass sjg@chromium.org