From: York Sun <yorksun@freescale.com>
To: u-boot@lists.denx.de
Subject: [U-Boot] [PATCH v7 3/3] T1040QDS/U-QE: Add u-qe support to t1040qds
Date: Wed, 26 Mar 2014 13:04:10 -0700 [thread overview]
Message-ID: <533332BA.6040206@freescale.com> (raw)
In-Reply-To: <1395390106-20439-3-git-send-email-B45475@freescale.com>
On 03/21/2014 01:21 AM, Zhao Qiang wrote:
> Add u-qe support for t1040qds
>
> Signed-off-by: Zhao Qiang <B45475@freescale.com>
> ---
> Changes for v2:
> - modify CONFIG_SYS_QE_FMAN_FW_ADDR to CONFIG_SYS_FMAN_FW_ADDR and CONFIG_SYS_QE_FW_ADDR
> Changes for v3:
> - use CONFIG_U_QE instead of CONFIG_PPC_T1040
> Changes for v4:
> - ifdef CONFIG_U_QE, include "../../../../drivers/qe/qe.h"
> Changes for v5:
> - no
> Changes for v6:
> - rebase
> Changes for v7:
> - split to two patches, the one to support u-qe and the other is to add u-qe to t1040qds
>
> board/freescale/t1040qds/t1040qds.c | 27 +++++++++++++++++++++++++++
> include/configs/T1040QDS.h | 3 +++
> 2 files changed, 30 insertions(+)
>
> diff --git a/board/freescale/t1040qds/t1040qds.c b/board/freescale/t1040qds/t1040qds.c
> index 3dec447..d50ad42 100644
> --- a/board/freescale/t1040qds/t1040qds.c
> +++ b/board/freescale/t1040qds/t1040qds.c
> @@ -18,6 +18,7 @@
> #include <asm/fsl_portals.h>
> #include <asm/fsl_liodn.h>
> #include <fm_eth.h>
> +#include <hwconfig.h>
>
> #include "../common/qixis.h"
> #include "t1040qds.h"
> @@ -89,6 +90,30 @@ int select_i2c_ch_pca9547(u8 ch)
> return 0;
> }
>
> +static void qe_board_setup(void)
> +{
> + u8 brdcfg15, brdcfg9;
> +
> + if (hwconfig("qe") && hwconfig("tdm")) {
This is called before environmental variables are relocated to DDR. It will
cause a warning. Please use hwconfig_f.
York
next prev parent reply other threads:[~2014-03-26 20:04 UTC|newest]
Thread overview: 10+ messages / expand[flat|nested] mbox.gz Atom feed top
2014-03-21 8:21 [U-Boot] [PATCH v7 1/3] QE/FMAN: modify CONFIG_SYS_QE_FMAN_FW_ADDR to CONFIG_SYS_FMAN_FW_ADDR and CONFIG_SYS_QE_FW_ADDR Zhao Qiang
2014-03-21 8:21 ` [U-Boot] [PATCH v7 2/3] QE/U-QE: Add U-QE support Zhao Qiang
2014-04-23 22:18 ` York Sun
2014-03-21 8:21 ` [U-Boot] [PATCH v7 3/3] T1040QDS/U-QE: Add u-qe support to t1040qds Zhao Qiang
2014-03-26 20:04 ` York Sun [this message]
2014-04-16 23:02 ` York Sun
2014-04-17 1:39 ` qiang.zhao at freescale.com
2014-04-17 1:42 ` York Sun
2014-04-23 22:19 ` York Sun
2014-04-23 22:18 ` [U-Boot] [PATCH v7 1/3] QE/FMAN: modify CONFIG_SYS_QE_FMAN_FW_ADDR to CONFIG_SYS_FMAN_FW_ADDR and CONFIG_SYS_QE_FW_ADDR 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=533332BA.6040206@freescale.com \
--to=yorksun@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.