mirror of
https://github.com/u-boot/u-boot.git
synced 2025-04-25 14:56:03 +00:00
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:
parent
4b5750aaee
commit
8ac96c25e4
1 changed files with 1 additions and 1 deletions
|
@ -54,7 +54,7 @@ downloaded file, in blocks:
|
||||||
::
|
::
|
||||||
|
|
||||||
setexpr fileblks ${filesize} + 0x1ff
|
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
|
Then we can add a mapping to the start of our device, backed by the
|
||||||
memory at `${loadaddr}`:
|
memory at `${loadaddr}`:
|
||||||
|
|
Loading…
Add table
Reference in a new issue