[PATCH 12/15] cmd: blk_common: Stop using hard-coded block size for Sandbox operations

Simon Glass sjg at chromium.org
Mon Oct 2 03:17:04 CEST 2023


On Tue, 26 Sept 2023 at 04:09, Bin Meng <bmeng at 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 at tinylab.org>
> ---
>
>  cmd/blk_common.c | 20 ++++++++++++++------
>  1 file changed, 14 insertions(+), 6 deletions(-)
>

Reviewed-by: Simon Glass <sjg at chromium.org>


More information about the U-Boot mailing list