Thomas Heijligen submitted this change.
1 is the latest approved patch-set.
No files were changed between the latest approved patch-set and the submitted one.
jedec.c: Rename func to jedec_write_page()
Change-Id: I1be83d5974e305bddceaa34b64e982b774ade0d2
Signed-off-by: Edward O'Callaghan <quasisec@google.com>
Reviewed-on: https://review.coreboot.org/c/flashrom/+/73282
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Reviewed-by: Stefan Reinauer <stefan.reinauer@coreboot.org>
Reviewed-by: Thomas Heijligen <src@posteo.de>
---
M jedec.c
1 file changed, 16 insertions(+), 2 deletions(-)
diff --git a/jedec.c b/jedec.c
index f9442ec..2cdde61 100644
--- a/jedec.c
+++ b/jedec.c
@@ -396,7 +396,7 @@
return failed;
}
-static int write_page_write_jedec_common(struct flashctx *flash, const uint8_t *src,
+static int jedec_write_page(struct flashctx *flash, const uint8_t *src,
unsigned int start, unsigned int page_size)
{
int tries = 0, failed;
@@ -471,7 +471,7 @@
/* Length of bytes in the range in this page. */
lenhere = min(start + len, (i + 1) * page_size) - starthere;
- if (write_page_write_jedec_common(flash, buf + starthere - start, starthere, lenhere))
+ if (jedec_write_page(flash, buf + starthere - start, starthere, lenhere))
return 1;
update_progress(flash, FLASHROM_PROGRESS_WRITE, i + 1, nwrites + 1);
}
To view, visit change 73282. To unsubscribe, or for help writing mail filters, visit settings.