[U-Boot] [PATCH v3 08/10] NET: mvgbe: add support for Dove

Prafulla Wadaskar prafulla at marvell.com
Mon Feb 11 04:39:22 CET 2013



> -----Original Message-----
> From: Sebastian Hesselbarth [mailto:sebastian.hesselbarth at gmail.com]
> Sent: 17 January 2013 00:55
> To: Sebastian Hesselbarth
> Cc: u-boot at lists.denx.de; Rabeeh Khoury; Albert Aribaud; Prafulla
> Wadaskar; Andy Fleming; Joe Hershberger; Daniel Stodden; Luka Perkov
> Subject: [PATCH v3 08/10] 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: Sebastian Hesselbarth <sebastian.hesselbarth at gmail.com>
> ---
> Cc: u-boot at lists.denx.de
> Cc: Sebastian Hesselbarth <sebastian.hesselbarth at gmail.com>
> Cc: Rabeeh Khoury <rabeeh at solid-run.com>
> Cc: Albert Aribaud <albert.u.boot at aribaud.net>
> Cc: Prafulla Wadaskar <prafulla at marvell.com>
> Cc: Andy Fleming <afleming at gmail.com>
> Cc: Joe Hershberger <joe.hershberger at gmail.com>
> Cc: Daniel Stodden <daniel.stodden at gmail.com>
> Cc: Luka Perkov <luka at openwrt.org>
> ---
>  drivers/net/mvgbe.c |    2 ++
>  drivers/net/mvgbe.h |    7 +++++++
>  2 files changed, 9 insertions(+)
> 
> diff --git a/drivers/net/mvgbe.c b/drivers/net/mvgbe.c
> index 192c989..590ea0b 100644
> --- a/drivers/net/mvgbe.c
> +++ b/drivers/net/mvgbe.c
> @@ -43,6 +43,8 @@
>  #include <asm/arch/kirkwood.h>
>  #elif defined(CONFIG_ORION5X)
>  #include <asm/arch/orion5x.h>
> +#elif defined(CONFIG_DOVE)
> +#include <asm/arch/dove.h>
>  #endif
> 
>  #include "mvgbe.h"
> diff --git a/drivers/net/mvgbe.h b/drivers/net/mvgbe.h
> index d8a5429..7f5d98f 100644
> --- a/drivers/net/mvgbe.h
> +++ b/drivers/net/mvgbe.h
> @@ -308,10 +308,17 @@
>  #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

What does this means?
May you please explain?

Regards...
Prafulla . . .


More information about the U-Boot mailing list