From patchwork Fri Jan 25 03:39:20 2013 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Rob Herring X-Patchwork-Id: 215542 X-Patchwork-Delegate: albert.aribaud@free.fr 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 694D92C0080 for ; Fri, 25 Jan 2013 14:47:06 +1100 (EST) Received: from localhost (localhost [127.0.0.1]) by theia.denx.de (Postfix) with ESMTP id 725574A14C; Fri, 25 Jan 2013 04:47:04 +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 cNXvUQBH-D12; Fri, 25 Jan 2013 04:47:04 +0100 (CET) Received: from theia.denx.de (localhost [127.0.0.1]) by theia.denx.de (Postfix) with ESMTP id 771304A13B; Fri, 25 Jan 2013 04:47:02 +0100 (CET) Received: from localhost (localhost [127.0.0.1]) by theia.denx.de (Postfix) with ESMTP id 2A9504A13B for ; Fri, 25 Jan 2013 04:47:01 +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 Tyy0YYQZZAVN for ; Fri, 25 Jan 2013 04:47:00 +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 mail-ob0-f171.google.com (mail-ob0-f171.google.com [209.85.214.171]) by theia.denx.de (Postfix) with ESMTPS id 3CF514A139 for ; Fri, 25 Jan 2013 04:46:58 +0100 (CET) Received: by mail-ob0-f171.google.com with SMTP id lz20so5135766obb.30 for ; Thu, 24 Jan 2013 19:46:57 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=x-received:from:to:cc:subject:date:message-id:x-mailer:in-reply-to :references; bh=KMLzqz4+zhVq40BKsMjtRoe6b2zrLqv2k0v45wclUdI=; b=HqKGkM/xvKG0iZ50rPJqwuy0A8KvCuklUfTlxiqyFwrrPuRO+3vc99PKyMoWULdZCW IxlJRMwsEcRSp32cM87L2HsmcRiPpbUOJZcnMlOCnwBzTPGGlKJJ+lY2j/3yE8BBq1/S 2BCb1oD+mhUZm+78gxMi1m/gpp2Xxt8rr2+WZr/2sXXZx35JoUeJ5eUGlgjbnw4U788J ke+ykPiMXo1/Cind6pn+YrjwjYGg5hkZhZb+UnM8MjBon8om6wgWWOe39RGl3QjwB7bE xOGPrEg1qPwXE/zKMF+mDIq+gh0C/O/OGOEGUNvbEDyzGEdjkfKZRpaen4lIcp6SCIik wUdQ== X-Received: by 10.182.48.37 with SMTP id i5mr3411357obn.18.1359085175319; Thu, 24 Jan 2013 19:39:35 -0800 (PST) Received: from rob-laptop.grandenetworks.net (65-36-73-129.dyn.grandenetworks.net. [65.36.73.129]) by mx.google.com with ESMTPS id y10sm20250852oeg.12.2013.01.24.19.39.34 (version=TLSv1.1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Thu, 24 Jan 2013 19:39:34 -0800 (PST) From: Rob Herring To: u-boot@lists.denx.de Date: Thu, 24 Jan 2013 21:39:20 -0600 Message-Id: <1359085160-28675-2-git-send-email-robherring2@gmail.com> X-Mailer: git-send-email 1.7.10.4 In-Reply-To: <1359085160-28675-1-git-send-email-robherring2@gmail.com> References: <1359085160-28675-1-git-send-email-robherring2@gmail.com> Cc: Rob Herring Subject: [U-Boot] [PATCH 2/2] ARM: highbank: remove DRAM bank setup 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 From: Rob Herring The memory sizes in highbank dtb's are already correct, so remove the DRAM bank setup so the memory node is not fixed up by u-boot. Signed-off-by: Rob Herring --- board/highbank/highbank.c | 6 ------ include/configs/highbank.h | 2 +- 2 files changed, 1 insertion(+), 7 deletions(-) diff --git a/board/highbank/highbank.c b/board/highbank/highbank.c index f41bf05..647bd56 100644 --- a/board/highbank/highbank.c +++ b/board/highbank/highbank.c @@ -79,12 +79,6 @@ int dram_init(void) return 0; } -void dram_init_banksize(void) -{ - gd->bd->bi_dram[0].start = CONFIG_SYS_SDRAM_BASE; - gd->bd->bi_dram[0].size = PHYS_SDRAM_1_SIZE; -} - void reset_cpu(ulong addr) { writel(HB_PWR_HARD_RESET, HB_SREG_A9_PWR_REQ); diff --git a/include/configs/highbank.h b/include/configs/highbank.h index 62cc08c..a0fe2c3 100644 --- a/include/configs/highbank.h +++ b/include/configs/highbank.h @@ -97,7 +97,7 @@ /*----------------------------------------------------------------------- * Physical Memory Map */ -#define CONFIG_NR_DRAM_BANKS 1 +#define CONFIG_NR_DRAM_BANKS 0 #define PHYS_SDRAM_1_SIZE (4089 << 20) #define CONFIG_SYS_MEMTEST_START 0x100000 #define CONFIG_SYS_MEMTEST_END (PHYS_SDRAM_1_SIZE - 0x100000)