{"id":816913,"url":"http://patchwork.ozlabs.org/api/patches/816913/?format=json","web_url":"http://patchwork.ozlabs.org/project/uboot/patch/1506004213-22620-10-git-send-email-jjhiblot@ti.com/","project":{"id":18,"url":"http://patchwork.ozlabs.org/api/projects/18/?format=json","name":"U-Boot","link_name":"uboot","list_id":"u-boot.lists.denx.de","list_email":"u-boot@lists.denx.de","web_url":null,"scm_url":null,"webscm_url":null,"list_archive_url":"","list_archive_url_format":"","commit_url_format":""},"msgid":"<1506004213-22620-10-git-send-email-jjhiblot@ti.com>","list_archive_url":null,"date":"2017-09-21T14:29:56","name":"[U-Boot,v2,09/26] cmd: mmc: display the mode name and current bus speed in the mmc info","commit_ref":null,"pull_url":null,"state":"accepted","archived":false,"hash":"e2d1d1ba96f452f78cce4a74e2b991017f0f6e19","submitter":{"id":70508,"url":"http://patchwork.ozlabs.org/api/people/70508/?format=json","name":"Jean-Jacques Hiblot","email":"jjhiblot@ti.com"},"delegate":{"id":12423,"url":"http://patchwork.ozlabs.org/api/users/12423/?format=json","username":"Jaehoon","first_name":"Jaehoon","last_name":"Chung","email":"jh80.chung@samsung.com"},"mbox":"http://patchwork.ozlabs.org/project/uboot/patch/1506004213-22620-10-git-send-email-jjhiblot@ti.com/mbox/","series":[{"id":4400,"url":"http://patchwork.ozlabs.org/api/series/4400/?format=json","web_url":"http://patchwork.ozlabs.org/project/uboot/list/?series=4400","date":"2017-09-21T14:29:47","name":"mmc: Add support for HS200 and UHS modes","version":2,"mbox":"http://patchwork.ozlabs.org/series/4400/mbox/"}],"comments":"http://patchwork.ozlabs.org/api/patches/816913/comments/","check":"pending","checks":"http://patchwork.ozlabs.org/api/patches/816913/checks/","tags":{},"related":[],"headers":{"Return-Path":"<u-boot-bounces@lists.denx.de>","X-Original-To":"incoming@patchwork.ozlabs.org","Delivered-To":"patchwork-incoming@bilbo.ozlabs.org","Authentication-Results":["ozlabs.org;\n\tspf=none (mailfrom) smtp.mailfrom=lists.denx.de\n\t(client-ip=81.169.180.215; helo=lists.denx.de;\n\tenvelope-from=u-boot-bounces@lists.denx.de;\n\treceiver=<UNKNOWN>)","ozlabs.org;\n\tdkim=fail reason=\"signature verification failed\" (1024-bit key;\n\tunprotected) header.d=ti.com header.i=@ti.com header.b=\"JDY1mlrR\";\n\tdkim-atps=neutral"],"Received":["from lists.denx.de (dione.denx.de [81.169.180.215])\n\tby ozlabs.org (Postfix) with ESMTP id 3xyfW14T0qz9t3C\n\tfor <incoming@patchwork.ozlabs.org>;\n\tFri, 22 Sep 2017 00:43:41 +1000 (AEST)","by lists.denx.de (Postfix, from userid 105)\n\tid 666C6C22071; Thu, 21 Sep 2017 14:32:09 +0000 (UTC)","from lists.denx.de (localhost [IPv6:::1])\n\tby lists.denx.de (Postfix) with ESMTP id 55B42C2201B;\n\tThu, 21 Sep 2017 14:30:50 +0000 (UTC)","by lists.denx.de (Postfix, from userid 105)\n\tid ED33DC21FD3; Thu, 21 Sep 2017 14:30:44 +0000 (UTC)","from lelnx194.ext.ti.com (lelnx194.ext.ti.com [198.47.27.80])\n\tby lists.denx.de (Postfix) with ESMTPS id D8A2EC21E57\n\tfor <u-boot@lists.denx.de>; Thu, 21 Sep 2017 14:30:39 +0000 (UTC)","from dflxv15.itg.ti.com ([128.247.5.124])\n\tby lelnx194.ext.ti.com (8.15.1/8.15.1) with ESMTP id v8LEUbiE002842; \n\tThu, 21 Sep 2017 09:30:37 -0500","from DLEE100.ent.ti.com (dlee100.ent.ti.com [157.170.170.30])\n\tby dflxv15.itg.ti.com (8.14.3/8.13.8) with ESMTP id v8LEUbL3028509;\n\tThu, 21 Sep 2017 09:30:37 -0500","from DLEE112.ent.ti.com (157.170.170.23) by DLEE100.ent.ti.com\n\t(157.170.170.30) with Microsoft SMTP Server (version=TLS1_2,\n\tcipher=TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA384_P256) id 15.1.845.34;\n\tThu, 21 Sep 2017 09:30:37 -0500","from dlep33.itg.ti.com (157.170.170.75) by DLEE112.ent.ti.com\n\t(157.170.170.23) with Microsoft SMTP Server (version=TLS1_0,\n\tcipher=TLS_RSA_WITH_AES_256_CBC_SHA) id 15.1.845.34 via Frontend\n\tTransport; Thu, 21 Sep 2017 09:30:37 -0500","from localhost (ileax41-snat.itg.ti.com [10.172.224.153])\n\tby dlep33.itg.ti.com (8.14.3/8.13.8) with ESMTP id v8LEUaox011434;\n\tThu, 21 Sep 2017 09:30:36 -0500"],"X-Spam-Checker-Version":"SpamAssassin 3.4.0 (2014-02-07) on lists.denx.de","X-Spam-Level":"","X-Spam-Status":"No, score=0.0 required=5.0 tests=RCVD_IN_DNSWL_NONE,\n\tT_DKIM_INVALID autolearn=unavailable autolearn_force=no version=3.4.0","DKIM-Signature":"v=1; a=rsa-sha256; c=relaxed/simple; d=ti.com;\n\ts=ti-com-17Q1; t=1506004237;\n\tbh=VVpJxy9oOQeUz4iApkGbx15KVyGM2OYTlK9zO3H7kHk=;\n\th=From:To:CC:Subject:Date:In-Reply-To:References;\n\tb=JDY1mlrRIWT2QvunR/gPfEiTPaCEq6un+E6IoBzaAVHT4HygoPB8wMWj8G7uKmCpM\n\tuOiwst1YRQWsK4davpb0JgZAMBDY8NNgUI3ESOFEfpxxdS93RSneq2gdzjEo0emUzm\n\tpgZ+Y7Nq8V6VkHZPXq3Mnu769roIONPd7R6q37Sk=","From":"Jean-Jacques Hiblot <jjhiblot@ti.com>","To":"<jh80.chung@samsung.com>, <trini@konsulko.com>, <kishon@ti.com>,\n\t<sjg@chromium.org>","Date":"Thu, 21 Sep 2017 16:29:56 +0200","Message-ID":"<1506004213-22620-10-git-send-email-jjhiblot@ti.com>","X-Mailer":"git-send-email 1.9.1","In-Reply-To":"<1506004213-22620-1-git-send-email-jjhiblot@ti.com>","References":"<1506004213-22620-1-git-send-email-jjhiblot@ti.com>","MIME-Version":"1.0","X-EXCLAIMER-MD-CONFIG":"e1e8a2fd-e40a-4ac6-ac9b-f7e9cc9ee180","Cc":"u-boot@lists.denx.de","Subject":"[U-Boot] [PATCH v2 09/26] cmd: mmc: display the mode name and\n\tcurrent bus speed in the mmc info","X-BeenThere":"u-boot@lists.denx.de","X-Mailman-Version":"2.1.18","Precedence":"list","List-Id":"U-Boot discussion <u-boot.lists.denx.de>","List-Unsubscribe":"<https://lists.denx.de/options/u-boot>,\n\t<mailto:u-boot-request@lists.denx.de?subject=unsubscribe>","List-Archive":"<http://lists.denx.de/pipermail/u-boot/>","List-Post":"<mailto:u-boot@lists.denx.de>","List-Help":"<mailto:u-boot-request@lists.denx.de?subject=help>","List-Subscribe":"<https://lists.denx.de/listinfo/u-boot>,\n\t<mailto:u-boot-request@lists.denx.de?subject=subscribe>","Content-Type":"text/plain; charset=\"utf-8\"","Content-Transfer-Encoding":"base64","Errors-To":"u-boot-bounces@lists.denx.de","Sender":"\"U-Boot\" <u-boot-bounces@lists.denx.de>"},"content":"Display the mode name when the user execute 'mmc info'. Also instead of\ndisplaying tran_speed, display the actual bus speed.\n\nSigned-off-by: Jean-Jacques Hiblot <jjhiblot@ti.com>\nReviewed-by: Simon Glass <sjg@chromium.org>\n---\n cmd/mmc.c | 3 ++-\n 1 file changed, 2 insertions(+), 1 deletion(-)","diff":"diff --git a/cmd/mmc.c b/cmd/mmc.c\nindex 5def4ea..6d48ecb 100644\n--- a/cmd/mmc.c\n+++ b/cmd/mmc.c\n@@ -23,7 +23,8 @@ static void print_mmcinfo(struct mmc *mmc)\n \t\t\t(mmc->cid[1] >> 24), (mmc->cid[1] >> 16) & 0xff,\n \t\t\t(mmc->cid[1] >> 8) & 0xff, mmc->cid[1] & 0xff);\n \n-\tprintf(\"Tran Speed: %d\\n\", mmc->tran_speed);\n+\tprintf(\"Bus Speed: %d\\n\", mmc->clock);\n+\tprintf(\"Mode : %s\\n\", mmc_mode_name(mmc->selected_mode));\n \tprintf(\"Rd Block Len: %d\\n\", mmc->read_bl_len);\n \n \tprintf(\"%s version %d.%d\", IS_SD(mmc) ? \"SD\" : \"MMC\",\n","prefixes":["U-Boot","v2","09/26"]}