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>
Showing
- board/freescale/b4860qds/Makefile 7 additions, 2 deletionsboard/freescale/b4860qds/Makefile
- board/freescale/b4860qds/ddr.c 4 additions, 1 deletionboard/freescale/b4860qds/ddr.c
- board/freescale/b4860qds/spl.c 114 additions, 0 deletionsboard/freescale/b4860qds/spl.c
- board/freescale/b4860qds/tlb.c 10 additions, 0 deletionsboard/freescale/b4860qds/tlb.c
- boards.cfg 2 additions, 2 deletionsboards.cfg
- doc/README.b4860qds 36 additions, 0 deletionsdoc/README.b4860qds
- include/configs/B4860QDS.h 57 additions, 7 deletionsinclude/configs/B4860QDS.h
Loading
Please register or sign in to comment