]> git.sur5r.net Git - u-boot/commit
board/b4qds:Add support of 2 stage NAND boot-loader
authorPrabhakar Kushwaha <prabhakar@freescale.com>
Tue, 8 Apr 2014 13:43:44 +0000 (19:13 +0530)
committerYork Sun <yorksun@freescale.com>
Wed, 23 Apr 2014 00:58:51 +0000 (17:58 -0700)
commitc5dfe6ec58e0b504cba5b429200f6a5d217d5bd9
treeb769cf573080fcd60892b9bb49e3abaab76bc436
parent89ad7be8e713f33ec677cf4576e0c9b0ed83f7c6
board/b4qds:Add support of 2 stage NAND boot-loader

Add support of 2 stage NAND boot loader using SPL framework.
here, PBL initialise the internal SRAM and copy SPL(160KB). This further
initialise DDR using SPD and 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

Signed-off-by: Prabhakar Kushwaha <prabhakar@freescale.com>
Reviewed-by: York Sun <yorksun@freescale.com>
board/freescale/b4860qds/Makefile
board/freescale/b4860qds/ddr.c
board/freescale/b4860qds/spl.c [new file with mode: 0644]
board/freescale/b4860qds/tlb.c
boards.cfg
doc/README.b4860qds
include/configs/B4860QDS.h