net: xilinx_axi_emac: Use readl and writel for io ops
authorSiva Durga Prasad Paladugu <siva.durga.paladugu@xilinx.com>
Thu, 23 Nov 2017 06:53:12 +0000 (12:23 +0530)
committerMichal Simek <michal.simek@xilinx.com>
Wed, 29 Nov 2017 07:02:40 +0000 (08:02 +0100)
commita04a5daae25a74ad2ac90b66667dac126242baa0
tree5c635a5a8e65f554d1678c45884e4cae25192810
parentdd12a27ce28131cd1b80ff865d3297ffec4cc4a6
net: xilinx_axi_emac: Use readl and writel for io ops

This patch uses readl and writel instead of in_be32 and
out_be32 for io ops as these internally uses readl,
writel for microblaze and for Zynq, ZynqMP there is
no need of endianness conversion and readl, writel
should work straightaway. This patch starts supporting
the driver for Zynq and ZynqMP platforms.

Signed-off-by: Siva Durga Prasad Paladugu <sivadur@xilinx.com>
Signed-off-by: Michal Simek <michal.simek@xilinx.com>
drivers/net/xilinx_axi_emac.c