From 87f2d6791d9353c1fb30444ec1a85704ba3520ca Mon Sep 17 00:00:00 2001 From: Anastasia Klimchuk Date: Thu, 19 Sep 2024 17:50:09 +1000 Subject: [PATCH] dediprog: Fix comment about usb transfer size Co-developed-by: Anastasia Klimchuk Co-developed-by: Sergii Dmytruk Change-Id: I1ad7f89b0a6c91907440e3897ac262bd82f846d5 Signed-off-by: Anastasia Klimchuk Reviewed-on: https://review.coreboot.org/c/flashrom/+/84421 Reviewed-by: Sergii Dmytruk Tested-by: build bot (Jenkins) --- dediprog.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dediprog.c b/dediprog.c index 734fcfa11..aa3a1cf0c 100644 --- a/dediprog.c +++ b/dediprog.c @@ -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. */