]> git.dujemihanovic.xyz Git - u-boot.git/commit
mmc: Use map_sysmem() with buffers in the mmc command
authorSimon Glass <sjg@chromium.org>
Sun, 1 Sep 2024 22:26:28 +0000 (16:26 -0600)
committerTom Rini <trini@konsulko.com>
Wed, 18 Sep 2024 19:01:00 +0000 (13:01 -0600)
commitcc6a1b690257b333c38a1d9bd20d861f6ce7faf1
tree64a5ecc6964356b41789c0c7d4723cf374cf6e34
parentf452e8f092b3e500ac955e44b7a3f1680d62d8f7
mmc: Use map_sysmem() with buffers in the mmc command

The current implementation casts an address to a pointer. Make it more
sandbox-friendly by using map_sysmem().

Rename the variable to 'ptr' since it is a pointer, not an address.

Signed-off-by: Simon Glass <sjg@chromium.org>
cmd/mmc.c