]> git.sur5r.net Git - u-boot/commitdiff
net: mvgbe: remove CONFIG_DOVE
authorChris Packham <judge.packham@gmail.com>
Thu, 3 May 2018 11:00:34 +0000 (23:00 +1200)
committerTom Rini <trini@konsulko.com>
Tue, 15 May 2018 01:28:38 +0000 (21:28 -0400)
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>
drivers/net/mvgbe.c
drivers/net/mvgbe.h

index 98b9a9a4f9c8f0671b5e6adf8a21c364b24c7050..4e1aff6e3a86f70ca492c0ca7cd7d73a6ddadf45 100644 (file)
@@ -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"
index 8a466658e381b5c942b3a640bb7ca347ce9f5c95..c20d1d7edf7be84e41a322277c10532e0c07102b 100644 (file)
 #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