[PATCH] doc: blkmap: Fix typo in command example
Ken Kurematsu
k.kurematsu at nskint.co.jp
Thu Sep 26 11:26:05 CEST 2024
Fixed a variable that was incorrect during the calculation of fileblks.
Signed-off-by: Ken Kurematsu <k.kurematsu at nskint.co.jp>
---
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.34.1
More information about the U-Boot
mailing list