4 Commits

Author SHA1 Message Date
Priit Laes
5831d54aa9 spi: Add A20 pinmux configuration
A20 (as does A10) uses pins 0,1,2 and 23 in bank C
for SPI 0.

Signed-off-by: Priit Laes <priit.laes@paf.com>
2019-01-08 16:55:46 +02:00
Priit Laes
5325533ce7 spi: Be more verbose in case of unsupported SoCs
Signed-off-by: Priit Laes <priit.laes@paf.com>
2019-01-08 15:54:18 +02:00
Andre Przywara
fbe2dee762 fel: SPI: add Macronix support
Add the JEDEC manufacturer ID for Macronix to the list of recognized
vendors, also add the MX25L series to the list of supported chips.
Those chips are used on the OrangePi PC 2 boards, for instance.
Tag the struct definition with the member names on the way to improve
readability of the SPI flash chip description.

Signed-off-by: Andre Przywara <osp@andrep.de>
2018-07-09 09:16:25 +01:00
Siarhei Siamashka
3c9bc29f39 fel: Add SPI flash programmer implementation
Using the new AAPCS function remote execution support, add support to
read from and write to SPI flash connected to a device.
This allows flashing boot code to a device.

Signed-off-by: Siarhei Siamashka <siarhei.siamashka@gmail.com>
[Andre: adjust to upstream changes]
Signed-off-by: Andre Przywara <osp@andrep.de>
2018-07-09 09:16:24 +01:00