As QSPI and IFC are pin-multiplexed on LS1021A, only IFC is supported in SD boot now. For the customer's demand, QSPI needs to be supported in SD boot too. This patch adds QSPI or IFC support in SD boot according to the corresponding defconfig. For detail, ls1021atwr_sdcard_ifc_defconfig is used to support IFC in SD boot and ls1021atwr_sdcard_qspi_defconfig is used to support QSPI in SD boot. Signed-off-by: Alison Wang <alison.wang@freescale.com> Reviewed-by: York Sun <yorksun@freescale.com>master
parent
713bf94ff2
commit
947cee1127
@ -1,14 +0,0 @@ |
||||
#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,8 @@ |
||||
#PBL preamble and RCW header |
||||
aa55aa55 01ee0100 |
||||
|
||||
#enable IFC, disable QSPI and DSPI |
||||
0608000a 00000000 00000000 00000000 |
||||
30000000 00007900 60040a00 21046000 |
||||
00000000 00000000 00000000 20000000 |
||||
00080000 881b7340 00000000 00000000 |
@ -0,0 +1,8 @@ |
||||
#PBL preamble and RCW header |
||||
aa55aa55 01ee0100 |
||||
|
||||
#disable IFC, enable QSPI and DSPI |
||||
0608000a 00000000 00000000 00000000 |
||||
30000000 00007900 60040a00 21046000 |
||||
00000000 00000000 00000000 20000000 |
||||
20024800 881b7340 00000000 00000000 |
@ -0,0 +1,11 @@ |
||||
CONFIG_ARM=y |
||||
CONFIG_TARGET_LS1021ATWR=y |
||||
CONFIG_SPL=y |
||||
CONFIG_SYS_EXTRA_OPTIONS="RAMBOOT_PBL,SPL_FSL_PBL,SD_BOOT,SD_BOOT_QSPI" |
||||
CONFIG_DEFAULT_DEVICE_TREE="ls1021a-twr" |
||||
CONFIG_OF_CONTROL=y |
||||
CONFIG_DM=y |
||||
CONFIG_SPI_FLASH=y |
||||
CONFIG_NETDEVICES=y |
||||
CONFIG_E1000=y |
||||
CONFIG_DM_SPI=y |
Loading…
Reference in new issue