diff options
author | Simon Glass <sjg@chromium.org> | 2024-09-01 16:26:28 -0600 |
---|---|---|
committer | Tom Rini <trini@konsulko.com> | 2024-09-18 13:01:00 -0600 |
commit | cc6a1b690257b333c38a1d9bd20d861f6ce7faf1 (patch) | |
tree | 64a5ecc6964356b41789c0c7d4723cf374cf6e34 /drivers/ddr/fsl/ddr2_dimm_params.c | |
parent | f452e8f092b3e500ac955e44b7a3f1680d62d8f7 (diff) |
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>
Diffstat (limited to 'drivers/ddr/fsl/ddr2_dimm_params.c')
0 files changed, 0 insertions, 0 deletions