mirror of
https://review.coreboot.org/flashrom.git
synced 2025-04-26 14:42:36 +02:00
dediprog: Fix comment about usb transfer size
Co-developed-by: Anastasia Klimchuk <aklm@flashrom.org> Co-developed-by: Sergii Dmytruk <sergii.dmytruk@3mdeb.com> Change-Id: I1ad7f89b0a6c91907440e3897ac262bd82f846d5 Signed-off-by: Anastasia Klimchuk <aklm@flashrom.org> Reviewed-on: https://review.coreboot.org/c/flashrom/+/84421 Reviewed-by: Sergii Dmytruk <sergii.dmytruk@3mdeb.com> Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
This commit is contained in:
parent
b6b0eba310
commit
87f2d6791d
@ -593,7 +593,7 @@ err:
|
||||
static int dediprog_spi_bulk_write(struct flashctx *flash, const uint8_t *buf, unsigned int chunksize,
|
||||
unsigned int start, unsigned int len, uint8_t dedi_spi_cmd)
|
||||
{
|
||||
/* USB transfer size must be 512, other sizes will NOT work at all.
|
||||
/* USB transfer size must be 256, other sizes will NOT work at all.
|
||||
* chunksize is the real data size per USB bulk transfer. The remaining
|
||||
* space in a USB bulk transfer must be filled with 0xff padding.
|
||||
*/
|
||||
|
Loading…
x
Reference in New Issue
Block a user