All of lore.kernel.org
 help / color / mirror / Atom feed
From: York Sun <york.sun@nxp.com>
To: u-boot@lists.denx.de
Subject: [U-Boot] [PATCH 2/2][v5] armv8: ls2080aqds: Add support for SD boot
Date: Fri, 12 May 2017 09:01:26 -0700	[thread overview]
Message-ID: <ed808033-04d0-037e-ff8b-e410e72dc60e@nxp.com> (raw)
In-Reply-To: <1493979149-30093-2-git-send-email-santan.kumar@nxp.com>

On 05/05/2017 03:10 AM, Santan Kumar wrote:
> Signed-off-by: Santan Kumar <santan.kumar@nxp.com>
> Signed-off-by: Priyanka Jain <priyanka.jain@nxp.com>
> Signed-off-by: Abhimanyu Saini <abhimanyu.saini@nxp.com>
> ---
> Changes in v5:
>  1. Update MAINTAINERS file
>  2. Updated the memory layout
>
>  arch/arm/cpu/armv8/fsl-layerscape/cpu.c            |  6 +--
>  .../cpu/armv8/fsl-layerscape/fsl_lsch3_serdes.c    |  6 +--
>  board/freescale/ls2080a/ls2080a.c                  |  6 +--
>  board/freescale/ls2080aqds/MAINTAINERS             |  1 +
>  board/freescale/ls2080aqds/README                  | 13 +++++
>  board/freescale/ls2080aqds/eth.c                   |  8 +---
>  board/freescale/ls2080aqds/ls2080aqds.c            |  4 +-
>  configs/ls2080aqds_sdcard_defconfig                | 55 ++++++++++++++++++++++
>  include/configs/ls2080a_common.h                   |  9 +++-
>  include/configs/ls2080aqds.h                       | 27 ++++++++++-
>  10 files changed, 116 insertions(+), 19 deletions(-)
>  create mode 100644 configs/ls2080aqds_sdcard_defconfig
>
> diff --git a/arch/arm/cpu/armv8/fsl-layerscape/cpu.c b/arch/arm/cpu/armv8/fsl-layerscape/cpu.c
> index bb02960..e5da7a2 100644
> --- a/arch/arm/cpu/armv8/fsl-layerscape/cpu.c
> +++ b/arch/arm/cpu/armv8/fsl-layerscape/cpu.c
> @@ -462,7 +462,7 @@ int cpu_eth_init(bd_t *bis)
>  {
>  	int error = 0;
>
> -#ifdef CONFIG_FSL_MC_ENET
> +#if defined(CONFIG_FSL_MC_ENET) && !defined(CONFIG_SPL_BUILD)

You have many changes like this in this patch. Why don't you change the 
Kconfig

--- a/arch/arm/cpu/armv8/fsl-layerscape/Kconfig
+++ b/arch/arm/cpu/armv8/fsl-layerscape/Kconfig
@@ -96,7 +96,7 @@ config FSL_LSCH3
  config FSL_MC_ENET
         bool "Management Complex network"
         depends on ARCH_LS2080A
-       default y
+       default y if !SPL_BUILD
         select RESV_RAM
         help
           Enable Management Complex (MC) network

Please try it.

York

  reply	other threads:[~2017-05-12 16:01 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2017-05-05 10:12 [U-Boot] [PATCH 1/2][v5] armv8: ls2080a: Reorganise NAND_BOOT code in config flag Santan Kumar
2017-05-05 10:12 ` [U-Boot] [PATCH 2/2][v5] armv8: ls2080aqds: Add support for SD boot Santan Kumar
2017-05-12 16:01   ` York Sun [this message]
2017-05-15  4:43     ` Santan Kumar
2017-05-15 15:27       ` York Sun
2017-06-02 17:47 ` [U-Boot] [PATCH 1/2][v5] armv8: ls2080a: Reorganise NAND_BOOT code in config flag 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=ed808033-04d0-037e-ff8b-e410e72dc60e@nxp.com \
    --to=york.sun@nxp.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.