diff options
author | Carl-Daniel Hailfinger <c-d.hailfinger.devel.2006@gmx.net> | 2012-06-08 15:27:47 +0000 |
---|---|---|
committer | Carl-Daniel Hailfinger <c-d.hailfinger.devel.2006@gmx.net> | 2012-06-08 15:27:47 +0000 |
commit | 316fdfbf82a6183f75f4cca3e9fad0a21d3822e9 (patch) | |
tree | 77553e79f295eb5f9dec27812378b73ccedcc4a4 /wbsio_spi.c | |
parent | 1c1554888875840f3d64231978aa891154b05f53 (diff) | |
download | flashrom-316fdfbf82a6183f75f4cca3e9fad0a21d3822e9.tar.gz flashrom-316fdfbf82a6183f75f4cca3e9fad0a21d3822e9.tar.bz2 flashrom-316fdfbf82a6183f75f4cca3e9fad0a21d3822e9.zip |
Bus Pirate buffer management revamp
The buffer management of the Bus Pirate driver has been revamped to use
grow-only buffers with a reasonable initial default size so realloc()
will not have to be called in normal operation. A side effect is the
ability to switch to a static buffer without major hassle.
Handle OOM gracefully.
Corresponding to flashrom svn r1541.
Signed-off-by: Carl-Daniel Hailfinger <c-d.hailfinger.devel.2006@gmx.net>
Acked-by: Patrick Georgi <patrick@georgi-clan.de>
Diffstat (limited to 'wbsio_spi.c')
0 files changed, 0 insertions, 0 deletions