From patchwork Sun Feb 16 20:57:18 2014 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Janne Grunau X-Patchwork-Id: 320811 X-Patchwork-Delegate: trini@ti.com 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 41EA12C00BF for ; Mon, 17 Feb 2014 08:56:13 +1100 (EST) Received: from localhost (localhost [127.0.0.1]) by theia.denx.de (Postfix) with ESMTP id 4A7ED4B82B; Sun, 16 Feb 2014 22:56:10 +0100 (CET) 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 ARWvuYpP1dvl; Sun, 16 Feb 2014 22:56:10 +0100 (CET) Received: from theia.denx.de (localhost [127.0.0.1]) by theia.denx.de (Postfix) with ESMTP id 3ACE84B83E; Sun, 16 Feb 2014 22:56:06 +0100 (CET) Received: from localhost (localhost [127.0.0.1]) by theia.denx.de (Postfix) with ESMTP id 743434B840 for ; Sun, 16 Feb 2014 22:06:27 +0100 (CET) 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 vj3SPyl7L7IZ for ; Sun, 16 Feb 2014 22:06:23 +0100 (CET) X-Greylist: delayed 542 seconds by postgrey-1.27 at theia; Sun, 16 Feb 2014 22:06:20 CET 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 soltyk.jannau.net (soltyk.jannau.net [185.27.253.110]) by theia.denx.de (Postfix) with ESMTPS id DD8644B83E for ; Sun, 16 Feb 2014 22:06:20 +0100 (CET) Received: from coburn.home.jannau.net (unknown [212.255.234.239]) by soltyk.jannau.net (Postfix) with ESMTPSA id CBAD53E02F2; Sun, 16 Feb 2014 21:57:16 +0100 (CET) From: Janne Grunau To: u-boot@lists.denx.de Date: Sun, 16 Feb 2014 21:57:18 +0100 Message-Id: <1392584238-18730-1-git-send-email-j@jannau.net> X-Mailer: git-send-email 1.8.5.5 In-Reply-To: <52975B95.8000301@gmail.com> References: <52975B95.8000301@gmail.com> X-Mailman-Approved-At: Sun, 16 Feb 2014 22:56:03 +0100 Cc: pandaboard@googlegroups.com Subject: [U-Boot] [PATCH 1/1] ARM: OMAP4: fix DDR timings for OMAP4430 ES2.0 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 DDR timings were broken since 47abc3df701d8bc26f311350aa523fc1d0f8ad4e for PandaBoard EA1. Signed-off-by: Janne Grunau --- arch/arm/cpu/armv7/omap4/hw_data.c | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) diff --git a/arch/arm/cpu/armv7/omap4/hw_data.c b/arch/arm/cpu/armv7/omap4/hw_data.c index 1b2f439..b90f8b5 100644 --- a/arch/arm/cpu/armv7/omap4/hw_data.c +++ b/arch/arm/cpu/armv7/omap4/hw_data.c @@ -172,6 +172,20 @@ struct dplls omap4430_dplls_es1 = { .ddr = NULL }; +struct dplls omap4430_dplls_es20 = { + .mpu = mpu_dpll_params_1200mhz, + .core = core_dpll_params_es2_1600mhz_ddr200mhz, + .per = per_dpll_params_1536mhz, + .iva = iva_dpll_params_1862mhz, +#ifdef CONFIG_SYS_OMAP_ABE_SYSCK + .abe = abe_dpll_params_sysclk_196608khz, +#else + .abe = &abe_dpll_params_32k_196608khz, +#endif + .usb = usb_dpll_params_1920mhz, + .ddr = NULL +}; + struct dplls omap4430_dplls = { .mpu = mpu_dpll_params_1200mhz, .core = core_dpll_params_1600mhz, @@ -498,6 +512,10 @@ void hw_data_init(void) break; case OMAP4430_ES2_0: + *dplls_data = &omap4430_dplls_es20; + *omap_vcores = &omap4430_volts; + break; + case OMAP4430_ES2_1: case OMAP4430_ES2_2: case OMAP4430_ES2_3: