freescale/qixis: Add support for booting from SD/QSPI
authorGong Qianyu <Qianyu.Gong@freescale.com>
Thu, 31 Dec 2015 10:29:02 +0000 (18:29 +0800)
committerYork Sun <york.sun@nxp.com>
Mon, 25 Jan 2016 16:24:15 +0000 (08:24 -0800)
commit98d9aa4013d9ad4df199297e79d955f55bd6eead
tree17e1a81ddba580e9988c28c64276219cce741772
parent58e4ad1deee26425a6e0623481a0ced6a0c2db4e
freescale/qixis: Add support for booting from SD/QSPI

1.Use "qixis_reset sd" to boot from SD
2.Use "qixis_reset sd_qspi" to boot from SD with QSPI support
3.Use "qixis_reset qspi" to boot from QSPI flash

On some SoCs such as LS1021A and LS1043A, IFC and QSPI could be
pin-multiplexed. So the switches are different between SD boot with
IFC support and SD boot with QSPI support. The default booting from
SD is with IFC support.

Once QSPI is enabled(IFC disabled), only use I2C to access QIXIS.

Signed-off-by: Gong Qianyu <Qianyu.Gong@freescale.com>
Reviewed-by: York Sun <york.sun@nxp.com>
board/freescale/common/qixis.c