[PATCH 1/3] addrmap: Support on sandbox

Simon Glass sjg at chromium.org
Tue Jul 26 21:52:52 CEST 2022


Update this feature so that it works on sandbox, using a basic identity
mapping. This allows us to run the 'ut addrmap' test.

Also fix up the test to use the correct macros to access the linker
list, so that the 'ut addrmap' command actually works.

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

 board/sandbox/sandbox.c   | 9 +++++++++
 configs/sandbox_defconfig | 1 +
 include/addr_map.h        | 2 ++
 lib/addr_map.c            | 5 +++--
 test/cmd/addrmap.c        | 5 ++---
 5 files changed, 17 insertions(+), 5 deletions(-)

Applied to u-boot-dm, thanks!


More information about the U-Boot mailing list