diff options
author | Qianyu Gong <qianyu.gong@nxp.com> | 2016-01-25 15:16:07 +0800 |
---|---|---|
committer | York Sun <york.sun@nxp.com> | 2016-01-27 08:29:09 -0800 |
commit | b0f20caf6570fbc4d19c41dcedf9679784042860 (patch) | |
tree | 4755649268207fd9736abb7f1f2cc519e20a9b45 /board/freescale/ls1043aqds/ls1043aqds.c | |
parent | 166ef1e90ce404a6470a1c4910a1e84404379b86 (diff) | |
download | u-boot-b0f20caf6570fbc4d19c41dcedf9679784042860.tar.gz |
armv8/ls1043aqds: add QSPI boot support
Enable the U-Boot Driver Model(DM) to use the Freescale QSPI driver.
Signed-off-by: Gong Qianyu <Qianyu.Gong@nxp.com>
Reviewed-by: York Sun <york.sun@nxp.com>
Diffstat (limited to 'board/freescale/ls1043aqds/ls1043aqds.c')
-rw-r--r-- | board/freescale/ls1043aqds/ls1043aqds.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/board/freescale/ls1043aqds/ls1043aqds.c b/board/freescale/ls1043aqds/ls1043aqds.c index bb14447409..01db078222 100644 --- a/board/freescale/ls1043aqds/ls1043aqds.c +++ b/board/freescale/ls1043aqds/ls1043aqds.c @@ -47,7 +47,7 @@ enum { int checkboard(void) { char buf[64]; -#ifndef CONFIG_SD_BOOT +#if !defined(CONFIG_SD_BOOT) && !defined(CONFIG_QSPI_BOOT) u8 sw; #endif @@ -55,6 +55,8 @@ int checkboard(void) #ifdef CONFIG_SD_BOOT puts("SD\n"); +#elif defined(CONFIG_QSPI_BOOT) + puts("QSPI\n"); #else sw = QIXIS_READ(brdcfg[0]); sw = (sw & QIXIS_LBMAP_MASK) >> QIXIS_LBMAP_SHIFT; |