public inbox for u-boot@lists.denx.de
 help / color / mirror / Atom feed
From: York Sun <yorksun@freescale.com>
To: u-boot@lists.denx.de
Subject: [U-Boot] [PATCH 05/20] armv8/ls2085a: call ft_pcie_setup() to change dts status
Date: Tue, 26 May 2015 08:54:04 -0700	[thread overview]
Message-ID: <5564971C.9080906@freescale.com> (raw)
In-Reply-To: <1431932937-10120-5-git-send-email-prabhakar@freescale.com>

Prabhakar and Minghuan,

On 05/18/2015 12:08 AM, Prabhakar Kushwaha wrote:
> From: Minghuan Lian <Minghuan.Lian@freescale.com>
> 
>  1. The patch call ft_pcie_setup() to disable PCIe dts node if
>     corresponding PCIe controller is disabled according to RCW.
>  2. Fix LS2085a PCIe compatible
> 
> Signed-off-by: Minghuan Lian <Minghuan.Lian@freescale.com>
> Signed-off-by: Prabhakar Kushwaha <prabhakar@freescale.com>
> ---
>  board/freescale/ls2085a/ls2085a.c       | 4 ++++
>  board/freescale/ls2085aqds/ls2085aqds.c | 4 ++++
>  board/freescale/ls2085ardb/ls2085ardb.c | 4 ++++
>  include/configs/ls2085a_common.h        | 3 ++-
>  4 files changed, 14 insertions(+), 1 deletion(-)
> 
> diff --git a/board/freescale/ls2085a/ls2085a.c b/board/freescale/ls2085a/ls2085a.c
> index dd0acf2..afb99d1 100644
> --- a/board/freescale/ls2085a/ls2085a.c
> +++ b/board/freescale/ls2085a/ls2085a.c
> @@ -142,6 +142,10 @@ int ft_board_setup(void *blob, bd_t *bd)
>  	fsl_mc_ldpaa_exit(bd);
>  #endif
>  
> +#ifdef CONFIG_PCI
> +	ft_pcie_setup(blob, bd);
> +#endif
> +

Shouldn't this function be called from SoC function? It is not a board-dependent
setup, but rather depending on RCW which is an SoC feature.

York

  reply	other threads:[~2015-05-26 15:54 UTC|newest]

Thread overview: 13+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-05-18  7:08 [U-Boot] [PATCH 01/20] armv8/ls2085ardb: Add eth & phy f/w loading support Prabhakar Kushwaha
2015-05-18  7:08 ` [U-Boot] [PATCH 02/20] armv8/ls2085ardb: add hwconfig setting for eSDHC Prabhakar Kushwaha
2015-05-18  7:08 ` [U-Boot] [PATCH 03/20] armv8/ls2085a: Enable Date command for QDS and RDB Prabhakar Kushwaha
2015-05-18  7:08 ` [U-Boot] [PATCH 04/20] armv8/ls2085aqds: Add support of 0x49 in ethernet Prabhakar Kushwaha
2015-05-26 15:51   ` York Sun
2015-05-18  7:08 ` [U-Boot] [PATCH 05/20] armv8/ls2085a: call ft_pcie_setup() to change dts status Prabhakar Kushwaha
2015-05-26 15:54   ` York Sun [this message]
2015-05-27  3:40     ` Lian M.H.
2015-05-27  4:30       ` Kushwaha Prabhakar
2015-05-27 15:27         ` York Sun
2015-05-18  7:08 ` [U-Boot] [PATCH 06/20] armv8/ls2085qds: Update SFP TX bit as "0" to enable XFI Prabhakar Kushwaha
2015-05-18  7:08 ` [U-Boot] [PATCH 07/20] armv8/ls2085rdb: Update PCA9547PW slave address Prabhakar Kushwaha
2015-05-26 15:55   ` 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=5564971C.9080906@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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox