summaryrefslogtreecommitdiff
path: root/drivers/net
diff options
context:
space:
mode:
authorChris Packham <judge.packham@gmail.com>2018-05-03 23:00:34 +1200
committerTom Rini <trini@konsulko.com>2018-05-14 21:28:38 -0400
commitedcf7eacbd733fdb1c9bbf6edf8db7f536171932 (patch)
treee3c7c68bb19780a0c6237bc64c7fee678c326e87 /drivers/net
parent4b4dc5211e1df7a85fbe7a83ac8e64ee81879e1b (diff)
net: mvgbe: remove CONFIG_DOVE
Nothing defines CONFIG_DOVE so remove the code that uses it. Signed-off-by: Chris Packham <judge.packham@gmail.com> Reviewed-by: Stefan Roese <sr@denx.de> Acked-by: Joe Hershberger <joe.hershberger@ni.com>
Diffstat (limited to 'drivers/net')
-rw-r--r--drivers/net/mvgbe.c2
-rw-r--r--drivers/net/mvgbe.h7
2 files changed, 0 insertions, 9 deletions
diff --git a/drivers/net/mvgbe.c b/drivers/net/mvgbe.c
index 98b9a9a4f9c..4e1aff6e3a8 100644
--- a/drivers/net/mvgbe.c
+++ b/drivers/net/mvgbe.c
@@ -26,8 +26,6 @@
#include <asm/arch/soc.h>
#elif defined(CONFIG_ORION5X)
#include <asm/arch/orion5x.h>
-#elif defined(CONFIG_DOVE)
-#include <asm/arch/dove.h>
#endif
#include "mvgbe.h"
diff --git a/drivers/net/mvgbe.h b/drivers/net/mvgbe.h
index 8a466658e38..c20d1d7edf7 100644
--- a/drivers/net/mvgbe.h
+++ b/drivers/net/mvgbe.h
@@ -291,17 +291,10 @@
#define EBAR_TARGET_GUNIT 0x00000007
/* Window attrib */
-#if defined(CONFIG_DOVE)
-#define EBAR_DRAM_CS0 0x00000000
-#define EBAR_DRAM_CS1 0x00000000
-#define EBAR_DRAM_CS2 0x00000000
-#define EBAR_DRAM_CS3 0x00000000
-#else
#define EBAR_DRAM_CS0 0x00000E00
#define EBAR_DRAM_CS1 0x00000D00
#define EBAR_DRAM_CS2 0x00000B00
#define EBAR_DRAM_CS3 0x00000700
-#endif
/* DRAM Target interface */
#define EBAR_DRAM_NO_CACHE_COHERENCY 0x00000000