[U-Boot] [PATCH 17/27] sandbox: Use asm-generic/io.h
Simon Glass
sjg at chromium.org
Mon Oct 3 23:49:45 CEST 2016
On 1 October 2016 at 08:19, Paul Burton <paul.burton at imgtec.com> wrote:
> Convert the sandbox architecture to make use of the new asm-generic/io.h
> to provide address mapping functions. As sandbox actually performs
> non-identity mapping between physical & virtual addresses we can't
> simply make use of the generic mapping functions, but are able to
> implement phys_to_virt() & make use of it from map_physmem().
>
> Signed-off-by: Paul Burton <paul.burton at imgtec.com>
> Cc: Simon Glass <sjg at chromium.org>
> ---
>
> arch/sandbox/cpu/cpu.c | 12 +++++++++++-
> arch/sandbox/include/asm/io.h | 17 ++++++++---------
> 2 files changed, 19 insertions(+), 10 deletions(-)
Acked-by: Simon Glass <sjg at chromium.org>
More information about the U-Boot
mailing list