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] powerpc/t1040qds: Add support of SD boot for T1040QDS Board
Date: Mon, 1 Dec 2014 20:24:53 -0800	[thread overview]
Message-ID: <547D3F15.5000907@freescale.com> (raw)
In-Reply-To: <1414827111-8393-1-git-send-email-vijay.rai@freescale.com>

On 11/01/2014 12:31 AM, Vijay Rai wrote:
> Add support of 2 stage SD boot loader using SPL framework.
> here, PBL initialise the internal SRAM and copy SPL(160KB). This further
> initialise DDR using SPD environment and copy u-boot(768 KB) from NAND to DDR.
> Finally SPL transer control to u-boot.
> 
> Initialise/create followings required for SPL framework
>       - Add spl.c which defines board_init_f, board_init_r
>       - Update tlb and ddr accordingly
> 
> Add T1040QDS_SDCARD_defconfig
> Update t1040_pbi.cfg to support errata A-007662, A-008007 and LAW for CPC1
> 
> Signed-off-by: Vijay Rai <vijay.rai@freescale.com>
> ---
>  board/freescale/t1040qds/MAINTAINERS   |    5 ++
>  board/freescale/t1040qds/Makefile      |   10 ++-
>  board/freescale/t1040qds/ddr.c         |    5 +-
>  board/freescale/t1040qds/spl.c         |  155 ++++++++++++++++++++++++++++++++
>  board/freescale/t1040qds/t1040_pbi.cfg |   16 +++-
>  board/freescale/t1040qds/t1040qds.c    |    6 +-
>  board/freescale/t1040qds/tlb.c         |   11 +++
>  configs/T1040QDS_SDCARD_defconfig      |    5 ++
>  include/configs/T1040QDS.h             |   85 ++++++++++++++----
>  9 files changed, 275 insertions(+), 23 deletions(-)
>  create mode 100644 board/freescale/t1040qds/spl.c
>  create mode 100644 configs/T1040QDS_SDCARD_defconfig
> 


I don't know if you have tested this patch. It has at least two issues. First,
it fails compiling for T1040QDS_SDCARD target. I think you missed a change to
Kconfig.

Second, it breaks T1040QDS target. I guess your change to
include/configs/T1040QDS.h has ifdef/endif messed up.

Please try it on top of tree git://git.denx.de/u-boot.git, or u-boot-mpc85xx.git.

York

      reply	other threads:[~2014-12-02  4:24 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-11-01  7:31 [U-Boot] [PATCH] powerpc/t1040qds: Add support of SD boot for T1040QDS Board Vijay Rai
2014-12-02  4:24 ` York Sun [this message]

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=547D3F15.5000907@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