summaryrefslogtreecommitdiffstats
path: root/arch/powerpc/cpu/mpc8xxx/cpu.c
diff options
context:
space:
mode:
authorCodrin Ciubotariu <codrin.ciubotariu@freescale.com>2015-01-21 11:54:10 +0200
committerYork Sun <yorksun@freescale.com>2015-01-21 09:23:35 -0600
commit7e40e4beb8b4560074276ab599199c66ae03d3c6 (patch)
tree334e905b9296d3da69ac7d3fba7b592b14aa38c6 /arch/powerpc/cpu/mpc8xxx/cpu.c
parent6706b115a632ac46ff13fd457c7b8a507b922d50 (diff)
downloadtalos-obmc-uboot-7e40e4beb8b4560074276ab599199c66ae03d3c6.tar.gz
talos-obmc-uboot-7e40e4beb8b4560074276ab599199c66ae03d3c6.zip
arch/powerpc: Initialize VSC9953 L2 Switch
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>
Diffstat (limited to 'arch/powerpc/cpu/mpc8xxx/cpu.c')
-rw-r--r--arch/powerpc/cpu/mpc8xxx/cpu.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/arch/powerpc/cpu/mpc8xxx/cpu.c b/arch/powerpc/cpu/mpc8xxx/cpu.c
index 2d28eb2655..c92589fb9d 100644
--- 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;
}
OpenPOWER on IntegriCloud