From patchwork Thu Mar 5 13:19:24 2015 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Sebastian Andrzej Siewior X-Patchwork-Id: 5946051 Return-Path: X-Original-To: patchwork-linux-mmc@patchwork.kernel.org Delivered-To: patchwork-parsemail@patchwork1.web.kernel.org Received: from mail.kernel.org (mail.kernel.org [198.145.29.136]) by patchwork1.web.kernel.org (Postfix) with ESMTP id 87FFE9F373 for ; Thu, 5 Mar 2015 13:19:41 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id 6751320380 for ; Thu, 5 Mar 2015 13:19:36 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id 4290420383 for ; Thu, 5 Mar 2015 13:19:35 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752740AbbCENTd (ORCPT ); Thu, 5 Mar 2015 08:19:33 -0500 Received: from www.linutronix.de ([62.245.132.108]:49809 "EHLO Galois.linutronix.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753621AbbCENTc (ORCPT ); Thu, 5 Mar 2015 08:19:32 -0500 Received: from localhost ([127.0.0.1] helo=bazinga.breakpoint.cc) by Galois.linutronix.de with esmtp (Exim 4.80) (envelope-from ) id 1YTVgY-00012g-Rt; Thu, 05 Mar 2015 14:19:30 +0100 From: Sebastian Andrzej Siewior To: linux-mmc@vger.kernel.org Cc: Chris Ball , Ulf Hansson , Sebastian Andrzej Siewior Subject: [PATCH 2/3] cmds/read_extcsd: compute in seconds Date: Thu, 5 Mar 2015 14:19:24 +0100 Message-Id: <1425561565-24806-3-git-send-email-bigeasy@linutronix.de> X-Mailer: git-send-email 2.1.4 In-Reply-To: <1425561565-24806-1-git-send-email-bigeasy@linutronix.de> References: <1425561565-24806-1-git-send-email-bigeasy@linutronix.de> X-Linutronix-Spam-Score: -1.0 X-Linutronix-Spam-Level: - X-Linutronix-Spam-Status: No , -1.0 points, 5.0 required, ALL_TRUSTED=-1, SHORTCIRCUIT=-0.0001, URIBL_BLOCKED=0.001 Sender: linux-mmc-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-mmc@vger.kernel.org X-Spam-Status: No, score=-6.9 required=5.0 tests=BAYES_00, RCVD_IN_DNSWL_HI, T_RP_MATCHES_RCVD, UNPARSEABLE_RELAY autolearn=unavailable version=3.3.1 X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on mail.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP The value in the register is * 100ms Signed-off-by: Sebastian Andrzej Siewior --- mmc_cmds.c | 1 + 1 file changed, 1 insertion(+) diff --git a/mmc_cmds.c b/mmc_cmds.c index 3b35a932378d..8addd35046d7 100644 --- a/mmc_cmds.c +++ b/mmc_cmds.c @@ -815,6 +815,7 @@ int do_read_extcsd(int nargs, char **argv) printf("1st Initialisation Time after programmed sector" " [INI_TIMEOUT_AP: 0x%02x]\n", ext_csd[241]); + printf(" i.e. %.1f sec\n", ext_csd[241] * 100 / 1000.0); /* A441: reserved [240] */ printf("Power class for 52MHz, DDR at 3.6V"