[PATCH 13/26] cmd: Add a command to display the address map

Bin Meng bmeng.cn at gmail.com
Mon Feb 8 06:12:17 CET 2021


Hi Simon,

On Mon, Feb 8, 2021 at 12:20 PM Simon Glass <sjg at chromium.org> wrote:
>
> On Sun, 7 Feb 2021 at 08:12, Bin Meng <bmeng.cn at gmail.com> wrote:
> >
> > This adds a new command 'addrmap' to display the address map for
> > non-identity virtual-physical memory mappings.
> >
> > Signed-off-by: Bin Meng <bmeng.cn at gmail.com>
> > ---
> >
> >  cmd/Kconfig   |  7 +++++++
> >  cmd/Makefile  |  1 +
> >  cmd/addrmap.c | 35 +++++++++++++++++++++++++++++++++++
> >  3 files changed, 43 insertions(+)
> >  create mode 100644 cmd/addrmap.c
>
> This should have a test (e.g. see mem_search.c) and doc/usage file.

I am not sure how that is useful to add a test for this command,
because this command only prints some value from an array.

Regards,
Bin


More information about the U-Boot mailing list