Too bad these things aren't well documented. Maybe the original
FTDI library has some hint why one can set the size at all?

If we keep the chunksize setting, I would make this part of
the write command. e.g. keep a global variable with the last
set chunksize and then try to increase it everytime we need
something higher. Or the other way around, #define a maximum
and then check that this maximum isn't exceeded in the com-
mand processing.

View Change

To view, visit change 43282. To unsubscribe, or for help writing mail filters, visit settings.

Gerrit-Project: flashrom
Gerrit-Branch: master
Gerrit-Change-Id: I5e096937834fc8fc8623c8c59ade529de081b72a
Gerrit-Change-Number: 43282
Gerrit-PatchSet: 4
Gerrit-Owner: Simon Buhrow
Gerrit-Reviewer: Angel Pons <th3fanbus@gmail.com>
Gerrit-Reviewer: build bot (Jenkins) <no-reply@coreboot.org>
Gerrit-CC: Nico Huber <nico.h@gmx.de>
Gerrit-CC: Paul Menzel <paulepanter@users.sourceforge.net>
Gerrit-Comment-Date: Tue, 10 Nov 2020 11:58:48 +0000
Gerrit-HasComments: No
Gerrit-Has-Labels: No
Gerrit-MessageType: comment