doc: blkmap: Fix typo in command example
Fixed a variable that was incorrect during the calculation of fileblks. Signed-off-by: Ken Kurematsu <k.kurematsu@nskint.co.jp> Reviewed-by: Quentin Schulz <quentin.schulz@cherry.de>
This commit is contained in:
committed by
Heinrich Schuchardt
parent
4b5750aaee
commit
8ac96c25e4
@@ -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}`:
|
||||
|
||||
Reference in New Issue
Block a user