
19 Apr
2023
19 Apr
'23
3:45 a.m.
On Sun, 9 Apr 2023 at 07:01, Alexander Shirokov shirokovalexs@gmail.com wrote:
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@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..41005b18ef 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 0x100 MMC write: dev # 0, block # 20480, count 256 ... 256 blocks written: OK
Could we drop the 0x as well? Those are not needed and may confuse people.
The partition list can be shown via 'mmc part' command:
2.40.0
Regards, Simon