Message ID | 1398725474-864-2-git-send-email-yorksun@freescale.com |
---|---|
State | Superseded |
Delegated to: | Tom Rini |
Headers | show
Return-Path: <u-boot-bounces@lists.denx.de> 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 F3E391400E2 for <incoming@patchwork.ozlabs.org>; Tue, 29 Apr 2014 08:52:01 +1000 (EST) Received: from localhost (localhost [127.0.0.1]) by theia.denx.de (Postfix) with ESMTP id 5756E4BA35; Tue, 29 Apr 2014 00:52: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 0CcayQTCeq9s; Tue, 29 Apr 2014 00:52:00 +0200 (CEST) Received: from theia.denx.de (localhost [127.0.0.1]) by theia.denx.de (Postfix) with ESMTP id 258A04B9ED; Tue, 29 Apr 2014 00:51:55 +0200 (CEST) Received: from localhost (localhost [127.0.0.1]) by theia.denx.de (Postfix) with ESMTP id 03AAB4B9DF for <u-boot@lists.denx.de>; Tue, 29 Apr 2014 00:51:53 +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 7IXckcO+8diy for <u-boot@lists.denx.de>; Tue, 29 Apr 2014 00:51:49 +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 na01-by2-obe.outbound.protection.outlook.com (mail-by2lp0243.outbound.protection.outlook.com [207.46.163.243]) by theia.denx.de (Postfix) with ESMTPS id A91F84B9EC for <u-boot@lists.denx.de>; Tue, 29 Apr 2014 00:51:38 +0200 (CEST) Received: from BY2PR03CA033.namprd03.prod.outlook.com (10.242.234.154) by BY2PR03MB160.namprd03.prod.outlook.com (10.242.36.22) with Microsoft SMTP Server (TLS) id 15.0.929.12; Mon, 28 Apr 2014 22:51:34 +0000 Received: from BY2FFO11FD004.protection.gbl (2a01:111:f400:7c0c::139) by BY2PR03CA033.outlook.office365.com (2a01:111:e400:2c2c::26) with Microsoft SMTP Server (TLS) id 15.0.929.12 via Frontend Transport; Mon, 28 Apr 2014 22:51:33 +0000 Received: from tx30smr01.am.freescale.net (192.88.168.1) by BY2FFO11FD004.mail.protection.outlook.com (10.1.14.158) with Microsoft SMTP Server (TLS) id 15.0.929.8 via Frontend Transport; Mon, 28 Apr 2014 22:51:33 +0000 Received: from oslab-l1.am.freescale.net ([10.214.82.20]) by tx30smr01.am.freescale.net (8.14.3/8.14.0) with ESMTP id s3SMpLmE028473; Mon, 28 Apr 2014 15:51:32 -0700 From: York Sun <yorksun@freescale.com> To: <trini@ti.com> Date: Mon, 28 Apr 2014 15:51:14 -0700 Message-ID: <1398725474-864-2-git-send-email-yorksun@freescale.com> X-Mailer: git-send-email 1.7.9.5 In-Reply-To: <1398725474-864-1-git-send-email-yorksun@freescale.com> References: <1398725474-864-1-git-send-email-yorksun@freescale.com> X-EOPAttributedMessage: 0 X-Forefront-Antispam-Report: CIP:192.88.168.1; CTRY:US; IPV:NLI; EFV:NLI; SFV:NSPM; SFS:(10009001)(6009001)(428001)(189002)(199002)(81542001)(81342001)(33646001)(62966002)(80022001)(48376002)(101416001)(36756003)(80976001)(77156001)(6806004)(20776003)(50466002)(83322001)(93916002)(19580395003)(19580405001)(44976005)(46102001)(76482001)(87286001)(85852003)(31966008)(50226001)(76176999)(74502001)(77096999)(79102001)(47776003)(99396002)(4396001)(89996001)(87936001)(50986999)(74662001)(92566001)(86362001)(92726001)(77982001)(88136002); DIR:OUT; SFP:1101; SCL:1; SRVR:BY2PR03MB160; H:tx30smr01.am.freescale.net; FPR:EEFAF3DC.2CB26548.7A774BDB.9CCA2E7A.2010F; MLV:sfv; PTR:gate-tx3.freescale.com; MX:1; A:1; LANG:en; MIME-Version: 1.0 X-Forefront-PRVS: 01952C6E96 Received-SPF: None (: freescale.com does not designate permitted sender hosts) X-OriginatorOrg: freescale.com Cc: u-boot@lists.denx.de, York Sun <yorksun@freescale.com> Subject: [U-Boot] [PATCH 2/2] common/board_f: Fix size variable X-BeenThere: u-boot@lists.denx.de X-Mailman-Version: 2.1.11 Precedence: list List-Id: U-Boot discussion <u-boot.lists.denx.de> List-Unsubscribe: <http://lists.denx.de/mailman/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: <http://lists.denx.de/mailman/listinfo/u-boot>, <mailto:u-boot-request@lists.denx.de?subject=subscribe> Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: u-boot-bounces@lists.denx.de Errors-To: u-boot-bounces@lists.denx.de |
diff --git a/common/board_f.c b/common/board_f.c index 3a00b92..954605b 100644 --- a/common/board_f.c +++ b/common/board_f.c @@ -194,7 +194,7 @@ static int init_func_ram(void) static int show_dram_config(void) { - ulong size; + unsigned long long size; #ifdef CONFIG_NR_DRAM_BANKS int i;
DRAM size should use 64-bit variable when the size could be more than 4GB. Caught and verified on P4080DS with 4GB DDR. Signed-off-by: York Sun <yorksun@freescale.com> --- common/board_f.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)