summaryrefslogtreecommitdiffstats
path: root/arch/arm/include/asm/arch-orion5x
diff options
context:
space:
mode:
authorAlbert Aribaud <albert.aribaud@free.fr>2010-07-12 22:24:29 +0200
committerBen Warren <biggerbadderben@gmail.com>2010-07-12 23:40:31 -0700
commitd3c9ffd07dbf76b7aff678996374be2352628aa0 (patch)
treeede57368e8de99d0bb3f3dae5f4705f16eabfe24 /arch/arm/include/asm/arch-orion5x
parentd44265ad783f1896685db04faec148e32e918cda (diff)
downloadtalos-obmc-uboot-d3c9ffd07dbf76b7aff678996374be2352628aa0.tar.gz
talos-obmc-uboot-d3c9ffd07dbf76b7aff678996374be2352628aa0.zip
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-orion5x')
-rw-r--r--arch/arm/include/asm/arch-orion5x/orion5x.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/arch/arm/include/asm/arch-orion5x/orion5x.h b/arch/arm/include/asm/arch-orion5x/orion5x.h
index 4008c842df..d257b66581 100644
--- a/arch/arm/include/asm/arch-orion5x/orion5x.h
+++ b/arch/arm/include/asm/arch-orion5x/orion5x.h
@@ -56,6 +56,10 @@
#define ORION5X_USB20_PORT1_BASE (ORION5X_REGISTER(0xA0000))
#define ORION5X_EGIGA_BASE (ORION5X_REGISTER(0x72000))
+/* Orion5x GbE controller has a single port */
+#define MAX_MVGBE_DEVS 1
+#define MVGBE0_BASE ORION5X_EGIGA_BASE
+
#define CONFIG_MAX_RAM_BANK_SIZE (64*1024*1024)
/* include here SoC variants. 5181, 5281, 6183 should go here when
OpenPOWER on IntegriCloud