]> git.baikalelectronics.ru Git - uboot.git/commit
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)
commit9dfb858c42f474ea3e73bf460697a768ca1897c1
tree5c635a5a8e65f554d1678c45884e4cae25192810
parent18777df149560f60280fd96c344c9b04c4cddd08
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