public inbox for u-boot@lists.denx.de
 help / color / mirror / Atom feed
* [U-Boot] [PATCH v4 06/11] arch/powerpc: Initialize VSC9953 L2 Switch
@ 2015-01-21  9:54 Codrin Ciubotariu
  2015-01-21  9:54 ` [U-Boot] [PATCH v4 10/11] board/T1040qds: Add VSC9953 support for T1040qds board Codrin Ciubotariu
                   ` (2 more replies)
  0 siblings, 3 replies; 6+ messages in thread
From: Codrin Ciubotariu @ 2015-01-21  9:54 UTC (permalink / raw)
  To: u-boot

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>
---

Changes for v2:
	- added patch description;

Changes for v3:
	- Removed "Change-id" line from comment;

Changes for v4:
	- removed define CONFIG_VSC9953 from SoC
	config header;
	- patch title and comment changed to reflect
	the new change;

 arch/powerpc/cpu/mpc8xxx/cpu.c | 5 +++++
 1 file changed, 5 insertions(+)

diff --git a/arch/powerpc/cpu/mpc8xxx/cpu.c b/arch/powerpc/cpu/mpc8xxx/cpu.c
index 2d28eb2..c92589f 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;
 }
-- 
1.7.11.7

^ permalink raw reply related	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2015-01-23  0:44 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2015-01-21  9:54 [U-Boot] [PATCH v4 06/11] arch/powerpc: Initialize VSC9953 L2 Switch Codrin Ciubotariu
2015-01-21  9:54 ` [U-Boot] [PATCH v4 10/11] board/T1040qds: Add VSC9953 support for T1040qds board Codrin Ciubotariu
2015-01-23  0:44   ` York Sun
2015-01-21  9:54 ` [U-Boot] [PATCH v4 11/11] board/T1040rdb: Add VSC9953 support for T1040rdb board Codrin Ciubotariu
2015-01-23  0:44   ` York Sun
2015-01-23  0:41 ` [U-Boot] [PATCH v4 06/11] arch/powerpc: Initialize VSC9953 L2 Switch York Sun

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox