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 2/7 v11] powerpc: mpc85xx: Support booting from SD Card with SPL
Date: Tue, 20 Aug 2013 10:06:37 -0700	[thread overview]
Message-ID: <5213A21D.1020007@freescale.com> (raw)
In-Reply-To: <1376637376-25563-2-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>
> 
> The code from the internal on-chip ROM. It loads the final uboot image
> into DDR, then jump to it to begin execution.
> 
> The SPL's size is sizeable, the maximum size must not exceed the size of L2
> SRAM. It initializes the DDR through SPD code, and copys final uboot image
> to DDR. So there are two stage uboot images:
> 	* spl_boot, 96KB size. The env variables are copied to L2 SRAM, so that
> 	ddr spd code can get the interleaving mode setting in env. It loads
> 	final uboot image from offset 96KB.
> 	* final uboot image, size is variable depends on the functions enabled.
> 
> Signed-off-by: Ying Zhang <b40530@freescale.com>
> ---
> Change from v10:
> - No change.
> Change from v9:
> - Mofidy drivers/mmc/fsl_esdhc_spl.c, fix checkpatch warnings.
> Change from v8:
> - No change.
> Change from v7:
> - No change.
> Change from v6:
> - Split to the patch "Support booting from SD Card with SPL" and the patch.
> - "Enable P1022DS to boot from SD Card with SPL". this patch only support.
> - booting from SD Card with SPL.
> Change from v5:
> - Add new symbol CONFIG_SPL_ENV_IMPORT for contain the functionality.
> - env_import.
> Change from v4:
> - No change.
> Change from v3:
> - No change.
> Change from v2:
> - No change.
> Change from v1:
> - Split from "boot from SD card/SPI flash with SPL".
> 
>  README                                             |    4 +
>  arch/powerpc/cpu/mpc85xx/u-boot-spl.lds            |    5 +
>  .../cpu/mpc8xxx/ddr/lc_common_dimm_params.c        |    4 +
>  doc/README.mpc85xx-sd-spi-boot                     |   81 ++++++++++++
>  drivers/mmc/Makefile                               |    3 +
>  drivers/mmc/fsl_esdhc_spl.c                        |  130 ++++++++++++++++++++
>  drivers/mmc/mmc.c                                  |    2 +
>  include/fsl_esdhc.h                                |    1 +
>  spl/Makefile                                       |    3 +
>  9 files changed, 233 insertions(+), 0 deletions(-)
>  create mode 100644 doc/README.mpc85xx-sd-spi-boot
>  create mode 100644 drivers/mmc/fsl_esdhc_spl.c
> 

Applied to u-boot-mpc85xx.git.

York

  reply	other threads:[~2013-08-20 17:06 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 [this message]
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
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=5213A21D.1020007@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.