Message ID | 1398893511-22085-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 9B26D14010A for <incoming@patchwork.ozlabs.org>; Thu, 1 May 2014 07:33:00 +1000 (EST) Received: from localhost (localhost [127.0.0.1]) by theia.denx.de (Postfix) with ESMTP id 318174BD27; Wed, 30 Apr 2014 23:32:54 +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 TPgUZQwMuHDv; Wed, 30 Apr 2014 23:32:53 +0200 (CEST) Received: from theia.denx.de (localhost [127.0.0.1]) by theia.denx.de (Postfix) with ESMTP id 35E9F4BD12; Wed, 30 Apr 2014 23:32:30 +0200 (CEST) Received: from localhost (localhost [127.0.0.1]) by theia.denx.de (Postfix) with ESMTP id 670034B881 for <u-boot@lists.denx.de>; Wed, 30 Apr 2014 23:32:27 +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 iufKZKqnimDk for <u-boot@lists.denx.de>; Wed, 30 Apr 2014 23:32:18 +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-bn1-obe.outbound.protection.outlook.com (mail-bn1lp0140.outbound.protection.outlook.com [207.46.163.140]) by theia.denx.de (Postfix) with ESMTPS id AA4024B873 for <u-boot@lists.denx.de>; Wed, 30 Apr 2014 23:32:10 +0200 (CEST) Received: from BL2PR03CA022.namprd03.prod.outlook.com (10.141.66.30) by BL2PR03MB385.namprd03.prod.outlook.com (10.141.91.139) with Microsoft SMTP Server (TLS) id 15.0.929.12; Wed, 30 Apr 2014 21:31:57 +0000 Received: from BL2FFO11FD011.protection.gbl (2a01:111:f400:7c09::124) by BL2PR03CA022.outlook.office365.com (2a01:111:e400:c1b::30) with Microsoft SMTP Server (TLS) id 15.0.929.12 via Frontend Transport; Wed, 30 Apr 2014 21:31:57 +0000 Received: from tx30smr01.am.freescale.net (192.88.168.1) by BL2FFO11FD011.mail.protection.outlook.com (10.173.161.17) with Microsoft SMTP Server (TLS) id 15.0.929.8 via Frontend Transport; Wed, 30 Apr 2014 21:31:57 +0000 Received: from oslab-l1.am.freescale.net ([10.214.83.220]) by tx30smr01.am.freescale.net (8.14.3/8.14.0) with ESMTP id s3ULVqo6028899; Wed, 30 Apr 2014 14:31:55 -0700 From: York Sun <yorksun@freescale.com> To: <trini@ti.com> Date: Wed, 30 Apr 2014 14:31:51 -0700 Message-ID: <1398893511-22085-2-git-send-email-yorksun@freescale.com> X-Mailer: git-send-email 1.7.9.5 In-Reply-To: <1398893511-22085-1-git-send-email-yorksun@freescale.com> References: <1398893511-22085-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)(199002)(189002)(79102001)(87286001)(47776003)(50466002)(99396002)(92726001)(31966008)(77096999)(20776003)(93916002)(89996001)(83072002)(77982001)(76176999)(50226001)(46102001)(87936001)(85852003)(74502001)(80022001)(92566001)(76482001)(36756003)(50986999)(74662001)(86362001)(19580395003)(88136002)(33646001)(80976001)(48376002)(101416001)(19580405001)(44976005)(4396001)(83322001)(81342001)(62966002)(81542001)(77156001)(6806004); DIR:OUT; SFP:1101; SCL:1; SRVR:BL2PR03MB385; H:tx30smr01.am.freescale.net; FPR:EED2F3DC.2CB26548.4A774BDB.9CCA2E79.2011E; MLV:sfv; PTR:gate-tx3.freescale.com; A:1; MX:1; LANG:en; MIME-Version: 1.0 X-Forefront-PRVS: 0197AFBD92 Received-SPF: None (: freescale.com does not designate permitted sender hosts) X-OriginatorOrg: freescale.com Cc: scottwood@freescale.com, u-boot@lists.denx.de, York Sun <yorksun@freescale.com> Subject: [U-Boot] [Patch v2 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 eebb377..9cfab74 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> --- Change log v2: no change since v1 common/board_f.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)