summaryrefslogtreecommitdiffstats
path: root/spi.c
diff options
context:
space:
mode:
authorCarl-Daniel Hailfinger <c-d.hailfinger.devel.2006@gmx.net>2012-06-08 15:27:47 +0000
committerCarl-Daniel Hailfinger <c-d.hailfinger.devel.2006@gmx.net>2012-06-08 15:27:47 +0000
commitc386d0a2a068f7d77b49043f0ba9e53c0c544d33 (patch)
tree77553e79f295eb5f9dec27812378b73ccedcc4a4 /spi.c
parentabe7c186049e66ea1b6c5fcda2d46decf9a8ab40 (diff)
downloadflashrom-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
OpenPOWER on IntegriCloud