From patchwork Tue Jun 10 18:41:31 2014 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Lubomir Rintel X-Patchwork-Id: 358119 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Received: from theia.denx.de (theia.denx.de [85.214.87.163]) by ozlabs.org (Postfix) with ESMTP id 3B93A140096 for ; Wed, 11 Jun 2014 04:48:09 +1000 (EST) Received: from localhost (localhost [127.0.0.1]) by theia.denx.de (Postfix) with ESMTP id AA3024A020; Tue, 10 Jun 2014 20:48:07 +0200 (CEST) X-Virus-Scanned: Debian amavisd-new at theia.denx.de Received: from theia.denx.de ([127.0.0.1]) by localhost (theia.denx.de [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id cejfKUroI3h2; Tue, 10 Jun 2014 20:48:07 +0200 (CEST) Received: from theia.denx.de (localhost [127.0.0.1]) by theia.denx.de (Postfix) with ESMTP id 1C8DC4A029; Tue, 10 Jun 2014 20:48:05 +0200 (CEST) Received: from localhost (localhost [127.0.0.1]) by theia.denx.de (Postfix) with ESMTP id E9AD34A020 for ; Tue, 10 Jun 2014 20:48:02 +0200 (CEST) X-Virus-Scanned: Debian amavisd-new at theia.denx.de Received: from theia.denx.de ([127.0.0.1]) by localhost (theia.denx.de [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id D-GhOCcmWwh3 for ; Tue, 10 Jun 2014 20:48:00 +0200 (CEST) X-policyd-weight: NOT_IN_SBL_XBL_SPAMHAUS=-1.5 NOT_IN_SPAMCOP=-1.5 NOT_IN_BL_NJABL=-1.5 (only DNSBL check requested) Received: from shell.v3.sk (shell.v3.sk [195.168.3.45]) by theia.denx.de (Postfix) with ESMTP id 3C9F84A033 for ; Tue, 10 Jun 2014 20:47:58 +0200 (CEST) Received: from localhost (localhost [127.0.0.1]) by zimbra.v3.sk (Postfix) with ESMTP id 10ACB53870; Tue, 10 Jun 2014 20:41:42 +0200 (CEST) Received: from shell.v3.sk ([127.0.0.1]) by localhost (zimbra.v3.sk [127.0.0.1]) (amavisd-new, port 10032) with ESMTP id xM1HZ_RBdGrd; Tue, 10 Jun 2014 20:41:39 +0200 (CEST) Received: from localhost (localhost [127.0.0.1]) by zimbra.v3.sk (Postfix) with ESMTP id 99769538C1; Tue, 10 Jun 2014 20:41:39 +0200 (CEST) X-Virus-Scanned: amavisd-new at zimbra.v3.sk Received: from shell.v3.sk ([127.0.0.1]) by localhost (zimbra.v3.sk [127.0.0.1]) (amavisd-new, port 10026) with ESMTP id PvbdXvpN-B51; Tue, 10 Jun 2014 20:41:39 +0200 (CEST) Received: from localhost.localdomain (ip-37-188-233-38.eurotel.cz [37.188.233.38]) by zimbra.v3.sk (Postfix) with ESMTPSA id A203E53870; Tue, 10 Jun 2014 20:41:38 +0200 (CEST) From: Lubomir Rintel To: u-boot@lists.denx.de Date: Tue, 10 Jun 2014 20:41:31 +0200 Message-Id: <1402425691-12698-1-git-send-email-lkundrak@v3.sk> X-Mailer: git-send-email 1.9.3 Cc: Lubomir Rintel Subject: [U-Boot] [PATCH] bcm2835_sdhci: Add SDHCI_QUIRK_NO_HISPD_BIT flag X-BeenThere: u-boot@lists.denx.de X-Mailman-Version: 2.1.11 Precedence: list List-Id: U-Boot discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , MIME-Version: 1.0 Sender: u-boot-bounces@lists.denx.de Errors-To: u-boot-bounces@lists.denx.de Seems like the controller doesn't support the flag. None of the hi-speed cards I've tried could be read, while they successfully worked with the quirk enabled. Signed-off-by: Lubomir Rintel --- drivers/mmc/bcm2835_sdhci.c | 2 +- include/configs/rpi_b.h | 2 ++ 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/drivers/mmc/bcm2835_sdhci.c b/drivers/mmc/bcm2835_sdhci.c index 54cfabf..82079d6 100644 --- a/drivers/mmc/bcm2835_sdhci.c +++ b/drivers/mmc/bcm2835_sdhci.c @@ -179,7 +179,7 @@ int bcm2835_sdhci_init(u32 regbase, u32 emmc_freq) host->name = "bcm2835_sdhci"; host->ioaddr = (void *)regbase; host->quirks = SDHCI_QUIRK_BROKEN_VOLTAGE | SDHCI_QUIRK_BROKEN_R1B | - SDHCI_QUIRK_WAIT_SEND_CMD; + SDHCI_QUIRK_WAIT_SEND_CMD | SDHCI_QUIRK_NO_HISPD_BIT; host->voltages = MMC_VDD_32_33 | MMC_VDD_33_34 | MMC_VDD_165_195; host->ops = &bcm2835_ops; diff --git a/include/configs/rpi_b.h b/include/configs/rpi_b.h index ed8b4df..1bcb798 100644 --- a/include/configs/rpi_b.h +++ b/include/configs/rpi_b.h @@ -225,6 +225,8 @@ #define CONFIG_CMDLINE_TAG #define CONFIG_INITRD_TAG +#define CONFIG_SYS_GENERIC_BOARD + #include /* Some things don't make sense on this HW or yet */