[PATCH v2] cosmetic:fix typo in 'mmc write' example
Alexander Shirokov
shirokovalexs at gmail.com
Tue Apr 25 12:00:30 CEST 2023
In the 'mmc write' command example, it writes 16 blocks (0x10). But the
output contains 256 (0x100) blocks. This patch fixes the mismatch.
Signed-off-by: Alexander Shirokov <shirokovalexs at gmail.com>
---
doc/usage/cmd/mmc.rst | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/doc/usage/cmd/mmc.rst b/doc/usage/cmd/mmc.rst
index 55e3f9cf98..2ca1a5cf0c 100644
--- a/doc/usage/cmd/mmc.rst
+++ b/doc/usage/cmd/mmc.rst
@@ -216,7 +216,7 @@ The raw data can be read/written via 'mmc read/write' command:
=> mmc read 0x40000000 0x5000 0x100
MMC read: dev # 0, block # 20480, count 256 ... 256 blocks read: OK
- => mmc write 0x40000000 0x5000 0x10
+ => mmc write 0x40000000 0x5000 100
MMC write: dev # 0, block # 20480, count 256 ... 256 blocks written: OK
The partition list can be shown via 'mmc part' command:
--
2.40.0
More information about the U-Boot
mailing list