]> git.ipfire.org Git - thirdparty/u-boot.git/commitdiff
net: xilinx_axi_emac: Remove in/out_be32 handling
authorMichal Simek <michal.simek@xilinx.com>
Fri, 1 Dec 2017 13:25:45 +0000 (14:25 +0100)
committerMichal Simek <michal.simek@xilinx.com>
Thu, 4 Jan 2018 14:53:41 +0000 (15:53 +0100)
There is no need to handle this because conversion to readl/writel
solved this issue.

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

index 0bf93f380f2541f9cde6a89f45e89516d7e59066..d3e2ef92836ce33f11fadee4dea090bfcdf0bc3c 100644 (file)
@@ -72,13 +72,6 @@ DECLARE_GLOBAL_DATA_PTR;
 
 #define DMAALIGN       128
 
-#if defined(CONFIG_ARCH_ZYNQMP) || defined(CONFIG_ARCH_ZYNQ)
-#undef out_be32
-#undef in_be32
-#define out_be32(off, val)     writel(val, off)
-#define in_be32(off)           readl(off)
-#endif
-
 static u8 rxframe[PKTSIZE_ALIGN] __attribute((aligned(DMAALIGN)));
 
 /* Reflect dma offsets */