All of lore.kernel.org
 help / color / mirror / Atom feed
* [U-Boot] [PATCH 3/4] qe: add qe support to ls1021aqds
@ 2014-09-26  8:25 Zhao Qiang
  2014-09-26  8:25 ` [U-Boot] [PATCH 4/4] qe: add qe support for ls1021a-twr board Zhao Qiang
  2014-11-25 17:50 ` [U-Boot] [PATCH 3/4] qe: add qe support to ls1021aqds York Sun
  0 siblings, 2 replies; 4+ messages in thread
From: Zhao Qiang @ 2014-09-26  8:25 UTC (permalink / raw)
  To: u-boot

add qe support to ls1021aqds

Signed-off-by: Zhao Qiang <B45475@freescale.com>
---
 board/freescale/ls1021aqds/ls1021aqds.c | 8 ++++++++
 include/configs/ls1021aqds.h            | 5 +++++
 2 files changed, 13 insertions(+)

diff --git a/board/freescale/ls1021aqds/ls1021aqds.c b/board/freescale/ls1021aqds/ls1021aqds.c
index 12e83f7..3bc4a68 100644
--- a/board/freescale/ls1021aqds/ls1021aqds.c
+++ b/board/freescale/ls1021aqds/ls1021aqds.c
@@ -16,6 +16,9 @@
 
 #include "../common/qixis.h"
 #include "ls1021aqds_qixis.h"
+#ifdef CONFIG_U_QE
+#include "../../../drivers/qe/qe.h"
+#endif
 
 DECLARE_GLOBAL_DATA_PTR;
 
@@ -227,6 +230,11 @@ int board_init(void)
 	fsl_serdes_init();
 	config_serdes_mux();
 #endif
+
+#ifdef CONFIG_U_QE
+	u_qe_init();
+#endif
+
 	return 0;
 }
 
diff --git a/include/configs/ls1021aqds.h b/include/configs/ls1021aqds.h
index 657e3b6..e19b81e 100644
--- a/include/configs/ls1021aqds.h
+++ b/include/configs/ls1021aqds.h
@@ -67,6 +67,9 @@ unsigned long get_board_ddr_clk(void);
 
 #define CONFIG_SYS_HAS_SERDES
 
+#if !defined(CONFIG_SDCARD) && !defined(CONFIG_NAND) && !defined(CONFIG_SPI)
+#define CONFIG_U_QE
+#endif
 /*
  * IFC Definitions
  */
@@ -329,6 +332,8 @@ unsigned long get_board_ddr_clk(void);
 
 #define CONFIG_BOOTDELAY		3
 
+#define CONFIG_SYS_QE_FW_ADDR     0x67f40000
+
 #define CONFIG_EXTRA_ENV_SETTINGS	\
 	"bootargs=root=/dev/ram0 rw console=ttyS0,115200\0" \
 	"fdt_high=0xcfffffff\0"		\
-- 
2.1.0.27.g96db324

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

* [U-Boot] [PATCH 4/4] qe: add qe support for ls1021a-twr board
  2014-09-26  8:25 [U-Boot] [PATCH 3/4] qe: add qe support to ls1021aqds Zhao Qiang
