From: York Sun <yorksun@freescale.com>
To: u-boot@lists.denx.de
Subject: [U-Boot] [PATCH 6/7 v11] NAND: TPL : introduce the TPL based on the SPL
Date: Tue, 20 Aug 2013 10:07:20 -0700 [thread overview]
Message-ID: <5213A248.9070904@freescale.com> (raw)
In-Reply-To: <1376637376-25563-6-git-send-email-ying.zhang@freescale.com>
On 08/16/2013 12:16 AM, ying.zhang at freescale.com wrote:
> From: Ying Zhang <b40530@freescale.com>
>
> Due to the nand SPL on some board(e.g. P1022DS)has a size limit, it can
> not be more than 4K. So, the SPL cannot initialize the DDR with the SPD
> code. This patch introduces TPL to enable a loader stub that is loaded
> by the code from the SPL. It initializes the DDR with the SPD or other
> operations.
>
> The TPL's size is sizeable, the maximum size is decided by the memory's
> size that TPL runs. It initializes the DDR through SPD code, and copys
> final uboot image to DDR. So there are three stage uboot images:
> * spl_boot, * tpl_boot, * final uboot image
>
> This patch is on top of the patch:
> SPL: Makefile: Build a separate autoconf.mk for SPL
These two lines are removed when applying.
>
> Signed-off-by: Ying Zhang <b40530@freescale.com>
> ---
> Change from v10:
> - No change.
> Change from v9:
> - Move the part revision to the other patch. for example:fsl_elbc_spl.c.
> - Modify the Makefile.
> - Modify doc/README.TPL, fix checkpatch warnings.
> Change from v8:
> - Modify the doc/README.TPL.
> - Modify the Makefile.
> - Modify the drivers/mtd/nand/fsl_elbc_spl.c.
> - Modify the spl/Makefile.
> Change from v7:
> - Modify the doc/README.TPL
> - Modify the spl/Makefile.
> Change from v6:
> - Modify the description of the patch.
> - Add the separate the autoconf.mk for TPL.
> - Delete the file tpl/Makefile and the directory tpl.
> - Reuse the spl/Makefie in TPL.
> Change from v5:
> - Use ifdef to define "nand_load_image" to non-static for non-SPL.
> Change from v4:
> - No change.
> Change from v3:
> - No change.
> Change from v2:
> - No change.
> Change from v1:
> - Split from "powerpc/p1022ds: nand: introduce the TPL based on the SPL".
>
> Makefile | 50 ++++++++++++++++++++++++++++++++++++++++++--------
> README | 16 ++++++++++++++++
> config.mk | 30 ++++++++++++++++++++++++++++--
> doc/README.TPL | 45 +++++++++++++++++++++++++++++++++++++++++++++
> spl/Makefile | 20 ++++++++++++++++----
> 5 files changed, 147 insertions(+), 14 deletions(-)
> create mode 100644 doc/README.TPL
>
Applied to u-boot-mpc85xx.git after removing "NAND" from the subject.
York
next prev parent reply other threads:[~2013-08-20 17:07 UTC|newest]
Thread overview: 14+ messages / expand[flat|nested] mbox.gz Atom feed top
2013-08-16 7:16 [U-Boot] [PATCH 1/7 v11] powerpc: deleted unused symbol CONFIG_SPL_NAND_MINIMAL and enabled some functionality for common SPL ying.zhang at freescale.com
2013-08-16 7:16 ` [U-Boot] [PATCH 2/7 v11] powerpc: mpc85xx: Support booting from SD Card with SPL ying.zhang at freescale.com
2013-08-20 17:06 ` York Sun
2013-08-16 7:16 ` [U-Boot] [PATCH 3/7 v11] powerpc: p1022ds: Enable P1022DS to boot " ying.zhang at freescale.com
2013-08-20 17:06 ` York Sun
2013-08-16 7:16 ` [U-Boot] [PATCH 4/7 v11] powerpc : spi flash : Support to start from eSPI " ying.zhang at freescale.com
2013-08-20 17:06 ` York Sun
2013-08-16 7:16 ` [U-Boot] [PATCH 5/7 v11] powerpc : p1022ds : Enable p1022ds " ying.zhang at freescale.com
2013-08-20 17:06 ` York Sun
2013-08-16 7:16 ` [U-Boot] [PATCH 6/7 v11] NAND: TPL : introduce the TPL based on the SPL ying.zhang at freescale.com
2013-08-20 17:07 ` York Sun [this message]
2013-08-16 7:16 ` [U-Boot] [PATCH 7/7 v11] powerpc: p1022ds: add TPL for p1022ds nand boot ying.zhang at freescale.com
2013-08-20 17:07 ` York Sun
2013-08-20 17:06 ` [U-Boot] [PATCH 1/7 v11] powerpc: deleted unused symbol CONFIG_SPL_NAND_MINIMAL and enabled some functionality for common SPL 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=5213A248.9070904@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