cmd: blk: Allow generic read/write operations to work in sandbox
authorTobias Waldekranz <tobias@waldekranz.com>
Thu, 16 Feb 2023 15:33:48 +0000 (16:33 +0100)
committerTom Rini <trini@konsulko.com>
Wed, 5 Apr 2023 14:54:47 +0000 (10:54 -0400)
commit3d2fc79714542702f55fc407f7e7885464c39cd2
tree5263e8522b9157659763d683d07a827856052ea8
parente45bba562ff1b273bdff5cc43f7c43fe829b44b4
cmd: blk: Allow generic read/write operations to work in sandbox

Ensure that the memory destination/source addresses of block
read/write operations are mapped in before access. Currently, this is
only needed on sandbox builds.

Signed-off-by: Tobias Waldekranz <tobias@waldekranz.com>
Reviewed-by: Simon Glass <sjg@chromium.org>
cmd/blk_common.c