@ 2014-09-26  8:25 ` Zhao Qiang
  2014-11-25 17:50   ` York Sun
  2014-11-25 17:50 ` [U-Boot] [PATCH 3/4] qe: add qe support to ls1021aqds York Sun
  1 sibling, 1 reply; 4+ messages in thread
From: Zhao Qiang @ 2014-09-26  8:25 UTC (permalink / raw)
  To: u-boot

Signed-off-by: Zhao Qiang <B45475@freescale.com>
---
 board/freescale/ls1021atwr/ls1021atwr.c | 7 +++++++
 include/configs/ls1021atwr.h            | 6 ++++++
 2 files changed, 13 insertions(+)

diff --git a/board/freescale/ls1021atwr/ls1021atwr.c b/board/freescale/ls1021atwr/ls1021atwr.c
index b522ff2..da09d6e 100644
--- a/board/freescale/ls1021atwr/ls1021atwr.c
+++ b/board/freescale/ls1021atwr/ls1021atwr.c
@@ -16,6 +16,9 @@
 #include <netdev.h>
 #include <fsl_mdio.h>
 #include <tsec.h>
+#ifdef CONFIG_U_QE
+#include "../../../drivers/qe/qe.h"
+#endif
 
 DECLARE_GLOBAL_DATA_PTR;
 
@@ -277,6 +280,10 @@ int board_init(void)
 	config_serdes_mux();
 #endif
 
+#ifdef CONFIG_U_QE
+	u_qe_init();
+#endif
+
 	return 0;
 }
 
diff --git a/include/configs/ls1021atwr.h b/include/configs/ls1021atwr.h
index 45b2272..b09c2c7 100644
--- a/include/configs/ls1021atwr.h
+++ b/include/configs/ls1021atwr.h
@@ -48,6 +48,10 @@
 
 #define CONFIG_SYS_HAS_SERDES
 
+#if !defined(CONFIG_SDCARD) && !defined(CONFIG_NAND) && !defined(CONFIG_SPI)
+#define CONFIG_U_QE
+#endif
+
 /*
  * IFC Definitions
  */
@@ -274,6 +278,8 @@
 
 #define CONFIG_SYS_MONITOR_BASE CONFIG_SYS_TEXT_BASE    /* start of monitor */
 
+#define CONFIG_SYS_QE_FW_ADDR     0x67f40000
+
 /*
  * Environment
  */
-- 
2.1.0.27.g96db324

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

* [U-Boot] [PATCH 3/4] qe: add qe support to ls1021aqds
  2014-09-26  8:25 [U-Boot] [PATCH 3/4] qe: add qe support to ls1021aqds Zhao Qiang
  2014-09-26  8:25 ` [U-Boot] [PATCH 4/4] qe: add qe support for ls1021a-twr board Zhao Qiang
@ 2014-11-25 17:50 ` York Sun
  1 sibling, 0 replies; 4+ messages in thread
From: York Sun @ 2014-11-25 17:50 UTC (permalink / raw)
  To: u-boot

On 09/26/2014 01:25 AM, Zhao Qiang wrote:
> add qe support to ls1021aqds
> 
> Signed-off-by: Zhao Qiang <B45475@freescale.com>
> ---
>  board/freescale/ls1021aqds/ls1021aqds.c | 8 ++++++++
>  include/configs/ls1021aqds.h            | 5 +++++
>  2 files changed, 13 insertions(+)

Applied to u-boot-fsl-qoriq master. Awaiting upstream. Thanks.

York

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

* [U-Boot] [PATCH 4/4] qe: add qe support for ls1021a-twr board
  2014-09-26  8:25 ` [U-Boot] [PATCH 4/4] qe: add qe support for ls1021a-twr board Zhao Qiang
@ 2014-11-25 17:50   ` York Sun
  0 siblings, 0 replies; 4+ messages in thread
From: York Sun @ 2014-11-25 17:50 UTC (permalink / raw)
  To: u-boot

On 09/26/2014 01:25 AM, Zhao Qiang wrote:
> Signed-off-by: Zhao Qiang <B45475@freescale.com>
> ---
>  board/freescale/ls1021atwr/ls1021atwr.c | 7 +++++++
>  include/configs/ls1021atwr.h            | 6 ++++++
>  2 files changed, 13 insertions(+)

Applied to u-boot-fsl-qoriq master. Awaiting upstream. Thanks.

York

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

end of thread, other threads:[~2014-11-25 17:50 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2014-09-26  8:25 [U-Boot] [PATCH 3/4] qe: add qe support to ls1021aqds Zhao Qiang
2014-09-26  8:25 ` [U-Boot] [PATCH 4/4] qe: add qe support for ls1021a-twr board Zhao Qiang
2014-11-25 17:50   ` York Sun
2014-11-25 17:50 ` [U-Boot] [PATCH 3/4] qe: add qe support to ls1021aqds York Sun

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.