From patchwork Thu Oct 31 10:54:19 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Yangbo Lu X-Patchwork-Id: 1187346 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Authentication-Results: ozlabs.org; spf=none (no SPF record) smtp.mailfrom=lists.denx.de (client-ip=81.169.180.215; helo=lists.denx.de; envelope-from=u-boot-bounces@lists.denx.de; receiver=) Authentication-Results: ozlabs.org; dmarc=fail (p=none dis=none) header.from=nxp.com Received: from lists.denx.de (dione.denx.de [81.169.180.215]) by ozlabs.org (Postfix) with ESMTP id 473hyt5nfSz9sP4 for ; Thu, 31 Oct 2019 21:54:14 +1100 (AEDT) Received: by lists.denx.de (Postfix, from userid 105) id 66D4AC21EF7; Thu, 31 Oct 2019 10:54:08 +0000 (UTC) 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=none autolearn=unavailable autolearn_force=no version=3.4.0 Received: from lists.denx.de (localhost [IPv6:::1]) by lists.denx.de (Postfix) with ESMTP id 07B3DC21D8E; Thu, 31 Oct 2019 10:54:07 +0000 (UTC) Received: by lists.denx.de (Postfix, from userid 105) id EC104C21E0F; Thu, 31 Oct 2019 10:54:05 +0000 (UTC) Received: from inva021.nxp.com (inva021.nxp.com [92.121.34.21]) by lists.denx.de (Postfix) with ESMTPS id 8F5F5C21D74 for ; Thu, 31 Oct 2019 10:54:05 +0000 (UTC) Received: from inva021.nxp.com (localhost [127.0.0.1]) by inva021.eu-rdc02.nxp.com (Postfix) with ESMTP id 027AD2004F1; Thu, 31 Oct 2019 11:54:05 +0100 (CET) Received: from invc005.ap-rdc01.nxp.com (invc005.ap-rdc01.nxp.com [165.114.16.14]) by inva021.eu-rdc02.nxp.com (Postfix) with ESMTP id 344CB2002EA; Thu, 31 Oct 2019 11:54:03 +0100 (CET) Received: from localhost.localdomain (mega.ap.freescale.net [10.192.208.232]) by invc005.ap-rdc01.nxp.com (Postfix) with ESMTP id 8A038402E2; Thu, 31 Oct 2019 18:54:00 +0800 (SGT) From: Yangbo Lu To: u-boot@lists.denx.de, Peng Fan Date: Thu, 31 Oct 2019 18:54:19 +0800 Message-Id: <20191031105426.5672-1-yangbo.lu@nxp.com> X-Mailer: git-send-email 2.17.1 X-Virus-Scanned: ClamAV using ClamSMTP Subject: [U-Boot] [PATCH 0/7] mmc: fsl_esdhc: clean up and shrink the driver X-BeenThere: u-boot@lists.denx.de X-Mailman-Version: 2.1.18 Precedence: list List-Id: U-Boot discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , MIME-Version: 1.0 Errors-To: u-boot-bounces@lists.denx.de Sender: "U-Boot" This patch-set is to clean up and shrink the fsl_esdhc driver. Yangbo Lu (7): mmc: fsl_esdhc: drop controller initialization in fsl_esdhc_init() mmc: fsl_esdhc: fix voltage validation mmc: fsl_esdhc: clean up bus width configuration code mmc: fsl_esdhc: convert to use fsl_esdhc_get_cfg_common() mmc: fsl_esdhc: drop redundant code for non-removable feature mmc: fsl_esdhc: always check write protect state mmc: fsl_esdhc: clean up DM and non-DM code drivers/mmc/fsl_esdhc.c | 370 ++++++++++++++++-------------------------------- include/fsl_esdhc.h | 14 +- 2 files changed, 129 insertions(+), 255 deletions(-)