]> git.sur5r.net Git - u-boot/commit
spi: Add zynq qspi controller driver
authorJagan Teki <jteki@openedev.com>
Mon, 17 Aug 2015 13:08:06 +0000 (18:38 +0530)
committerJagan Teki <jteki@openedev.com>
Sun, 25 Oct 2015 14:47:01 +0000 (20:17 +0530)
commit46d0a9913c2874521ea63e50b6c7593629b7e7d0
tree6ff0c3a25fda4bded2c73dea4cbe00b8f318711d
parent677f970bc62a661690b3431543d5a5d5e682ba70
spi: Add zynq qspi controller driver

Added zynq qspi controller driver for Xilinx Zynq APSOC,
this driver is driver-model driven with devicetree support.

=> sf probe
SF: Detected S25FL128S_64K with page size 256 Bytes, erase size 64 KiB, total 16 MiB
=> mw.b 0x100 0xCC 0x1000000
=> sf update 0x100 0x0 0x1000000
device 0 whole chip
16777216 bytes written, 0 bytes skipped in 59.842s, speed 289262 B/s
=> sf read 0x3000000 0x0 0x1000000
device 0 whole chip
SF: 16777216 bytes @ 0x0 Read: OK
=> cmp.b 0x3000000 0x100 0x1000000
Total of 16777216 byte(s) were the same

Signed-off-by: Jagan Teki <jteki@openedev.com>
Reviewed-by: Simon Glass <sjg@chromium.org>
Cc: Michal Simek <michal.simek@xilinx.com>
Acked-by: Siva Durga Prasad Paladugu <sivadur@xilinx.com>
Tested-by: Jagan Teki <jteki@openedev.com>
drivers/spi/Makefile
drivers/spi/zynq_qspi.c [new file with mode: 0644]