Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from phobos.denx.de (phobos.denx.de [85.214.62.61]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id AA23BC77B70 for ; Sun, 9 Apr 2023 13:01:48 +0000 (UTC) Received: from h2850616.stratoserver.net (localhost [IPv6:::1]) by phobos.denx.de (Postfix) with ESMTP id 5DEF885A1A; Sun, 9 Apr 2023 15:01:45 +0200 (CEST) Authentication-Results: phobos.denx.de; dmarc=pass (p=none dis=none) header.from=gmail.com Authentication-Results: phobos.denx.de; spf=pass smtp.mailfrom=u-boot-bounces@lists.denx.de Authentication-Results: phobos.denx.de; dkim=pass (2048-bit key; unprotected) header.d=gmail.com header.i=@gmail.com header.b="K9ieHAJf"; dkim-atps=neutral Received: by phobos.denx.de (Postfix, from userid 109) id 8596485DD9; Sat, 8 Apr 2023 17:21:02 +0200 (CEST) Received: from mail-lf1-x132.google.com (mail-lf1-x132.google.com [IPv6:2a00:1450:4864:20::132]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits)) (No client certificate requested) by phobos.denx.de (Postfix) with ESMTPS id 1727985B34 for ; Sat, 8 Apr 2023 17:21:00 +0200 (CEST) Authentication-Results: phobos.denx.de; dmarc=pass (p=none dis=none) header.from=gmail.com Authentication-Results: phobos.denx.de; spf=pass smtp.mailfrom=shirokovalexs@gmail.com Received: by mail-lf1-x132.google.com with SMTP id d7so12683179lfj.3 for ; Sat, 08 Apr 2023 08:21:00 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; t=1680967259; x=1683559259; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:from:to:cc:subject:date:message-id:reply-to; bh=OMxUDclKtaA92CmKA1xir8ZfrOGbXHwIE0YlZe8gRd4=; b=K9ieHAJfPfd7dc1NdFS6qDNJPb8wu22ALe4gRxs8VrV9Q15NqMpcKUv1IUzZSEoB8d RyPhqD4hDIyWObpN0aePqnQCCM1O0xHXzrXw74WCQT/dfGfoWdRbM5tY6wso5koXX0Wd fltesTVVYXzWic/Fq3Wt1qQ5KB9+VdrrY2lzWrnF5JddJ2DaFvsywH1I+PvGsPPhq5qc UQkFh9mPONIDDIMB5fufb8T5YESdkYfQySj/smTHYwRR0emxSTl2+2lq1zawuKy6Buzb /Jlu0mOmtrfujRD1s+hkKHxq61xis78BgpEsMc5+p6dvPcb73np3i1/dHGPOjdeoVKga Sg3g== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; t=1680967259; x=1683559259; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=OMxUDclKtaA92CmKA1xir8ZfrOGbXHwIE0YlZe8gRd4=; b=AXo/8508GnRi5Ivbfuuu2SSIWrZ2XBxXlgH7hSQrezbRsc4xJyCXx+I9+JBN/CRyXY CEo1w1S3sSz0pU2K7hXUiR1TMqDV8g0GNnLxmsBHUDEZX4R/+HDutcEA90e1M+uBUlmZ T+D7q9yZODRKIRGo9GpXxmOOja3laPmhYokQg1kElxHrdtS2DIW9GRa8+5EPJ/rOWdDU lHnC0YselN0Su5VChHsCAmgy0WzwrwKTQa/cjX12uT237bShhSslL3bspKAdHShXRbBW y8k1pM8UMAozu6nEqiSp/s084VHRcgkUX6gaKphE/FNRkvEwJ3G8p7XUyMBIbT7zQhvx vx5Q== X-Gm-Message-State: AAQBX9dwn8F9r4Y4JfFbhNlTKkPXwSvkPgUqweKIoZq+qXqy4P3zL/e6 VAkJS/jT89RqChus/S0BLhzAM4xbCQ== X-Google-Smtp-Source: AKy350Yei9aIcyWedSqfaZARoLz5GZnPSpH2qMy3fFfawY+LBPF16fjbUWKyxjfSTUyqPS1HaVjUrg== X-Received: by 2002:ac2:5214:0:b0:4b3:d6e1:26bb with SMTP id a20-20020ac25214000000b004b3d6e126bbmr1500580lfl.29.1680967258688; Sat, 08 Apr 2023 08:20:58 -0700 (PDT) Received: from localhost.localdomain (89-64-14-129.dynamic.chello.pl. [89.64.14.129]) by smtp.gmail.com with ESMTPSA id r20-20020ac252b4000000b004eaeb0a984csm1218656lfm.88.2023.04.08.08.20.56 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sat, 08 Apr 2023 08:20:57 -0700 (PDT) From: Alexander Shirokov To: u-boot@lists.denx.de Cc: Alexander Shirokov Subject: [PATCH] doc:fix typo in 'mmc write' example Date: Sat, 8 Apr 2023 17:20:45 +0200 Message-Id: <20230408152045.15636-1-shirokovalexs@gmail.com> X-Mailer: git-send-email 2.40.0 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Mailman-Approved-At: Sun, 09 Apr 2023 15:01:44 +0200 X-BeenThere: u-boot@lists.denx.de X-Mailman-Version: 2.1.39 Precedence: list List-Id: U-Boot discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: u-boot-bounces@lists.denx.de Sender: "U-Boot" X-Virus-Scanned: clamav-milter 0.103.8 at phobos.denx.de X-Virus-Status: Clean 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 --- 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 The partition list can be shown via 'mmc part' command: -- 2.40.0