From patchwork Wed Mar 23 18:43:30 2016 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Sam Protsenko X-Patchwork-Id: 64251 Delivered-To: patch@linaro.org Received: by 10.112.199.169 with SMTP id jl9csp198326lbc; Wed, 23 Mar 2016 11:44:13 -0700 (PDT) X-Received: by 10.28.46.132 with SMTP id u126mr29358977wmu.67.1458758653410; Wed, 23 Mar 2016 11:44:13 -0700 (PDT) Return-Path: Received: from theia.denx.de (theia.denx.de. [85.214.87.163]) by mx.google.com with ESMTP id 14si28369474wme.10.2016.03.23.11.44.13; Wed, 23 Mar 2016 11:44:13 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of u-boot-bounces@lists.denx.de designates 85.214.87.163 as permitted sender) client-ip=85.214.87.163; Authentication-Results: mx.google.com; dkim=neutral (body hash did not verify) header.i=@linaro.org; spf=pass (google.com: best guess record for domain of u-boot-bounces@lists.denx.de designates 85.214.87.163 as permitted sender) smtp.mailfrom=u-boot-bounces@lists.denx.de Received: from localhost (localhost [127.0.0.1]) by theia.denx.de (Postfix) with ESMTP id D36C4A761B; Wed, 23 Mar 2016 19:44:08 +0100 (CET) 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 sYgKTgzoH5aT; Wed, 23 Mar 2016 19:44:08 +0100 (CET) Received: from theia.denx.de (localhost [127.0.0.1]) by theia.denx.de (Postfix) with ESMTP id 8E699A763D; Wed, 23 Mar 2016 19:43:56 +0100 (CET) Received: from localhost (localhost [127.0.0.1]) by theia.denx.de (Postfix) with ESMTP id AED66A74A6 for ; Wed, 23 Mar 2016 19:43:49 +0100 (CET) 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 u6i9u6OWR96r for ; Wed, 23 Mar 2016 19:43:49 +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-lf0-f49.google.com (mail-lf0-f49.google.com [209.85.215.49]) by theia.denx.de (Postfix) with ESMTPS id 34ADFA75D2 for ; Wed, 23 Mar 2016 19:43:40 +0100 (CET) Received: by mail-lf0-f49.google.com with SMTP id q73so15687818lfe.2 for ; Wed, 23 Mar 2016 11:43:40 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=from:to:cc:subject:date:message-id:in-reply-to:references; bh=iMwDU/T0EtNbFnr9aML8iqPSStler34GND5Cx395iTU=; b=MJ21UytWWnqa0wmjO/sSHTnrXmyH5aM+87HLjx+1c2k3PfQlowtCkFDDnrpU43IiAG NV/kxeGE8T0qiYtSbtosnWv1fUKd1x9mJDyyrUYptm+uwP61liYhKl9U6TsFSSI/HDPp 6P3rOzKDSafgXKCPkZxv8AeVytUKvbULHY2Rk= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references; bh=iMwDU/T0EtNbFnr9aML8iqPSStler34GND5Cx395iTU=; b=a4Jvw4rX8YWWTSjPbXyL2dWbtv2AXblyFMglWVhd1yJTjeVhfwtfJFfvvikSOOl0ha 7NoeTE0fUwDeeWuXd7TwDV41p/tMvS7nq8Kbb9CqYdIAqYrgOJxHvUg8C9DH+sioE3Aa 09GK4pcaQewO4XhmSESymp7Wn+460K0htI365E5+5RQoSodrJ5L8Q9kUHPoIfgIlWsKv HEEychFPZzdwXWO43/1LniXE9AWJnnOZjqjs4Ux8SRyHTNTlmXkje0dcjr1VXFQNssjq TAk7Aic8td4RIj8/ffSlz1gVcM9RRys1OSFGgIAl9rCHQ08dx9dXYc8yg6VP9ZRtYDWM dh/g== X-Gm-Message-State: AD7BkJLCNnbyw8BU2oiyeMWhQquxnfdAz/2PcnptYWxUoO0Ml16pxJjRCy2I2QerMDt1sSZk X-Received: by 10.25.85.204 with SMTP id j195mr1904421lfb.49.1458758620533; Wed, 23 Mar 2016 11:43:40 -0700 (PDT) Received: from localhost ([195.238.92.132]) by smtp.gmail.com with ESMTPSA id d11sm587756lfe.1.2016.03.23.11.43.39 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Wed, 23 Mar 2016 11:43:39 -0700 (PDT) From: Semen Protsenko To: u-boot@lists.denx.de Date: Wed, 23 Mar 2016 20:43:30 +0200 Message-Id: <1458758610-10587-4-git-send-email-semen.protsenko@linaro.org> X-Mailer: git-send-email 2.7.0 In-Reply-To: <1458758610-10587-1-git-send-email-semen.protsenko@linaro.org> References: <1458758610-10587-1-git-send-email-semen.protsenko@linaro.org> Cc: Tom Rini , Praneeth Bajjuri Subject: [U-Boot] [PATCH 3/3] Revert "ARM: DRA7-evm: Update memory info in banks" X-BeenThere: u-boot@lists.denx.de X-Mailman-Version: 2.1.15 Precedence: list List-Id: U-Boot discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , MIME-Version: 1.0 Errors-To: u-boot-bounces@lists.denx.de Sender: "U-Boot" From: Sam Protsenko This reverts commit d468b1781abe3975fdbc1695ef1fcfb48b01732b. --- board/ti/dra7xx/evm.c | 14 -------------- 1 file changed, 14 deletions(-) -- 2.7.0 _______________________________________________ U-Boot mailing list U-Boot@lists.denx.de http://lists.denx.de/mailman/listinfo/u-boot diff --git a/board/ti/dra7xx/evm.c b/board/ti/dra7xx/evm.c index eb19a6d..4f60837 100644 --- a/board/ti/dra7xx/evm.c +++ b/board/ti/dra7xx/evm.c @@ -191,20 +191,6 @@ int board_init(void) return 0; } -void dram_init_banksize(void) -{ - u64 ram_size; - - ram_size = board_ti_get_emif_size(); - - gd->bd->bi_dram[0].start = CONFIG_SYS_SDRAM_BASE; - gd->bd->bi_dram[0].size = get_effective_memsize(); - if (ram_size > CONFIG_MAX_MEM_MAPPED) { - gd->bd->bi_dram[1].start = 0x200000000; - gd->bd->bi_dram[1].size = ram_size - CONFIG_MAX_MEM_MAPPED; - } -} - int board_late_init(void) { #ifdef CONFIG_ENV_VARS_UBOOT_RUNTIME_CONFIG