From patchwork Fri Oct 31 07:16:29 2014 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Nobuhiro Iwamatsu X-Patchwork-Id: 405218 X-Patchwork-Delegate: iwamatsu@nigauri.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 B5EF0140080 for ; Fri, 31 Oct 2014 18:17:42 +1100 (AEDT) Received: from localhost (localhost [127.0.0.1]) by theia.denx.de (Postfix) with ESMTP id D3ACD4BC15; Fri, 31 Oct 2014 08:17:33 +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 L4vEv2B47BeX; Fri, 31 Oct 2014 08:17:33 +0100 (CET) Received: from theia.denx.de (localhost [127.0.0.1]) by theia.denx.de (Postfix) with ESMTP id C3ABD4BC02; Fri, 31 Oct 2014 08:17:20 +0100 (CET) Received: from localhost (localhost [127.0.0.1]) by theia.denx.de (Postfix) with ESMTP id 1792A4BBC4 for ; Fri, 31 Oct 2014 08:17:09 +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 qTbuHC09VGhW for ; Fri, 31 Oct 2014 08:17:08 +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-pa0-f49.google.com (mail-pa0-f49.google.com [209.85.220.49]) by theia.denx.de (Postfix) with ESMTPS id 8D81E4BBF7 for ; Fri, 31 Oct 2014 08:17:03 +0100 (CET) Received: by mail-pa0-f49.google.com with SMTP id lj1so7057453pab.8 for ; Fri, 31 Oct 2014 00:17:01 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:sender:from:to:cc:subject:date:message-id :in-reply-to:references; bh=5i1+2VXjYe9FpJZCImc0Iy8HfHPprESOdlXTE+R0jeQ=; b=d5IJVaUX10HQVLnh+MHrMtcA4ljQp5Pt6ARHN4SxmeYXMKTVIjdlIWUCaoTrZpsKpV WAofgWqjSm3mIdDohbjGRdLhCk3ncVoIPiXaCWs3fBgQYbgTmktDMXyRXlqWY3UDqoEy 5Q+aHKbQpuOfIbkPSRF4rsJ5Cd6pqFNTs6abVDrmtchobQvvhRMItFbAmyEX6Mnc0j5A MClpEiSlI8A/neEQfCPr8kzI3knLg4raU7Ywf9Jqo5r72Jfs1OYI8up4gtZjS+s0d7dU KY6UoiV5rQRAkg2D20ve08upfLFK4zqGBQH2SsQll2VXsCLinYZgV1GZrK0apuEfylSY yPhg== X-Gm-Message-State: ALoCoQl2xxIdwLHh1FLzbFJSN7J5voQeh+iMeu7xlCqSR7C9dAQcTWA8eV3oK7sL/0yQ7aoix7cA X-Received: by 10.70.37.8 with SMTP id u8mr3859269pdj.9.1414739821365; Fri, 31 Oct 2014 00:17:01 -0700 (PDT) Received: from xps-iwamatsu.renesas.com (49.14.32.202.bf.2iij.net. [202.32.14.49]) by mx.google.com with ESMTPSA id pe6sm4097334pac.21.2014.10.31.00.16.58 for (version=TLSv1.2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Fri, 31 Oct 2014 00:16:59 -0700 (PDT) From: Nobuhiro Iwamatsu To: u-boot@lists.denx.de, Nobuhiro Iwamatsu Date: Fri, 31 Oct 2014 16:16:29 +0900 Message-Id: <1414739791-12610-4-git-send-email-nobuhiro.iwamatsu.yj@renesas.com> X-Mailer: git-send-email 2.1.1 In-Reply-To: <1414739791-12610-1-git-send-email-nobuhiro.iwamatsu.yj@renesas.com> References: <1414739791-12610-1-git-send-email-nobuhiro.iwamatsu.yj@renesas.com> Cc: Nobuhiro Iwamatsu , Hisashi Nakamura Subject: [U-Boot] [PATCH 4/6] arm: rmobile: lager: Remove RAM address initialization X-BeenThere: u-boot@lists.denx.de X-Mailman-Version: 2.1.13 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 Since board info structure is not still set up, the setting of RAM address causes illegal access. Therefore the setting of RAM address is removed. Signed-off-by: Hisashi Nakamura Signed-off-by: Nobuhiro Iwamatsu --- board/renesas/lager/lager.c | 1 - 1 file changed, 1 deletion(-) diff --git a/board/renesas/lager/lager.c b/board/renesas/lager/lager.c index 1fc5833..2bb8710 100644 --- a/board/renesas/lager/lager.c +++ b/board/renesas/lager/lager.c @@ -165,7 +165,6 @@ int board_phy_config(struct phy_device *phydev) int dram_init(void) { - gd->bd->bi_dram[0].start = CONFIG_SYS_SDRAM_BASE; gd->ram_size = CONFIG_SYS_SDRAM_SIZE; return 0;