u-boot/board/freescale/mx7dsabresd
Peng Fan 53cc647dc6 imx: mx7dsabresd: Add QSPI support
Support qspi flashes for mx7dsabresd
1. introduce pin mux settings
2. enable qspi clock
3. introduce related macro definitions

Default QSPI is not enabled, since we need hardware rework to use QSPI,
see SPF-28590, page 9:
"
QSPI signals are muxed with EPDC_D[7:0]
When using QSPI: de-populate R388-R391, R396-R399
populate R392-R395, R299, R300
"

After hardware rework, define CONFIG_FSL_QSPI in mx7dsabresd.h. qspi
flashes can be deteced and read/erase/write. Log info:
"
=> sf probe
SF: Detected MX25L51235F with page size 256 Bytes, erase size 64 KiB, total 64 MiB
=> sf read 0x80000000 0 0x4000000
device 0 whole chip
SF: 67108864 bytes @ 0x0 Read: OK
=> sf erase 0 0x4000000
SF: 67108864 bytes @ 0x0 Erased: OK
=> sf write 0x80000000 0 0x4000000
device 0 whole chip
SF: 67108864 bytes @ 0x0 Written: OK
"

Cc: Fabio Estevam <fabio.estevam@freescale.com>
Cc: Adrian Alonso <aalonso@freescale.com>
Reviewed-by: Stefano Babic <sbabic@denx.de>
Reviewed-by: Jagan Teki <jteki@openedev.com>
Signed-off-by: Peng Fan <Peng.Fan@freescale.com>
2015-12-11 22:12:23 +05:30
..
imximage.cfg mx7dsabresd: add secure boot support 2015-10-30 15:22:37 +01:00
Kconfig imx: mx7dsabresd: drop SYS_SOC from board Kconfig 2015-09-20 09:57:00 +02:00
MAINTAINERS imx: mx7dsabresd: Add support for MX7D SABRESD board 2015-09-13 10:11:54 +02:00
Makefile imx: mx7dsabresd: Add support for MX7D SABRESD board 2015-09-13 10:11:54 +02:00
mx7dsabresd.c imx: mx7dsabresd: Add QSPI support 2015-12-11 22:12:23 +05:30