mvgbe: support SoCs other than kirkwood
Rename all references to kirkwood in mvgbe symbols throughout the whole codebase. Signed-off-by: Albert Aribaud <albert.aribaud@free.fr> Acked-by: Prafulla Wadaskar <prafulla@marvell.com> Signed-off-by: Ben Warren <biggerbadderben@gmail.com>
This commit is contained in:
committed by
Ben Warren
parent
9b6bcdcb93
commit
d44265ad78
@@ -378,10 +378,10 @@ int arch_misc_init(void)
|
||||
}
|
||||
#endif /* CONFIG_ARCH_MISC_INIT */
|
||||
|
||||
#ifdef CONFIG_KIRKWOOD_EGIGA
|
||||
#ifdef CONFIG_MVGBE
|
||||
int cpu_eth_init(bd_t *bis)
|
||||
{
|
||||
kirkwood_egiga_initialize(bis);
|
||||
mvgbe_initialize(bis);
|
||||
return 0;
|
||||
}
|
||||
#endif
|
||||
|
||||
@@ -60,6 +60,9 @@
|
||||
#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
|
||||
|
||||
#if defined (CONFIG_KW88F6281)
|
||||
#include <asm/arch/kw88f6281.h>
|
||||
#elif defined (CONFIG_KW88F6192)
|
||||
|
||||
Reference in New Issue
Block a user