From edcf7eacbd733fdb1c9bbf6edf8db7f536171932 Mon Sep 17 00:00:00 2001 From: Chris Packham Date: Thu, 3 May 2018 23:00:34 +1200 Subject: [PATCH] net: mvgbe: remove CONFIG_DOVE Nothing defines CONFIG_DOVE so remove the code that uses it. Signed-off-by: Chris Packham Reviewed-by: Stefan Roese Acked-by: Joe Hershberger --- drivers/net/mvgbe.c | 2 -- drivers/net/mvgbe.h | 7 ------- 2 files changed, 9 deletions(-) diff --git a/drivers/net/mvgbe.c b/drivers/net/mvgbe.c index 98b9a9a4f9..4e1aff6e3a 100644 --- a/drivers/net/mvgbe.c +++ b/drivers/net/mvgbe.c @@ -26,8 +26,6 @@ #include #elif defined(CONFIG_ORION5X) #include -#elif defined(CONFIG_DOVE) -#include #endif #include "mvgbe.h" diff --git a/drivers/net/mvgbe.h b/drivers/net/mvgbe.h index 8a466658e3..c20d1d7edf 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 -- 2.39.5