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/cpu | |
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/cpu')
-rw-r--r-- | arch/arm/cpu/arm926ejs/orion5x/cpu.c | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/arch/arm/cpu/arm926ejs/orion5x/cpu.c b/arch/arm/cpu/arm926ejs/orion5x/cpu.c index 03c6d06..f3c1e21 100644 --- a/arch/arm/cpu/arm926ejs/orion5x/cpu.c +++ b/arch/arm/cpu/arm926ejs/orion5x/cpu.c @@ -268,3 +268,11 @@ int arch_misc_init(void) return 0; } #endif /* CONFIG_ARCH_MISC_INIT */ + +#ifdef CONFIG_MVGBE +int cpu_eth_init(bd_t *bis) +{ + mvgbe_initialize(bis); + return 0; +} +#endif |