All of lore.kernel.org
 help / color / mirror / Atom feed
From: Zhao Qiang <B45475@freescale.com>
To: u-boot@lists.denx.de
Subject: [U-Boot] [PATCH 4/4] qe: add qe support for ls1021a-twr board
Date: Fri, 26 Sep 2014 16:25:33 +0800	[thread overview]
Message-ID: <1411719933-12710-2-git-send-email-B45475@freescale.com> (raw)
In-Reply-To: <1411719933-12710-1-git-send-email-B45475@freescale.com>

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

  reply	other threads:[~2014-09-26  8:25 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
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 [this message]
2014-11-25 17:50   ` [U-Boot] [PATCH 4/4] qe: add qe support for ls1021a-twr board York Sun
2014-11-25 17:50 ` [U-Boot] [PATCH 3/4] qe: add qe support to ls1021aqds York Sun

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1411719933-12710-2-git-send-email-B45475@freescale.com \
    --to=b45475@freescale.com \
    --cc=u-boot@lists.denx.de \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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.