
3 Oct
2016
3 Oct
'16
11:49 p.m.
On 1 October 2016 at 08:19, Paul Burton paul.burton@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@imgtec.com Cc: Simon Glass sjg@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@chromium.org