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 | c386d0a2a068f7d77b49043f0ba9e53c0c544d33 (patch) | |
tree | 77553e79f295eb5f9dec27812378b73ccedcc4a4 /spi.c | |
parent | abe7c186049e66ea1b6c5fcda2d46decf9a8ab40 (diff) | |
download | flashrom-c386d0a2a068f7d77b49043f0ba9e53c0c544d33.zip flashrom-c386d0a2a068f7d77b49043f0ba9e53c0c544d33.tar.gz |
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 'spi.c')
0 files changed, 0 insertions, 0 deletions