diff mbox

[2/3] cmds/read_extcsd: compute in seconds

Message ID 1425561565-24806-3-git-send-email-bigeasy@linutronix.de (mailing list archive)
State New, archived
Headers show

Commit Message

Sebastian Andrzej Siewior March 5, 2015, 1:19 p.m. UTC
The value in the register is * 100ms

Signed-off-by: Sebastian Andrzej Siewior <bigeasy@linutronix.de>
---
 mmc_cmds.c | 1 +
 1 file changed, 1 insertion(+)
diff mbox

Patch

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"