This patch adds SD boot support for LS1021ATWR board. SPL framework is used. PBL initialize the internal RAM and copy SPL to it, then SPL initialize DDR using SPD and copy u-boot from SD card to DDR, finally SPL transfer control to u-boot. Signed-off-by: Chen Lu <chen.lu@freescale.com> Signed-off-by: Alison Wang <alison.wang@freescale.com> Signed-off-by: Jason Jin <jason.jin@freescale.com> Reviewed-by: York Sun <yorksun@freescale.com>master
parent
86949c2b7c
commit
8415bb68c8
@ -0,0 +1,12 @@ |
||||
#PBI commands |
||||
|
||||
09570200 ffffffff |
||||
09570158 00000300 |
||||
8940007c 21f47300 |
||||
|
||||
#Configure Scratch register |
||||
09ee0200 10000000 |
||||
#Configure alternate space |
||||
09570158 00001000 |
||||
#Flush PBL data |
||||
096100c0 000FFFFF |
@ -0,0 +1,14 @@ |
||||
#PBL preamble and RCW header |
||||
aa55aa55 01ee0100 |
||||
|
||||
#enable IFC, disable QSPI and DSPI |
||||
0608000a 00000000 00000000 00000000 |
||||
20000000 00407900 60040a00 21046000 |
||||
00000000 00000000 00000000 00038000 |
||||
00080000 881b7340 00000000 00000000 |
||||
|
||||
#disable IFC, enable QSPI and DSPI |
||||
#0608000a 00000000 00000000 00000000 |
||||
#20000000 00407900 60040a00 21046000 |
||||
#00000000 00000000 00000000 00038000 |
||||
#20084800 881b7340 00000000 00000000 |
@ -0,0 +1,4 @@ |
||||
CONFIG_SPL=y |
||||
CONFIG_SYS_EXTRA_OPTIONS="RAMBOOT_PBL,SPL_FSL_PBL,SD_BOOT" |
||||
+S:CONFIG_ARM=y |
||||
+S:CONFIG_TARGET_LS1021ATWR=y |
Loading…
Reference in new issue