summaryrefslogtreecommitdiff
path: root/drivers/net/mvneta.c
diff options
context:
space:
mode:
authorStefan Roese <sr@denx.de>2015-07-16 08:40:05 (GMT)
committerLuka Perkov <luka.perkov@sartura.hr>2015-08-17 16:49:02 (GMT)
commit2a0b7dc3b6ce4e4994ef71dcd6fbb31000c2ae47 (patch)
tree26ae347416c6cd0980a57ee7ffadcf4322ad0ce4 /drivers/net/mvneta.c
parent501c098a1f2cdaa930cb1a7166d3724467890a64 (diff)
downloadu-boot-2a0b7dc3b6ce4e4994ef71dcd6fbb31000c2ae47.tar.xz
arm: mvebu: Enable NAND controller on MVEBU SoC's
This patch enables the NAND controller on the Armada XP/38x and provides a new function that returns the NAND controller input clock. This function will be used by the MVEBU NAND driver. As part of this patch, the multiple BIT macro definitions are moved to a common place in soc.h. Signed-off-by: Stefan Roese <sr@denx.de> Cc: Peter Morrow <peter@senient.com> Cc: Luka Perkov <luka.perkov@sartura.hr>
Diffstat (limited to 'drivers/net/mvneta.c')
-rw-r--r--drivers/net/mvneta.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/drivers/net/mvneta.c b/drivers/net/mvneta.c
index efaae16..38ad14e 100644
--- a/drivers/net/mvneta.c
+++ b/drivers/net/mvneta.c
@@ -41,7 +41,6 @@
printf(fmt, ##args)
#define CONFIG_NR_CPUS 1
-#define BIT(nr) (1UL << (nr))
#define ETH_HLEN 14 /* Total octets in header */
/* 2(HW hdr) 14(MAC hdr) 4(CRC) 32(extra for cache prefetch) */