From patchwork Thu Mar 5 13:19:23 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: 5946071 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 E378E9F373 for ; Thu, 5 Mar 2015 13:19:44 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id 2A23220383 for ; Thu, 5 Mar 2015 13:19:44 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id 427BE20381 for ; Thu, 5 Mar 2015 13:19:43 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753041AbbCENTl (ORCPT ); Thu, 5 Mar 2015 08:19:41 -0500 Received: from www.linutronix.de ([62.245.132.108]:49813 "EHLO Galois.linutronix.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753621AbbCENTk (ORCPT ); Thu, 5 Mar 2015 08:19:40 -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-Jp; 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 1/3] cmds/read_extcsd: allow mmc 5.0 Date: Thu, 5 Mar 2015 14:19:23 +0100 Message-Id: <1425561565-24806-2-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 Have here a mmc 5.0 card Signed-off-by: Sebastian Andrzej Siewior --- mmc_cmds.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/mmc_cmds.c b/mmc_cmds.c index cea943f63241..3b35a932378d 100644 --- a/mmc_cmds.c +++ b/mmc_cmds.c @@ -726,6 +726,9 @@ int do_read_extcsd(int nargs, char **argv) ext_csd_rev = ext_csd[192]; switch (ext_csd_rev) { + case 7: + str = "5.0"; + break; case 6: str = "4.5"; break;