All of lore.kernel.org
 help / color / mirror / Atom feed
From: York Sun <yorksun@freescale.com>
To: u-boot@lists.denx.de
Subject: [U-Boot] [PATCH v4 9/9] arm: ls102xa: Add NAND boot support for LS1021AQDS board
Date: Fri, 5 Dec 2014 10:10:49 -0800	[thread overview]
Message-ID: <5481F529.6090605@freescale.com> (raw)
In-Reply-To: <1417590049-500-10-git-send-email-b18965@freescale.com>

On 12/02/2014 11:00 PM, Alison Wang wrote:
> This patch adds NAND boot support for LS1021AQDS board. SPL
> framework is used. PBL initialize the internal RAM and copy
> SPL to it, then SPL initialize DDR using SPD and copy u-boot
> from NAND flash to DDR, finally SPL transfer control to u-boot.
> 
> Signed-off-by: Prabhakar Kushwaha <prabhakar@freescale.com>
> Signed-off-by: Alison Wang <alison.wang@freescale.com>
> ---
> Change log:
>  v4: Use some defines instead of the magic numbers.
>  v3: New file.
> 
>  arch/arm/include/asm/arch-ls102xa/config.h        |  1 +
>  arch/arm/include/asm/arch-ls102xa/immap_ls102xa.h |  2 +
>  board/freescale/ls1021aqds/MAINTAINERS            |  1 +
>  board/freescale/ls1021aqds/ls1021aqds.c           | 16 ++++++
>  board/freescale/ls1021aqds/ls102xa_rcw_nand.cfg   |  7 +++
>  configs/ls1021aqds_nand_defconfig                 |  4 ++
>  drivers/mtd/nand/fsl_ifc_spl.c                    |  8 +++
>  include/configs/ls1021aqds.h                      | 68 +++++++++++++++++++++++
>  8 files changed, 107 insertions(+)
>  create mode 100644 board/freescale/ls1021aqds/ls102xa_rcw_nand.cfg
>  create mode 100644 configs/ls1021aqds_nand_defconfig
> 
> diff --git a/arch/arm/include/asm/arch-ls102xa/config.h b/arch/arm/include/asm/arch-ls102xa/config.h
> index a500b5b..da7537c 100644
> --- a/arch/arm/include/asm/arch-ls102xa/config.h
> +++ b/arch/arm/include/asm/arch-ls102xa/config.h
> @@ -13,6 +13,7 @@
>  #define OCRAM_SIZE				0x00020000
>  
>  #define CONFIG_SYS_IMMR				0x01000000
>  arch/arm/include/asm/arch-ls102xa/config.h        |  1 +
>  arch/arm/include/asm/arch-ls102xa/immap_ls102xa.h |  5 ++
>  board/freescale/ls1021aqds/MAINTAINERS            |  1 +
>  board/freescale/ls1021aqds/ls1021aqds.c           | 16 +++++
>  board/freescale/ls1021aqds/ls102xa_rcw_nand.cfg   |  7 +++
>  configs/ls1021aqds_nand_defconfig                 |  4 ++
>  drivers/mtd/nand/fsl_ifc_spl.c                    | 10 ++++
>  include/configs/ls1021aqds.h                      | 72 +++++++++++++++++++++++
>  8 files changed, 116 insertions(+)
>  create mode 100644 board/freescale/ls1021aqds/ls102xa_rcw_nand.cfg
>  create mode 100644 configs/ls1021aqds_nand_defconfig

The above lines are not supposed to be here.

> 
> diff --git a/arch/arm/include/asm/arch-ls102xa/config.h b/arch/arm/include/asm/arch-ls102xa/config.h
> index ba86eea..8318c91 100644
> --- a/arch/arm/include/asm/arch-ls102xa/config.h
> +++ b/arch/arm/include/asm/arch-ls102xa/config.h
> @@ -13,6 +13,7 @@
>  #define OCRAM_SIZE				0x00020000
>  
>  #define CONFIG_SYS_IMMR				0x01000000
> +#define CONFIG_SYS_DCSRBAR			0x20200000
>  
>  #define CONFIG_SYS_FSL_DDR_ADDR			(CONFIG_SYS_IMMR + 0x00080000)
>  #define CONFIG_SYS_CCI400_ADDR			(CONFIG_SYS_IMMR + 0x00180000)


Alison,

This patch is corrupted. Please re-generate (this patch only).

York

  reply	other threads:[~2014-12-05 18:10 UTC|newest]

Thread overview: 24+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-12-03  7:00 [U-Boot] [PATCH v4 0/9] Add SD/NAND boot support for LS1021AQDS/TWR board Alison Wang
2014-12-03  7:00 ` [U-Boot] [PATCH v4 1/9] ls102xa: pblimage: Add pblimage tool support for LS102xA Alison Wang
2014-12-11 19:01   ` York Sun
2014-12-03  7:00 ` [U-Boot] [PATCH v4 2/9] spl: Use u-boot.img instead of u-boot.bin Alison Wang
2014-12-11 19:01   ` York Sun
2014-12-03  7:00 ` [U-Boot] [PATCH v4 3/9] arm: spl: Add I2C linker list in generic .lds Alison Wang
2014-12-11 19:02   ` York Sun
2014-12-03  7:00 ` [U-Boot] [PATCH v4 4/9] common: spl: Add interactive DDR debugger support for SPL image Alison Wang
2014-12-05 16:40   ` York Sun
2014-12-03  7:00 ` [U-Boot] [PATCH v4 5/9] kconfig: ls1021a: add SUPPORT_SPL Alison Wang
2014-12-03  7:30   ` Masahiro Yamada
2014-12-03  7:53     ` Huan Wang
2014-12-11 19:02   ` York Sun
2014-12-03  7:00 ` [U-Boot] [PATCH v4 6/9] ls102xa: qixis: Add CONFIG_QIXIS_I2C_ACCESS macro Alison Wang
2014-12-11 19:03   ` York Sun
2014-12-03  7:00 ` [U-Boot] [PATCH v4 7/9] arm: ls102xa: Add SD boot support for LS1021AQDS board Alison Wang
2014-12-11 19:03   ` York Sun
2014-12-03  7:00 ` [U-Boot] [PATCH v4 8/9] arm: ls102xa: Add SD boot support for LS1021ATWR board Alison Wang
2014-12-11 19:04   ` York Sun
2014-12-03  7:00 ` [U-Boot] [PATCH v4 9/9] arm: ls102xa: Add NAND boot support for LS1021AQDS board Alison Wang
2014-12-05 18:10   ` York Sun [this message]
  -- strict thread matches above, loose matches on Subject: below --
2014-12-06 14:46 Alison Wang
2014-12-08 20:53 ` York Sun
2014-12-09  2:30   ` chenhui.zhao at freescale.com

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=5481F529.6090605@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.