summaryrefslogtreecommitdiff
path: root/scripts
diff options
context:
space:
mode:
authorPaul Burton <[email protected]>2017-04-30 21:57:07 +0200
committerJoe Hershberger <[email protected]>2017-06-02 14:44:20 -0500
commit52e727c8eb449db8b8dcb38201cbe034c8fa3c04 (patch)
treeef0df1e8dad17896a7ea4a7b308eb3b6cb7e3e90 /scripts
parentdb225f1131ad97fdf9a5df3b8d8e013284827c5a (diff)
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 <[email protected]> Signed-off-by: Daniel Schwierzeck <[email protected]> Reviewed-by: Bin Meng <[email protected]> Tested-by: Bin Meng <[email protected]> Reviewed-by: Simon Glass <[email protected]> Acked-by: Joe Hershberger <[email protected]>
Diffstat (limited to 'scripts')
0 files changed, 0 insertions, 0 deletions