From patchwork Fri Feb 4 21:57:59 2011 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: York Sun X-Patchwork-Id: 81956 X-Patchwork-Delegate: galak@kernel.crashing.org 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 6193AB7112 for ; Sat, 5 Feb 2011 08:58:21 +1100 (EST) Received: from localhost (localhost [127.0.0.1]) by theia.denx.de (Postfix) with ESMTP id E2BA928384; Fri, 4 Feb 2011 22:58:17 +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 ZdRY7DM0VcQp; Fri, 4 Feb 2011 22:58:17 +0100 (CET) Received: from theia.denx.de (localhost [127.0.0.1]) by theia.denx.de (Postfix) with ESMTP id D824228371; Fri, 4 Feb 2011 22:58:15 +0100 (CET) Received: from localhost (localhost [127.0.0.1]) by theia.denx.de (Postfix) with ESMTP id 6833B28371 for ; Fri, 4 Feb 2011 22:58:12 +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 lsGUynl81fBN for ; Fri, 4 Feb 2011 22:58:09 +0100 (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 TX2EHSOBE002.bigfish.com (tx2ehsobe001.messaging.microsoft.com [65.55.88.11]) by theia.denx.de (Postfix) with ESMTPS id 2262C28326 for ; Fri, 4 Feb 2011 22:58:07 +0100 (CET) Received: from mail166-tx2-R.bigfish.com (10.9.14.246) by TX2EHSOBE002.bigfish.com (10.9.40.22) with Microsoft SMTP Server id 14.1.225.8; Fri, 4 Feb 2011 21:58:05 +0000 Received: from mail166-tx2 (localhost.localdomain [127.0.0.1]) by mail166-tx2-R.bigfish.com (Postfix) with ESMTP id B9CEB7F8764 for ; Fri, 4 Feb 2011 21:58:04 +0000 (UTC) X-SpamScore: 0 X-BigFish: VS0(zzzz1202hzz8275bhz2dh2a8h668h61h) X-Spam-TCS-SCL: 0:0 X-Forefront-Antispam-Report: KIP:(null); UIP:(null); IPVD:NLI; H:az33egw02.freescale.net; RD:az33egw02.freescale.net; EFVD:NLI Received: from mail166-tx2 (localhost.localdomain [127.0.0.1]) by mail166-tx2 (MessageSwitch) id 1296856684600283_21494; Fri, 4 Feb 2011 21:58:04 +0000 (UTC) Received: from TX2EHSMHS049.bigfish.com (unknown [10.9.14.248]) by mail166-tx2.bigfish.com (Postfix) with ESMTP id 8FDC6C58052 for ; Fri, 4 Feb 2011 21:58:04 +0000 (UTC) Received: from az33egw02.freescale.net (192.88.158.103) by TX2EHSMHS049.bigfish.com (10.9.99.149) with Microsoft SMTP Server (TLS) id 14.1.225.8; Fri, 4 Feb 2011 21:58:04 +0000 Received: from az33smr01.freescale.net (az33smr01.freescale.net [10.64.34.199]) by az33egw02.freescale.net (8.14.3/8.14.3) with ESMTP id p14Lw3KD015132 for ; Fri, 4 Feb 2011 14:58:03 -0700 (MST) Received: from localhost.localdomain (mvp-10-214-73-178.am.freescale.net [10.214.73.178]) by az33smr01.freescale.net (8.13.1/8.13.0) with ESMTP id p14Lw1Wl025388; Fri, 4 Feb 2011 15:58:01 -0600 (CST) From: York Sun To: Date: Fri, 4 Feb 2011 13:57:59 -0800 Message-ID: <1296856680-28840-1-git-send-email-yorksun@freescale.com> X-Mailer: git-send-email 1.7.0.4 MIME-Version: 1.0 X-OriginatorOrg: freescale.com Subject: [U-Boot] [PATCH] powerpc/85xx: Update fixed DDR3 timing table for P4080DS X-BeenThere: u-boot@lists.denx.de X-Mailman-Version: 2.1.9 Precedence: list List-Id: U-Boot discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: u-boot-bounces@lists.denx.de Errors-To: u-boot-bounces@lists.denx.de Most of time U-boot doesn't get an exact clock number. For example, clock 900MHz may be detected as 899.99MHz. 800MHz could be 799.99MHz. Update the table to align the desired clocks in the middle. Signed-off-by: York Sun --- board/freescale/corenet_ds/p4080ds_ddr.c | 16 ++++++++-------- 1 files changed, 8 insertions(+), 8 deletions(-) diff --git a/board/freescale/corenet_ds/p4080ds_ddr.c b/board/freescale/corenet_ds/p4080ds_ddr.c index ccb9da8..844e1d7 100644 --- a/board/freescale/corenet_ds/p4080ds_ddr.c +++ b/board/freescale/corenet_ds/p4080ds_ddr.c @@ -334,17 +334,17 @@ fsl_ddr_cfg_regs_t ddr_cfg_regs_1200_2nd = { }; fixed_ddr_parm_t fixed_ddr_parm_0[] = { - {800, 900, &ddr_cfg_regs_800}, - {900, 1000, &ddr_cfg_regs_900}, - {1000, 1200, &ddr_cfg_regs_1000}, - {1200, 1300, &ddr_cfg_regs_1200}, + {750, 850, &ddr_cfg_regs_800}, + {850, 950, &ddr_cfg_regs_900}, + {950, 1050, &ddr_cfg_regs_1000}, + {1050, 1250, &ddr_cfg_regs_1200}, {0, 0, NULL} }; fixed_ddr_parm_t fixed_ddr_parm_1[] = { - {800, 900, &ddr_cfg_regs_800_2nd}, - {900, 1000, &ddr_cfg_regs_900_2nd}, - {1000, 1200, &ddr_cfg_regs_1000_2nd}, - {1200, 1300, &ddr_cfg_regs_1200_2nd}, + {750, 850, &ddr_cfg_regs_800_2nd}, + {850, 950, &ddr_cfg_regs_900_2nd}, + {950, 1050, &ddr_cfg_regs_1000_2nd}, + {1050, 1250, &ddr_cfg_regs_1200_2nd}, {0, 0, NULL} };