summaryrefslogtreecommitdiff
path: root/api
diff options
context:
space:
mode:
authorPaul Burton <paul.burton@imgtec.com>2017-04-30 19:57:07 (GMT)
committerJoe Hershberger <joe.hershberger@ni.com>2017-06-02 19:44:20 (GMT)
commit52e727c8eb449db8b8dcb38201cbe034c8fa3c04 (patch)
treeef0df1e8dad17896a7ea4a7b308eb3b6cb7e3e90 /api
parentdb225f1131ad97fdf9a5df3b8d8e013284827c5a (diff)
downloadu-boot-52e727c8eb449db8b8dcb38201cbe034c8fa3c04.tar.xz
net: pch_gbe: CPU accessible addresses are virtual
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.burton@imgtec.com> Signed-off-by: Daniel Schwierzeck <daniel.schwierzeck@gmail.com> Reviewed-by: Bin Meng <bmeng.cn@gmail.com> Tested-by: Bin Meng <bmeng.cn@gmail.com> Reviewed-by: Simon Glass <sjg@chromium.org> Acked-by: Joe Hershberger <joe.hershberger@ni.com>
Diffstat (limited to 'api')
0 files changed, 0 insertions, 0 deletions