From patchwork Thu Jul 4 03:40:43 2013 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Kuo-Jung Su X-Patchwork-Id: 256788 X-Patchwork-Delegate: albert.aribaud@free.fr 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 096042C00AD for ; Thu, 4 Jul 2013 13:43:31 +1000 (EST) Received: from localhost (localhost [127.0.0.1]) by theia.denx.de (Postfix) with ESMTP id 16A2D4A1E2; Thu, 4 Jul 2013 05:43:00 +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 2kWB4RgRv0Oo; Thu, 4 Jul 2013 05:42:59 +0200 (CEST) Received: from theia.denx.de (localhost [127.0.0.1]) by theia.denx.de (Postfix) with ESMTP id AFB6A4A0ED; Thu, 4 Jul 2013 05:41:28 +0200 (CEST) Received: from localhost (localhost [127.0.0.1]) by theia.denx.de (Postfix) with ESMTP id 2E1AD4A0BE for ; Thu, 4 Jul 2013 05:41:23 +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 ppA+AgSf62uX for ; Thu, 4 Jul 2013 05:41: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-pd0-f182.google.com (mail-pd0-f182.google.com [209.85.192.182]) by theia.denx.de (Postfix) with ESMTPS id A0F804A03F for ; Thu, 4 Jul 2013 05:40:41 +0200 (CEST) Received: by mail-pd0-f182.google.com with SMTP id r10so684464pdi.13 for ; Wed, 03 Jul 2013 20:40:40 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=from:to:cc:subject:date:message-id:x-mailer:in-reply-to:references :in-reply-to:references; bh=IwowQB094ruvbDTwHnxVVFqG7gclHXd0zYkc4pr2IUo=; b=IRc6Bc38UtUA0LMMnA3Uy3VXVz11W7Qzo10xXAa6vwNecqiQPqxuWGq00xb6EVtgq5 YRqLuwzWgGIcfNcpJx9IFtEt6Jtnj2Bi5gAwv4/+hH0NMzswWq5UH9RANWXnzyfZwJ7k oSj7aGzMt725jzJ0kY73TWpLBRBER5FDg0W+VR7dqgjL5mGA5sFxiX9ngAuEohFNGaqp b60Iy0bhN7JOKsa4zpM3olq5OWWc4+Jk62fMGunQKh25BG1yL3VM3WkLbXr2i8D9CA9J vKoYzym9FQuH0a5k22U+Ntz9l26+ig66fsUbfFS0jtGVlNa+CyI0fhxRGTFY1tDQcWyc ejoQ== X-Received: by 10.66.16.197 with SMTP id i5mr5161420pad.51.1372909240063; Wed, 03 Jul 2013 20:40:40 -0700 (PDT) Received: from localhost.localdomain (114-35-170-161.HINET-IP.hinet.net. [114.35.170.161]) by mx.google.com with ESMTPSA id kc8sm976470pbc.18.2013.07.03.20.40.37 for (version=TLSv1 cipher=DES-CBC3-SHA bits=168/168); Wed, 03 Jul 2013 20:40:39 -0700 (PDT) From: Kuo-Jung Su To: u-boot@lists.denx.de Date: Thu, 4 Jul 2013 11:40:43 +0800 Message-Id: <1372909244-25211-12-git-send-email-dantesu@gmail.com> X-Mailer: git-send-email 1.7.9.5 In-Reply-To: <1372909244-25211-1-git-send-email-dantesu@gmail.com> References: <1372909244-25211-1-git-send-email-dantesu@gmail.com> In-Reply-To: <1364540788-13943-1-git-send-email-dantesu@gmail.com> References: <1364540788-13943-1-git-send-email-dantesu@gmail.com> Cc: Andy Fleming , Kuo-Jung Su Subject: [U-Boot] [PATCH v6 11/12] mmc: ftsdc010_mci: clk_get_rate() -> clock_get_rate() 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 From: Kuo-Jung Su This updates ftsdc010_mci.c for latest Faraday clock APIs. Signed-off-by: Kuo-Jung Su CC: Albert Aribaud CC: Andy Fleming --- Changes for v6: - Nothing updates Changes for v5: - Initial commit drivers/mmc/ftsdc010_mci.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) -- 1.7.9.5 diff --git a/drivers/mmc/ftsdc010_mci.c b/drivers/mmc/ftsdc010_mci.c index 562b14a..0a0a19b 100644 --- a/drivers/mmc/ftsdc010_mci.c +++ b/drivers/mmc/ftsdc010_mci.c @@ -363,7 +363,7 @@ int ftsdc010_mmc_init(int devid) #ifdef CONFIG_SYS_CLK_FREQ chip->sclk = CONFIG_SYS_CLK_FREQ; #else - chip->sclk = clk_get_rate("SDC"); + chip->sclk = clock_get_rate(MMC_CLK); #endif mmc->voltages = MMC_VDD_32_33 | MMC_VDD_33_34;