summaryrefslogtreecommitdiff
path: root/bitbang_spi.c
Commit message (Collapse)AuthorAgeFilesLines
* Convert all messages in bitbang_spi.c to the new message infrastructure.snelson2010-01-091-4/+4
| | | | | | | | | Signed-off-by: Sean Nelson <audiohacked@gmail.com> Acked-by: Carl-Daniel Hailfinger <c-d.hailfinger.devel.2006@gmx.net> git-svn-id: https://code.coreboot.org/svn/flashrom/trunk@852 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1
* Reduce realloc syscall overhead for FT2232 and bitbang.hailfinger2009-11-251-2/+5
| | | | | | | | | | | | | FT2232 ran realloc() for every executed command. Start with a big enough buffer and don't touch buffer size unless it needs to grow. Bitbang was slightly better: It only ran realloc() if buffer size changed. Still, the solution above improves performance and reliability. Signed-off-by: Carl-Daniel Hailfinger <c-d.hailfinger.devel.2006@gmx.net> Acked-by: Sean Nelson <audiohacked@gmail.com> git-svn-id: https://code.coreboot.org/svn/flashrom/trunk@780 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1
* Make bitbang_spi naming consistent.hailfinger2009-10-011-26/+26
| | | | | | | | Signed-off-by: Carl-Daniel Hailfinger <c-d.hailfinger.devel.2006@gmx.net> Acked-by: Uwe Hermann <uwe@hermann-uwe.de> git-svn-id: https://code.coreboot.org/svn/flashrom/trunk@741 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1
* This is the bitbanging SPI driver infrastructure.hailfinger2009-09-281-0/+161
If you want support for a particular piece of hardware, just fill in a few functions in spi_bitbang_master_table. That's it. On top of this, the RayeR SPI flasher should be supportable in ~20 LOC. Tested, trace looks OK. Signed-off-by: Carl-Daniel Hailfinger <c-d.hailfinger.devel.2006@gmx.net> Acked-by: Uwe Hermann <uwe@hermann-uwe.de> git-svn-id: https://code.coreboot.org/svn/flashrom/trunk@736 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1