diff options
author | Albert Aribaud <albert.aribaud@free.fr> | 2010-07-12 22:24:29 +0200 |
---|---|---|
committer | Ben Warren <biggerbadderben@gmail.com> | 2010-07-12 23:40:31 -0700 |
commit | d3c9ffd07dbf76b7aff678996374be2352628aa0 (patch) | |
tree | ede57368e8de99d0bb3f3dae5f4705f16eabfe24 /arch/arm/include/asm/arch-kirkwood/kirkwood.h | |
parent | d44265ad783f1896685db04faec148e32e918cda (diff) | |
download | u-boot-imx-d3c9ffd07dbf76b7aff678996374be2352628aa0.zip u-boot-imx-d3c9ffd07dbf76b7aff678996374be2352628aa0.tar.gz u-boot-imx-d3c9ffd07dbf76b7aff678996374be2352628aa0.tar.bz2 |
mvgbe: add support for orion5x GbE controller
Add definitions and initialization in orion5x for mvgbe.
Add orion5x in mvgbe SoC includes.
Signed-off-by: Albert Aribaud <albert.aribaud@free.fr>
Acked-by: Prafulla Wadaskar <prafulla@marvell.com>
Signed-off-by: Ben Warren <biggerbadderben@gmail.com>
Diffstat (limited to 'arch/arm/include/asm/arch-kirkwood/kirkwood.h')
-rw-r--r-- | arch/arm/include/asm/arch-kirkwood/kirkwood.h | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/arch/arm/include/asm/arch-kirkwood/kirkwood.h b/arch/arm/include/asm/arch-kirkwood/kirkwood.h index 5c2586b..9edb0be 100644 --- a/arch/arm/include/asm/arch-kirkwood/kirkwood.h +++ b/arch/arm/include/asm/arch-kirkwood/kirkwood.h @@ -60,8 +60,10 @@ #define KW_EGIGA0_BASE (KW_REGISTER(0x72000)) #define KW_EGIGA1_BASE (KW_REGISTER(0x76000)) -#define MVGBE0_BASE KW_EGIGA0_BASE -#define MVGBE1_BASE KW_EGIGA1_BASE +/* Kirkwood GbE controller has two ports */ +#define MAX_MVGBE_DEVS 2 +#define MVGBE0_BASE KW_EGIGA0_BASE +#define MVGBE1_BASE KW_EGIGA1_BASE #if defined (CONFIG_KW88F6281) #include <asm/arch/kw88f6281.h> |