powerpc/T4QDS: add two stage boot of nand/sd
authorShaohui Xie <Shaohui.Xie@freescale.com>
Tue, 22 Apr 2014 07:10:44 +0000 (15:10 +0800)
committerYork Sun <yorksun@freescale.com>
Wed, 23 Apr 2014 00:58:53 +0000 (17:58 -0700)
commitb6036993ebf12d360692a7df227537277afe3a1f
treeb063445f4cd8225d787bb5a3baa45d36243ada1f
parentcb753850e8af5a224d7c08b4fd1d258082d3bbd5
powerpc/T4QDS: add two stage boot of nand/sd

Add support of 2 stage NAND/SD boot loader using SPL framework.
PBL initialise the internal SRAM and copy SPL, this further
initialise DDR using SPD and environment and copy u-boot from
NAND/SD to DDR, finally SPL transfer control to u-boot.
NOR uses CS1 instead of CS2 when NAND boot, fix it.

Signed-off-by: Shaohui Xie <Shaohui.Xie@freescale.com>
Reviewed-by: York Sun <yorksun@freescale.com>
board/freescale/t4qds/Makefile
board/freescale/t4qds/ddr.c
board/freescale/t4qds/spl.c [new file with mode: 0644]
board/freescale/t4qds/tlb.c
boards.cfg
doc/README.t4240qds
include/configs/T4240QDS.h
include/configs/t4qds.h