From: Chris Packham Date: Thu, 3 May 2018 11:00:34 +0000 (+1200) Subject: net: mvgbe: remove CONFIG_DOVE X-Git-Url: http://git.dujemihanovic.xyz/img/sics.gif?a=commitdiff_plain;h=edcf7eacbd733fdb1c9bbf6edf8db7f536171932;p=u-boot.git 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 --- 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