diff options
author | Sourav Poddar <sourav.poddar@ti.com> | 2013-12-21 12:50:10 +0530 |
---|---|---|
committer | Jagannadha Sutradharudu Teki <jaganna@xilinx.com> | 2014-02-18 22:41:09 +0530 |
commit | bb7cd0ddf978b96c40a4889608c9b9ea16127afa (patch) | |
tree | 6ab11c37a167dabf49b39c0edcde59292e6035c0 /scripts/dtc-version.sh | |
parent | 570533b820fb4cc2bbe34c44001cc4c371617e37 (diff) | |
download | u-boot-imx-bb7cd0ddf978b96c40a4889608c9b9ea16127afa.zip u-boot-imx-bb7cd0ddf978b96c40a4889608c9b9ea16127afa.tar.gz u-boot-imx-bb7cd0ddf978b96c40a4889608c9b9ea16127afa.tar.bz2 |
spi: ti_qspi: Add delay before xfer for am43xx
Without this delay, write/read is failing.
Looks like, the WIP always remain set and hence a timeout
occurs leading to the error.
Without this patch, device does not get probed also.
Here is the log.
U-Boot#
U-Boot#
U-Boot#
U-Boot# sf probe 0
SF: Unsupported flash IDs: manuf ff, jedec ffff, ext_jedec ffff
Failed to initialize SPI flash at 0:0
U-Boot# sf probe 0
While with this patch, log is
U-Boot# sf probe 0
SF: Detected MX25L51235F with page size 256 Bytes, erase size 64 KiB, total 64 MiB, mapped at 30000000
U-Boot# sf erase 0 0x80000
SF: 524288 bytes @ 0x0 Erased: OK
U-Boot# mw 81000000 0xdededede 0x40000
U-Boot# sf write 81000000 0 0x40000
SF: 262144 bytes @ 0x0 Written: OK
U-Boot# sf read 82000000 0 0x40000
SF: 262144 bytes @ 0x0 Read: OK
U-Boot# md 0x82000000
Signed-off-by: Sourav Poddar <sourav.poddar@ti.com>
Reviewed-by: Jagannadha Sutradharudu Teki <jaganna@xilinx.com>
Diffstat (limited to 'scripts/dtc-version.sh')
0 files changed, 0 insertions, 0 deletions