Searched hist:"6 fd596a1aa57bd431263f45b0c57ee8ae6b2403c" (Results 1 – 1 of 1) sorted by relevance
/openbmc/u-boot/arch/mips/include/asm/ |
H A D | io.h | diff 6fd596a1aa57bd431263f45b0c57ee8ae6b2403c Mon Sep 26 13:28:57 CDT 2016 Paul Burton <paul.burton@imgtec.com> MIPS: Fix map_physmem for cached mappings
map_physmem should return a pointer that can be used by the CPU to access the given memory - on MIPS simply returning the physical address as it does prior to this patch doesn't achieve that. Instead return a pointer to the memory within (c)kseg0, which matches up consistently with the (c)kseg1 pointer that uncached mappings return via ioremap.
Signed-off-by: Paul Burton <paul.burton@imgtec.com>
|