Skip to content
Snippets Groups Projects
Commit fb4879b3 authored by Sebastian Hesselbarth's avatar Sebastian Hesselbarth Committed by Joe Hershberger
Browse files

NET: mvgbe: add support for Dove


Marvell Dove also uses mvgbe as ethernet driver, therefore add support
for Dove to reuse the current driver.

Signed-off-by: default avatarSebastian Hesselbarth <sebastian.hesselbarth@gmail.com>
parent cd3ca3ff
No related branches found
No related tags found
No related merge requests found
...@@ -43,6 +43,8 @@ ...@@ -43,6 +43,8 @@
#include <asm/arch/kirkwood.h> #include <asm/arch/kirkwood.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"
......
...@@ -308,10 +308,17 @@ ...@@ -308,10 +308,17 @@
#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
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment