]> git.sur5r.net Git - u-boot/commit
net: emaclite: use __raw_readl/writel instead of weird define
authorZubair Lutfullah Kakakhel <Zubair.Kakakhel@imgtec.com>
Wed, 27 Jul 2016 11:25:08 +0000 (12:25 +0100)
committerDaniel Schwierzeck <daniel.schwierzeck@gmail.com>
Wed, 21 Sep 2016 12:55:14 +0000 (14:55 +0200)
commit611fe0bddb071e439d65f833e55361aecba87d82
tree3e86397b83134830b6e1437e9a18679bd28b4ca8
parent39e020ef163d7ca6e73294a3ae4ded2867c9bc75
net: emaclite: use __raw_readl/writel instead of weird define

out_be32 and in_be32 are actually #defined to little endian
writel/readl in arch/microblaze.

Just use __raw_writel/readl instead. That is also what is used
in the Linux kernel driver for this IP block

Tested on MIPSfpga. Can tftp a kernel.

Signed-off-by: Zubair Lutfullah Kakakhel <Zubair.Kakakhel@imgtec.com>
Reviewed-by: Paul Burton <paul.burton@imgtec.com>
Acked-by: Joe Hershberger <joe.hershberger@ni.com>
drivers/net/xilinx_emaclite.c