On Wednesday, January 27, 2016 09:33 AM, Marek Vasut wrote:
On Saturday, January 16, 2016 at 07:13:51 PM, Wills Wang wrote:
Reviewed-by: Thomas Chou <tho...@wytron.com.tw>
Signed-off-by: Wills Wang <wills.w...@live.com>
---
Changes in v7:
- Define spi_cs_activate/spi_cs_deactivate
- Rename MHZ to ATH79_SPI_MHZ
- Use clrsetbits_32
The driver gets stuck if I do:
=> sf probe
=> sf read 0x81000000 0 0x20000
If I transfer only 0x10000 , it doesn't get stuck.
Best regards,
Marek Vasut
ap121 # sf probe
SF: Detected W25Q64CV with page size 256 Bytes, erase size 4 KiB, total
8 MiB, mapped at 9f000000
ap121 # sf read 0x81000000 0 0x20000
device 0 offset 0x0, size 0x20000
SF: 131072 bytes @ 0x0 Read: OK
ap121 # sf read 0x81000000 0 0x10000
device 0 offset 0x0, size 0x10000
SF: 65536 bytes @ 0x0 Read: OK
ap121 # sf read 0x81000000 0 0x1000
device 0 offset 0x0, size 0x1000
SF: 4096 bytes @ 0x0 Read: OK
ap121 # sf read 0x81000000 0 0x100
device 0 offset 0x0, size 0x100
SF: 256 bytes @ 0x0 Read: OK
--
Best Regards
Wills
_______________________________________________
U-Boot mailing list
U-Boot@lists.denx.de
http://lists.denx.de/mailman/listinfo/u-boot