]> git.dujemihanovic.xyz Git - u-boot.git/commit
net: tsec: Access eTSEC registers using virtual address
authorHou Zhiqiang <Zhiqiang.Hou@nxp.com>
Sun, 3 May 2020 14:48:42 +0000 (22:48 +0800)
committerPriyanka Jain <priyanka.jain@nxp.com>
Thu, 4 Jun 2020 13:23:20 +0000 (18:53 +0530)
commitbf67eb325bea748577f98fd5bb5f10348b223c2a
tree2b80ec82ba50a4b3c51f314ba4add877de71e548
parenta139ac58a7aad3110a4188ed1770ceb0f70f37d8
net: tsec: Access eTSEC registers using virtual address

The current code accesses eTSEC registers using physical
address directly, it's not correct, though no problem on
current platforms. It won't work on platforms, which does
not support 1:1 virtual-physical address map.

Signed-off-by: Hou Zhiqiang <Zhiqiang.Hou@nxp.com>
Reviewed-by: Vladimir Oltean <vladimir.oltean@nxp.com>
Tested-by: Vladimir Oltean <vladimir.oltean@nxp.com>
Reviewed-by: Priyanka Jain <priyanka.jain@nxp.com>
drivers/net/tsec.c