On Tue, Sep 27, 2016 at 2:29 AM, Paul Burton <paul.bur...@imgtec.com> wrote: > 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> > --- > > drivers/net/pch_gbe.c | 23 ++++++++++++----------- > 1 file changed, 12 insertions(+), 11 deletions(-) >
Reviewed-by: Bin Meng <bmeng...@gmail.com> Tested on Crown Bay Tested-by: Bin Meng <bmeng...@gmail.com> _______________________________________________ U-Boot mailing list U-Boot@lists.denx.de http://lists.denx.de/mailman/listinfo/u-boot