projects
/
platform
/
kernel
/
u-boot.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
6706b11
)
arch/powerpc: Initialize VSC9953 L2 Switch
author
Codrin Ciubotariu
<codrin.ciubotariu@freescale.com>
Wed, 21 Jan 2015 09:54:10 +0000
(11:54 +0200)
committer
York Sun
<yorksun@freescale.com>
Wed, 21 Jan 2015 15:23:35 +0000
(09:23 -0600)
This patch initializes VSC9953 L2 Switch for boards that have
CONFIG_VSC9953 defined in their config file.
Signed-off-by: Codrin Ciubotariu <codrin.ciubotariu@freescale.com>
arch/powerpc/cpu/mpc8xxx/cpu.c
patch
|
blob
|
history
diff --git
a/arch/powerpc/cpu/mpc8xxx/cpu.c
b/arch/powerpc/cpu/mpc8xxx/cpu.c
index
2d28eb2
..
c92589f
100644
(file)
--- a/
arch/powerpc/cpu/mpc8xxx/cpu.c
+++ b/
arch/powerpc/cpu/mpc8xxx/cpu.c
@@
-15,6
+15,7
@@
#include <netdev.h>
#include <asm/cache.h>
#include <asm/io.h>
+#include <vsc9953.h>
DECLARE_GLOBAL_DATA_PTR;
@@
-271,5
+272,9
@@
int cpu_eth_init(bd_t *bis)
#ifdef CONFIG_FMAN_ENET
fm_standard_init(bis);
#endif
+
+#ifdef CONFIG_VSC9953
+ vsc9953_init(bis);
+#endif
return 0;
}