Message ID | 20190702023206.48995-31-peng.fan@nxp.com |
---|---|
State | Superseded |
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=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=<UNKNOWN>) Authentication-Results: ozlabs.org; dmarc=fail (p=none dis=none) header.from=nxp.com Received: from lists.denx.de (dione.denx.de [81.169.180.215]) by ozlabs.org (Postfix) with ESMTP id 45d8B34Kfhz9s3Z for <incoming@patchwork.ozlabs.org>; Tue, 2 Jul 2019 13:00:27 +1000 (AEST) Received: by lists.denx.de (Postfix, from userid 105) id CC54CC21C8B; Tue, 2 Jul 2019 02:52:31 +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 134B8C21EBB; Tue, 2 Jul 2019 02:42:18 +0000 (UTC) Received: by lists.denx.de (Postfix, from userid 105) id BC5CAC21EA2; Tue, 2 Jul 2019 02:41:39 +0000 (UTC) Received: from inva021.nxp.com (inva021.nxp.com [92.121.34.21]) by lists.denx.de (Postfix) with ESMTPS id 68102C21E1A for <u-boot@lists.denx.de>; Tue, 2 Jul 2019 02:41:33 +0000 (UTC) Received: from inva021.nxp.com (localhost [127.0.0.1]) by inva021.eu-rdc02.nxp.com (Postfix) with ESMTP id 33D00200AD8; Tue, 2 Jul 2019 04:41:33 +0200 (CEST) Received: from invc005.ap-rdc01.nxp.com (invc005.ap-rdc01.nxp.com [165.114.16.14]) by inva021.eu-rdc02.nxp.com (Postfix) with ESMTP id C6708200ADE; Tue, 2 Jul 2019 04:41:28 +0200 (CEST) Received: from titan.ap.freescale.net (TITAN.ap.freescale.net [10.192.208.233]) by invc005.ap-rdc01.nxp.com (Postfix) with ESMTP id 8EDB5402EE; Tue, 2 Jul 2019 10:41:23 +0800 (SGT) From: peng.fan@nxp.com To: sbabic@denx.de, festevam@gmail.com, uboot-imx@nxp.com Date: Tue, 2 Jul 2019 10:31:44 +0800 Message-Id: <20190702023206.48995-31-peng.fan@nxp.com> X-Mailer: git-send-email 2.14.1 In-Reply-To: <20190702023206.48995-1-peng.fan@nxp.com> References: <20190702023206.48995-1-peng.fan@nxp.com> X-Virus-Scanned: ClamAV using ClamSMTP Cc: u-boot@lists.denx.de Subject: [U-Boot] [PATCH 30/52] ddr: imx8m: Fix ddr4 driver build issue X-BeenThere: u-boot@lists.denx.de X-Mailman-Version: 2.1.18 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: <http://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> MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: base64 Errors-To: u-boot-bounces@lists.denx.de Sender: "U-Boot" <u-boot-bounces@lists.denx.de> |
Series |
Support i.MX8MM/N
|
expand
|
diff --git a/drivers/ddr/imx/imx8m/ddr4_init.c b/drivers/ddr/imx/imx8m/ddr4_init.c index 031cdc57e1..b8aa104536 100644 --- a/drivers/ddr/imx/imx8m/ddr4_init.c +++ b/drivers/ddr/imx/imx8m/ddr4_init.c @@ -8,7 +8,6 @@ #include <asm/io.h> #include <asm/arch/ddr.h> #include <asm/arch/clock.h> -#include <asm/arch/imx8m_ddr.h> #include <asm/arch/sys_proto.h> void ddr4_cfg_umctl2(struct dram_cfg_param *ddrc_cfg, int num) @@ -41,7 +40,7 @@ void ddr_init(struct dram_timing_info *dram_timing) CLK_ROOT_SOURCE_SEL(4) | CLK_ROOT_PRE_DIV(CLK_ROOT_PRE_DIV4)); - dram_pll_init(DRAM_PLL_OUT_600M); + dram_pll_init(MHZ(600)); reg32_write(0x303A00EC, 0x0000ffff); /* PGC_CPU_MAPPING */ reg32setbit(0x303A00F8, 5); /* PU_PGC_SW_PUP_REQ */