libuuu: sdp: SDPWriteCmd: allow to skip check_ack
commite3ce6b2ae1f467f890e2c4c568d832c95b8519b6
authorMarco Felsch <m.felsch@pengutronix.de>
Thu, 12 Oct 2023 10:06:05 +0000 (12 12:06 +0200)
committernxpfrankli <frank.li@nxp.com>
Thu, 12 Oct 2023 15:33:38 +0000 (12 11:33 -0400)
tree7d0e851dc6530a15bd3ddc350b802008dc7439f3
parent1a9d927488b04beb6cd40000aa009abd0b003dfa
libuuu: sdp: SDPWriteCmd: allow to skip check_ack

Allow to skip check_ack since there are use cases where this generates
false positives. One use-case would be:
 1st) loading a small binary capable to handle USB transfers
 2nd) loading a larger binary by this command. The larger binary is
      started immediatly after all blocks are received on the device
      side.

Barebox does have such an behaviour and loading the BL33 binary triggers
an false positiv.

Signed-off-by: Marco Felsch <m.felsch@pengutronix.de>
libuuu/sdp.cpp
libuuu/sdp.h