Message ID | 439507ef61697c8b6cc90e13612ddcf449ac27bf.1605169080.git.weijie.gao@mediatek.com |
---|---|
State | Accepted |
Commit | e58e68d93e7d73e42eac850ff0dafc634bf0d397 |
Delegated to: | Daniel Schwierzeck |
Headers | show
Return-Path: <u-boot-bounces@lists.denx.de> X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Authentication-Results: ozlabs.org; spf=pass (sender SPF authorized) smtp.mailfrom=lists.denx.de (client-ip=85.214.62.61; helo=phobos.denx.de; envelope-from=u-boot-bounces@lists.denx.de; receiver=<UNKNOWN>) Authentication-Results: ozlabs.org; dmarc=pass (p=none dis=none) header.from=mediatek.com Authentication-Results: ozlabs.org; dkim=pass (1024-bit key; unprotected) header.d=mediatek.com header.i=@mediatek.com header.a=rsa-sha256 header.s=dk header.b=A2OT81XK; dkim-atps=neutral Received: from phobos.denx.de (phobos.denx.de [85.214.62.61]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits)) (No client certificate requested) by ozlabs.org (Postfix) with ESMTPS id 4CWw6c1nZGz9s0b for <incoming@patchwork.ozlabs.org>; Thu, 12 Nov 2020 19:40:46 +1100 (AEDT) Received: from h2850616.stratoserver.net (localhost [IPv6:::1]) by phobos.denx.de (Postfix) with ESMTP id 46C248259F; Thu, 12 Nov 2020 09:38:15 +0100 (CET) Authentication-Results: phobos.denx.de; dmarc=pass (p=none dis=none) header.from=mediatek.com Authentication-Results: phobos.denx.de; spf=pass smtp.mailfrom=u-boot-bounces@lists.denx.de Authentication-Results: phobos.denx.de; dkim=pass (1024-bit key; unprotected) header.d=mediatek.com header.i=@mediatek.com header.b="A2OT81XK"; dkim-atps=neutral Received: by phobos.denx.de (Postfix, from userid 109) id 36D6B825A4; Thu, 12 Nov 2020 09:37:20 +0100 (CET) X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on phobos.denx.de X-Spam-Level: X-Spam-Status: No, score=0.5 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,MIME_BASE64_TEXT,RDNS_NONE,SPF_HELO_NONE, UNPARSEABLE_RELAY,URIBL_BLOCKED autolearn=no autolearn_force=no version=3.4.2 Received: from mailgw01.mediatek.com (unknown [1.203.163.78]) by phobos.denx.de (Postfix) with ESMTP id D7E2482578 for <u-boot@lists.denx.de>; Thu, 12 Nov 2020 09:37:14 +0100 (CET) Authentication-Results: phobos.denx.de; dmarc=pass (p=none dis=none) header.from=mediatek.com Authentication-Results: phobos.denx.de; spf=pass smtp.mailfrom=weijie.gao@mediatek.com X-UUID: cc5661f999ea4e84bd3215922ddbf3f3-20201112 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=mediatek.com; s=dk; h=Content-Transfer-Encoding:Content-Type:MIME-Version:References:In-Reply-To:Message-ID:Date:Subject:CC:To:From; bh=s+FtZrfFbX8C4mmibasmeRzMdnpW2VabckrOC+YFkuk=; b=A2OT81XKThO4eq6hYTx3TSstItCYssFff6s0+WOvFz1m8pabwuGLT4iJZbDKB/mRormvV9ZizX3WwSZHPbRg41C7+hcD4jPbfeXPsOcq44Jykp7w4Ckmla7Q88dYm2egOF+otcZz4GuD7yib/hXE9W5o6J3ddclvqBeoA90hSSs=; X-UUID: cc5661f999ea4e84bd3215922ddbf3f3-20201112 Received: from mtkcas32.mediatek.inc [(172.27.4.253)] by mailgw01.mediatek.com (envelope-from <weijie.gao@mediatek.com>) (mailgw01.mediatek.com ESMTP with TLSv1.2 ECDHE-RSA-AES256-SHA384 256/256) with ESMTP id 1509710430; Thu, 12 Nov 2020 16:37:10 +0800 Received: from MTKCAS36.mediatek.inc (172.27.4.186) by MTKMBS31N2.mediatek.inc (172.27.4.87) with Microsoft SMTP Server (TLS) id 15.0.1497.2; Thu, 12 Nov 2020 16:37:08 +0800 Received: from mcddlt001.mediatek.inc (10.19.240.15) by MTKCAS36.mediatek.inc (172.27.4.170) with Microsoft SMTP Server id 15.0.1497.2 via Frontend Transport; Thu, 12 Nov 2020 16:37:07 +0800 From: Weijie Gao <weijie.gao@mediatek.com> To: <u-boot@lists.denx.de> CC: GSS_MTK_Uboot_upstream <GSS_MTK_Uboot_upstream@mediatek.com>, Daniel Schwierzeck <daniel.schwierzeck@gmail.com>, Stefan Roese <sr@denx.de>, Stefan Roese <mail@roese.nl>, Peng Fan <peng.fan@nxp.com>, Weijie Gao <weijie.gao@mediatek.com> Subject: [PATCH v4 21/23] mmc: mtk-sd: assign plat->cfg.f_max with a correct value Date: Thu, 12 Nov 2020 16:37:07 +0800 Message-ID: <439507ef61697c8b6cc90e13612ddcf449ac27bf.1605169080.git.weijie.gao@mediatek.com> X-Mailer: git-send-email 1.9.1 In-Reply-To: <cover.1605169080.git.weijie.gao@mediatek.com> References: <cover.1605169080.git.weijie.gao@mediatek.com> MIME-Version: 1.0 Content-Type: text/plain X-TM-SNTS-SMTP: 7D546651C8CC7E39AE2339F14CF42EFC08148564AA3041B11598A665174F33EC2000:8 X-MTK: N Content-Transfer-Encoding: base64 X-BeenThere: u-boot@lists.denx.de X-Mailman-Version: 2.1.34 Precedence: list List-Id: U-Boot discussion <u-boot.lists.denx.de> List-Unsubscribe: <https://lists.denx.de/options/u-boot>, <mailto:u-boot-request@lists.denx.de?subject=unsubscribe> List-Archive: <https://lists.denx.de/pipermail/u-boot/> List-Post: <mailto:u-boot@lists.denx.de> List-Help: <mailto:u-boot-request@lists.denx.de?subject=help> List-Subscribe: <https://lists.denx.de/listinfo/u-boot>, <mailto:u-boot-request@lists.denx.de?subject=subscribe> Errors-To: u-boot-bounces@lists.denx.de Sender: "U-Boot" <u-boot-bounces@lists.denx.de> X-Virus-Scanned: clamav-milter 0.102.3 at phobos.denx.de X-Virus-Status: Clean |
Series |
Add support for MediaTek MT7620 SoC - v4
|
expand
|
diff --git a/drivers/mmc/mtk-sd.c b/drivers/mmc/mtk-sd.c index f4ff8822f2..77fda0eab0 100644 --- a/drivers/mmc/mtk-sd.c +++ b/drivers/mmc/mtk-sd.c @@ -1639,6 +1639,8 @@ static int msdc_drv_probe(struct udevice *dev) else cfg->f_min = host->src_clk_freq / (4 * 4095); + cfg->f_max = host->src_clk_freq; + cfg->b_max = 1024; cfg->voltages = MMC_VDD_32_33 | MMC_VDD_33_34;