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 69FEFC6FD18 for ; Tue, 25 Apr 2023 10:00:41 +0000 (UTC) Received: from h2850616.stratoserver.net (localhost [IPv6:::1]) by phobos.denx.de (Postfix) with ESMTP id 48E7E861ED; Tue, 25 Apr 2023 12:00:38 +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="b+GjTyjz"; dkim-atps=neutral Received: by phobos.denx.de (Postfix, from userid 109) id AF29C86232; Tue, 25 Apr 2023 12:00:36 +0200 (CEST) Received: from mail-wr1-x431.google.com (mail-wr1-x431.google.com [IPv6:2a00:1450:4864:20::431]) (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 5E23C861ED for ; Tue, 25 Apr 2023 12:00:34 +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-wr1-x431.google.com with SMTP id ffacd0b85a97d-2f87c5b4635so5001053f8f.1 for ; Tue, 25 Apr 2023 03:00:34 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20221208; t=1682416833; x=1685008833; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:from:to:cc:subject:date :message-id:reply-to; bh=T9qWFrIj/PqNh/UMsxim+LWhdlPvETeTBuzQD32zxAI=; b=b+GjTyjzd1Zxwa0m+5ZnX3/G/DmEXv0jMEiAdOEfhUVa8VCV1SrLb6Z5mWpEoIikXQ 9Q77qDNRBaFxLzZywNwVBPL3n9O+lspQqM6z13xYRhpoZsYTp5+ssn/EcP2UROAbX0mF V4ZI4/HS02bvlxz2vqoVtwuWS1ufxvR4pukLl0NjRmFfZOoTM/w7zuf6jnEBwOM2C5vz R9jF1a+fUgqNxFwa9QveaCuKWRsRTkFzkB5L0jYtm83UFDAOTrS6d4GewTvtd1ihJZUz mm7MPO8um2QRxParNh57Sxu17pYqeoK22m9WcTAXDxLbBUUU+8/ZGyu9ic0bnTMiuMS+ 1SNg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1682416833; x=1685008833; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=T9qWFrIj/PqNh/UMsxim+LWhdlPvETeTBuzQD32zxAI=; b=Ht2Sq3ZXB6H8UqheCOfF6SAUVc4s+xKYDHbQlKOQxJYh83MxW4mIVIGQ0jxWibMHds J7r/2lUnDvN4hVnnHWaWnqRUXZ3xQwojApfFNbra+PGqAyj5ad2piS2BoZltOKH+Dxrm dyl9ygVQMg9HIU0C1ILHvyIAhMdDduAUmIKlOyrd6WstGcfj3iEgjBHI1UKe3MO6HZ+5 e1qkdSzm410SjEFVYubT9fKqAaQliLFlKsXlEMHHbUrWD3G9ZgtNqwmkZA+aaV72ETX1 zfAmhk93Nv90Qo1p5dwXlTfHIxxA1BpO62TQhIkpOZAp5cpB36q9jR9KvxFVfbBs7wg7 O6gg== X-Gm-Message-State: AAQBX9eN2uV4/SQ1uqYU8aL93mB5x53NHEIb5wsBPbxaZSUrxB6uMeGY w3kT53xYO3rzk2tGuOk6sJ4fK04AJOoIr8A= X-Google-Smtp-Source: AKy350bGs3flBLvE1RWrEJbcp+zEA/WslQNqK6BrhxDjMNU0Wy6PamVgl90ImqB3Rbt7mWlsZD26Aw== X-Received: by 2002:adf:eccb:0:b0:304:6a26:1f6 with SMTP id s11-20020adfeccb000000b003046a2601f6mr6337130wro.59.1682416833341; Tue, 25 Apr 2023 03:00:33 -0700 (PDT) Received: from aod.IoTecha.klika-tech.local ([217.153.74.34]) by smtp.gmail.com with ESMTPSA id y32-20020a05600c342000b003f173956a82sm17754826wmp.21.2023.04.25.03.00.32 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 25 Apr 2023 03:00:32 -0700 (PDT) From: Alexander Shirokov To: u-boot@lists.denx.de Cc: Alexander Shirokov Subject: [PATCH v2] cosmetic:fix typo in 'mmc write' example Date: Tue, 25 Apr 2023 12:00:30 +0200 Message-Id: <20230425100030.22403-1-shirokovalexs@gmail.com> X-Mailer: git-send-email 2.40.0 In-Reply-To: <20230408152045.15636-1-shirokovalexs@gmail.com> References: <20230408152045.15636-1-shirokovalexs@gmail.com> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit 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..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