From patchwork Thu Apr 21 17:37:04 2016 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Sebastien Bourdelin X-Patchwork-Id: 613215 X-Patchwork-Delegate: sbabic@denx.de 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 3qrRBY2Qxjz9t3c for ; Fri, 22 Apr 2016 03:51:17 +1000 (AEST) Received: from localhost (localhost [127.0.0.1]) by theia.denx.de (Postfix) with ESMTP id 52E86A7865; Thu, 21 Apr 2016 19:50:29 +0200 (CEST) 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 FV7uwndOeCN3; Thu, 21 Apr 2016 19:50:29 +0200 (CEST) Received: from theia.denx.de (localhost [127.0.0.1]) by theia.denx.de (Postfix) with ESMTP id 6F305A771B; Thu, 21 Apr 2016 19:50:00 +0200 (CEST) Received: from localhost (localhost [127.0.0.1]) by theia.denx.de (Postfix) with ESMTP id 696F2A7707 for ; Thu, 21 Apr 2016 19:37:17 +0200 (CEST) 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 lBkuXFIYBH7g for ; Thu, 21 Apr 2016 19:37:17 +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 mail.savoirfairelinux.com (mail.savoirfairelinux.com [208.88.110.44]) by theia.denx.de (Postfix) with ESMTPS id 22BE8A7676 for ; Thu, 21 Apr 2016 19:37:13 +0200 (CEST) Received: from localhost (localhost [127.0.0.1]) by mail.savoirfairelinux.com (Postfix) with ESMTP id B9D1562066E; Thu, 21 Apr 2016 13:37:11 -0400 (EDT) Received: from mail.savoirfairelinux.com ([127.0.0.1]) by localhost (mail.savoirfairelinux.com [127.0.0.1]) (amavisd-new, port 10032) with ESMTP id veZq31eNypbv; Thu, 21 Apr 2016 13:37:10 -0400 (EDT) Received: from localhost (localhost [127.0.0.1]) by mail.savoirfairelinux.com (Postfix) with ESMTP id 7F227620A2A; Thu, 21 Apr 2016 13:37:10 -0400 (EDT) X-Virus-Scanned: amavisd-new at mail.savoirfairelinux.com Received: from mail.savoirfairelinux.com ([127.0.0.1]) by localhost (mail.savoirfairelinux.com [127.0.0.1]) (amavisd-new, port 10026) with ESMTP id zJCQbj4Pi3Yd; Thu, 21 Apr 2016 13:37:10 -0400 (EDT) Received: from localhost (unknown [192.168.50.114]) by mail.savoirfairelinux.com (Postfix) with ESMTPSA id 1F34C62066E; Thu, 21 Apr 2016 13:37:10 -0400 (EDT) From: Sebastien Bourdelin To: u-boot@lists.denx.de Date: Thu, 21 Apr 2016 13:37:04 -0400 Message-Id: <1461260224-21174-1-git-send-email-sebastien.bourdelin@savoirfairelinux.com> X-Mailer: git-send-email 2.8.0 X-Mailman-Approved-At: Thu, 21 Apr 2016 19:49:43 +0200 Cc: damien.riegel@savoirfairelinux.com, Sebastien Bourdelin Subject: [U-Boot] [PATCH] ts4800: add CONFIG_SYS_FSL_ERRATUM_ESDHC_A001 X-BeenThere: u-boot@lists.denx.de X-Mailman-Version: 2.1.15 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 commit fixes the MMC data transactions timeout problem on the TS4800. The changes introduced in the commit e978a31 on the timeout calculation for the MMC data transactions has revealed there is something wrong with the timeout setting of the eSDHC controller used in the IMX51. The IMX51 seems to be concerned by this erratum and without this change the MMC driver is unable to do any transactions. Signed-off-by: Sebastien Bourdelin Reviewed-by: Fabio Estevam --- include/configs/ts4800.h | 2 ++ 1 file changed, 2 insertions(+) diff --git a/include/configs/ts4800.h b/include/configs/ts4800.h index fcc9d80..5e5e4d3 100644 --- a/include/configs/ts4800.h +++ b/include/configs/ts4800.h @@ -63,6 +63,8 @@ #define CONFIG_FSL_ESDHC #define CONFIG_SYS_FSL_ESDHC_ADDR MMC_SDHC1_BASE_ADDR +#define CONFIG_SYS_FSL_ERRATUM_ESDHC_A001 + #define CONFIG_MMC #define CONFIG_CMD_MMC