Commit Graph

16 Commits

Author SHA1 Message Date
f4ac6ea812 spi: handle qpi better for command handling
Signed-off-by: Sean Cross <sean@xobs.io>
2018-12-18 20:53:22 -05:00
af1dff1e28 spi: use quirks for reading from SR
Different chips handle reading from SR in different ways.

Signed-off-by: Sean Cross <sean@xobs.io>
2018-12-18 20:52:58 -05:00
edd8824a74 spi: add quirks system
Not all SPI chips are the same.  Add a system to differentiate them.

Signed-off-by: Sean Cross <sean@xobs.io>
2018-12-18 20:52:24 -05:00
fc6d6a575d spi: print out progress while writing
Signed-off-by: Sean Cross <sean@xobs.io>
2018-12-18 20:40:01 -05:00
6b6266c1de spi: issue "wake from reset" as part of spiReset()
Signed-off-by: Sean Cross <sean@xobs.io>
2018-12-18 20:38:31 -05:00
4e411774c0 spi: remove unused prototype
Signed-off-by: Sean Cross <sean@xobs.io>
2018-12-18 20:33:53 -05:00
f4d2c46eb3 fomu-flash: print out status registers as part of id
Print the contents of SR1, SR2, and SR3.  Not all chips have SR3,
so this may be 0xff.

Signed-off-by: Sean Cross <sean@xobs.io>
2018-12-18 20:32:10 -05:00
fed97ce846 fomu-flash: add -i option to print id codes
Signed-off-by: Sean Cross <sean@xobs.io>
2018-11-29 04:27:29 -05:00
a9af9820be spi: add function to read various id codes
Signed-off-by: Sean Cross <sean@xobs.io>
2018-11-29 04:27:19 -05:00
cddbe4c90c fomu-flash: add spi speed flag
Signed-off-by: Sean Cross <sean@xobs.io>
2018-11-29 03:51:49 -05:00
3beccf1b03 documentation: add readme and license file
Signed-off-by: Sean Cross <sean@xobs.io>
2018-12-17 22:09:00 +08:00
a8de1b56dc fomu-flash: add the ability to specify more pins
Signed-off-by: Sean Cross <sean@xobs.io>
2018-12-17 22:07:10 +08:00
253e82b5cb fomu-flash: add offset parameter to -p
Add an offset parameter to -p.

Signed-off-by: Sean Cross <sean@xobs.io>
2018-12-17 21:40:40 +08:00
Your Name
09fe20efda fomu-flash: first full commit
Signed-off-by: Your Name <you@example.com>
2018-11-28 13:19:51 -05:00
Your Name
c2f21f1df1 rearrange pin definitions
Signed-off-by: Your Name <you@example.com>
2018-11-28 11:02:49 -05:00
Your Name
23616a1c4b initial commit
Signed-off-by: Your Name <you@example.com>
2018-11-28 10:52:27 -05:00