On Sun, Apr 30, 2017 at 2:57 PM, Daniel Schwierzeck <daniel.schwierz...@gmail.com> wrote: > From: Paul Burton <paul.bur...@imgtec.com> > > Use the virt_to_bus & bus_to_virt functions rather than phys_to_bus & > bus_to_phys, since the addresses accessed by the CPU will be virtual > rather than physical. On MIPS physical & virtual addresses differ as we > use virtual addresses in kseg0, and attempting to use physical addresses > directly caused problems as they're in the user segment which would be > mapped via the uninitialised TLB. > > Signed-off-by: Paul Burton <paul.bur...@imgtec.com> > Signed-off-by: Daniel Schwierzeck <daniel.schwierz...@gmail.com> > Reviewed-by: Bin Meng <bmeng...@gmail.com> > Tested-by: Bin Meng <bmeng...@gmail.com>
Acked-by: Joe Hershberger <joe.hershber...@ni.com> _______________________________________________ U-Boot mailing list U-Boot@lists.denx.de https://lists.denx.de/listinfo/u-boot