From 8ac96c25e4a0df85f5069100ce1697d431bd0e12 Mon Sep 17 00:00:00 2001 From: Ken Kurematsu Date: Thu, 26 Sep 2024 09:26:05 +0000 Subject: [PATCH] doc: blkmap: Fix typo in command example Fixed a variable that was incorrect during the calculation of fileblks. Signed-off-by: Ken Kurematsu Reviewed-by: Quentin Schulz --- doc/usage/blkmap.rst | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/doc/usage/blkmap.rst b/doc/usage/blkmap.rst index 7337ea507a..75f736c259 100644 --- a/doc/usage/blkmap.rst +++ b/doc/usage/blkmap.rst @@ -54,7 +54,7 @@ downloaded file, in blocks: :: setexpr fileblks ${filesize} + 0x1ff - setexpr fileblks ${filesize} / 0x200 + setexpr fileblks ${fileblks} / 0x200 Then we can add a mapping to the start of our device, backed by the memory at `${loadaddr}`: -- 2.39.5