diff options
| author | Peng Fan <[email protected]> | 2026-05-25 11:09:39 +0800 |
|---|---|---|
| committer | Tom Rini <[email protected]> | 2026-06-11 10:02:32 -0600 |
| commit | 53e9c41847c24b422ecd21421204d4e6a0c07d76 (patch) | |
| tree | b5309a48d592a63611c1d0b018fb61361f172176 /board/gcplus/lowlevel_init.S | |
| parent | a566d32693600bbbe405ca5a7f4ab07f71f45e86 (diff) | |
dm: core: use DT region size when mapping device addressesnext
Update dev_read_addr_*_ptr() and dev_remap_addr_*() helpers to use
dev_read_addr_size_*() and pass the DT-provided region size to
map_sysmem() / map_physmem() instead of 0.
Ensure mappings are consistent with the size defined in the device tree
and avoids implicit or unbounded mappings. When the DT does not provide
a size, the behavior remains unchanged since size is initialized to 0.
Signed-off-by: Peng Fan <[email protected]>
Diffstat (limited to 'board/gcplus/lowlevel_init.S')
0 files changed, 0 insertions, 0 deletions
