From patchwork Mon Jun 11 12:26:17 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Baruch Siach X-Patchwork-Id: 927641 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Authentication-Results: ozlabs.org; spf=none (mailfrom) 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=none (p=none dis=none) header.from=tkos.co.il Received: from lists.denx.de (dione.denx.de [81.169.180.215]) by ozlabs.org (Postfix) with ESMTP id 414C254CSXz9ryk for ; Mon, 11 Jun 2018 22:27:09 +1000 (AEST) Received: by lists.denx.de (Postfix, from userid 105) id 41AABC21C6A; Mon, 11 Jun 2018 12:27:05 +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 8F456C21C51; Mon, 11 Jun 2018 12:27:02 +0000 (UTC) Received: by lists.denx.de (Postfix, from userid 105) id ABAF2C21C50; Mon, 11 Jun 2018 12:27:00 +0000 (UTC) Received: from mx.tkos.co.il (guitar.tcltek.co.il [192.115.133.116]) by lists.denx.de (Postfix) with ESMTPS id 01237C21BE5 for ; Mon, 11 Jun 2018 12:26:58 +0000 (UTC) Received: from tarshish.tkos.co.il (unknown [10.0.8.6]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by mx.tkos.co.il (Postfix) with ESMTPSA id D9E45440344; Mon, 11 Jun 2018 15:26:56 +0300 (IDT) From: Baruch Siach To: Fabio Estevam , Stefano Babic , Jaehoon Chung Date: Mon, 11 Jun 2018 15:26:17 +0300 Message-Id: X-Mailer: git-send-email 2.17.1 Cc: u-boot@lists.denx.de, Baruch Siach Subject: [U-Boot] [PATCH 0/6] mx6cuboxi: Add support for SOMs with eMMC 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" The newer rev 1.5 of the SolidRun i.MX6 SOM can optionally come with eMMC on the SOM. This series adds support for the eMMC device on these SOMs. Since eMMC has card detect signal this series uses the new mmc_get_op_cond() function that is broken out of mmc_init_start(). Successful completion of mmc_get_op_cond() indicates that the eMMC is present. Finally, the last patch in this series constructs the name of the kernel device tree to load. This name is compatible with recent mainline kernels. This series depends on the patches adding support for SOM rev 1.5 that were posted earlier: https://patchwork.ozlabs.org/patch/926302/ https://patchwork.ozlabs.org/patch/926301/ Baruch Siach (2): mmc: drop mention of IN_PROGRESS status mx6cuboxi: drop CONFIG_SYS_FSL_USDHC_NUM Jon Nettleton (4): mmc: break out get_op_cond code to its own function mx6cuboxi: Add support for eMMC booting mx6cuboxi: Use mmc_get_op_cond() to check for an eMMC mx6cuboxi: Add emmc device tree suffix board/solidrun/mx6cuboxi/mx6cuboxi.c | 115 +++++++++++++++++++++++++-- drivers/mmc/mmc.c | 61 ++++++++------ include/configs/mx6cuboxi.h | 25 +++--- include/mmc.h | 12 ++- 4 files changed, 167 insertions(+), 46 deletions(-)