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>
This commit is contained in:
Chris Packham 2018-05-03 23:00:34 +12:00 committed by Tom Rini
parent 4b4dc5211e
commit edcf7eacbd
2 changed files with 0 additions and 9 deletions

View file

@ -26,8 +26,6 @@
#include <asm/arch/soc.h> #include <asm/arch/soc.h>
#elif defined(CONFIG_ORION5X) #elif defined(CONFIG_ORION5X)
#include <asm/arch/orion5x.h> #include <asm/arch/orion5x.h>
#elif defined(CONFIG_DOVE)
#include <asm/arch/dove.h>
#endif #endif
#include "mvgbe.h" #include "mvgbe.h"

View file

@ -291,17 +291,10 @@
#define EBAR_TARGET_GUNIT 0x00000007 #define EBAR_TARGET_GUNIT 0x00000007
/* Window attrib */ /* 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_CS0 0x00000E00
#define EBAR_DRAM_CS1 0x00000D00 #define EBAR_DRAM_CS1 0x00000D00
#define EBAR_DRAM_CS2 0x00000B00 #define EBAR_DRAM_CS2 0x00000B00
#define EBAR_DRAM_CS3 0x00000700 #define EBAR_DRAM_CS3 0x00000700
#endif
/* DRAM Target interface */ /* DRAM Target interface */
#define EBAR_DRAM_NO_CACHE_COHERENCY 0x00000000 #define EBAR_DRAM_NO_CACHE_COHERENCY 0x00000000