summaryrefslogtreecommitdiff
path: root/serial.c
diff options
context:
space:
mode:
authorhailfinger <hailfinger@2b7e53f0-3cfb-0310-b3e9-8179ed1497e1>2012-06-08 15:27:47 +0000
committerhailfinger <hailfinger@2b7e53f0-3cfb-0310-b3e9-8179ed1497e1>2012-06-08 15:27:47 +0000
commit891533a89ba8c3f54c4c900d974144513731e2a9 (patch)
tree77553e79f295eb5f9dec27812378b73ccedcc4a4 /serial.c
parente7abb9b4c9a52d7c3730199c69327dfea6bb33ff (diff)
downloadflashrom-891533a89ba8c3f54c4c900d974144513731e2a9.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. Signed-off-by: Carl-Daniel Hailfinger <c-d.hailfinger.devel.2006@gmx.net> Acked-by: Patrick Georgi <patrick@georgi-clan.de> git-svn-id: https://code.coreboot.org/svn/flashrom/trunk@1541 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1
Diffstat (limited to 'serial.c')
0 files changed, 0 insertions, 0 deletions