commit | 2e279d21a8c07a1aa7f1fb5aefe5309aec684cbf | [log] [tgz] |
---|---|---|
author | Bin Meng <bmeng@tinylab.org> | Tue Sep 26 16:43:42 2023 +0800 |
committer | Tom Rini <trini@konsulko.com> | Tue Oct 10 16:25:48 2023 -0400 |
tree | 12bf4f2024cef959ff1b0c01e6ce1e82719e0dcd | |
parent | 9efc245c7bfbb0d774c370286ea5a02568984b61 [diff] |
cmd: blk_common: Stop using hard-coded block size for Sandbox operations 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> Reviewed-by: Simon Glass <sjg@chromium.org>