Message ID | 1370010272-25520-1-git-send-email-lee.jones@linaro.org |
---|---|
State | New |
Headers | show
Return-Path: <patchwork-forward+bncBDA7X7F2WUEBBKXFUKGQKGQEATMFD7I@linaro.org> X-Original-To: linaro@patches.linaro.org Delivered-To: linaro@patches.linaro.org Received: from mail-vc0-f197.google.com (mail-vc0-f197.google.com [209.85.220.197]) by ip-10-151-82-157.ec2.internal (Postfix) with ESMTPS id 2C40C25CAB for <linaro@patches.linaro.org>; Fri, 31 May 2013 14:24:43 +0000 (UTC) Received: by mail-vc0-f197.google.com with SMTP id ha11sf808457vcb.0 for <linaro@patches.linaro.org>; Fri, 31 May 2013 07:24:42 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20120113; h=mime-version:x-beenthere:x-forwarded-to:x-forwarded-for :delivered-to:from:to:cc:subject:date:message-id:x-mailer :x-gm-message-state:x-original-sender :x-original-authentication-results:precedence:mailing-list:list-id :x-google-group-id:list-post:list-help:list-archive:list-unsubscribe; bh=1fAScw5Cn0IrRjXPmHn4sWfJVvmARXe2g8m0u0OafIY=; b=Nr+JyzOPgjJSRDjVLdxFqToby7fCA80timqbujr5O9YejjIWBj5uYQ/LiZEkjadL9Y 5+KK8gtld6Z5fkM5IykSgkn9WYy8rVum6K2ESLV17aqMg2k4gAFnLK0F8yIUUmIajo1k prvrn41aGEzBF/kE9CUliTUJlo0xKm0CI+SKJCCunF/7T7tXY5Rw6dHDmbtYGznHF0co Vrn+4Iqzd3yvFclBmJRXJEFQ6s+r97/1ZtUrqTmRHe7m6tkmW7X0J1ymcBoi1eHO95as eVZBiRM7kxPZX4CMRG7R71y/fnjvqKWeW8zALAELJPpPmOdFB15IFqx1hIYDmquiO6su dleg== X-Received: by 10.236.87.79 with SMTP id x55mr6725374yhe.54.1370010282360; Fri, 31 May 2013 07:24:42 -0700 (PDT) MIME-Version: 1.0 X-BeenThere: patchwork-forward@linaro.org Received: by 10.49.0.196 with SMTP id 4ls889409qeg.96.gmail; Fri, 31 May 2013 07:24:42 -0700 (PDT) X-Received: by 10.220.68.13 with SMTP id t13mr10396896vci.24.1370010282196; Fri, 31 May 2013 07:24:42 -0700 (PDT) Received: from mail-vb0-x234.google.com (mail-vb0-x234.google.com [2607:f8b0:400c:c02::234]) by mx.google.com with ESMTPS id ad7si28573995vdc.16.2013.05.31.07.24.42 for <patchwork-forward@linaro.org> (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Fri, 31 May 2013 07:24:42 -0700 (PDT) Received-SPF: neutral (google.com: 2607:f8b0:400c:c02::234 is neither permitted nor denied by best guess record for domain of patch+caf_=patchwork-forward=linaro.org@linaro.org) client-ip=2607:f8b0:400c:c02::234; Received: by mail-vb0-f52.google.com with SMTP id p12so1084469vbe.11 for <patchwork-forward@linaro.org>; Fri, 31 May 2013 07:24:42 -0700 (PDT) X-Received: by 10.58.187.164 with SMTP id ft4mr10314514vec.5.1370010282032; Fri, 31 May 2013 07:24:42 -0700 (PDT) X-Forwarded-To: patchwork-forward@linaro.org X-Forwarded-For: patch@linaro.org patchwork-forward@linaro.org Delivered-To: patches@linaro.org Received: by 10.220.229.199 with SMTP id jj7csp52295vcb; Fri, 31 May 2013 07:24:41 -0700 (PDT) X-Received: by 10.194.158.34 with SMTP id wr2mr9706700wjb.57.1370010280627; Fri, 31 May 2013 07:24:40 -0700 (PDT) Received: from mail-we0-x22e.google.com (mail-we0-x22e.google.com [2a00:1450:400c:c03::22e]) by mx.google.com with ESMTPS id g10si11427970wjb.97.2013.05.31.07.24.40 for <patches@linaro.org> (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Fri, 31 May 2013 07:24:40 -0700 (PDT) Received-SPF: neutral (google.com: 2a00:1450:400c:c03::22e is neither permitted nor denied by best guess record for domain of lee.jones@linaro.org) client-ip=2a00:1450:400c:c03::22e; Received: by mail-we0-f174.google.com with SMTP id x50so1342865wes.33 for <patches@linaro.org>; Fri, 31 May 2013 07:24:40 -0700 (PDT) X-Received: by 10.180.74.207 with SMTP id w15mr3547129wiv.19.1370010280119; Fri, 31 May 2013 07:24:40 -0700 (PDT) Received: from localhost.localdomain (cpc34-aztw25-2-0-cust250.18-1.cable.virginmedia.com. [86.16.136.251]) by mx.google.com with ESMTPSA id fx7sm4261208wic.11.2013.05.31.07.24.38 for <multiple recipients> (version=TLSv1.1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Fri, 31 May 2013 07:24:39 -0700 (PDT) From: Lee Jones <lee.jones@linaro.org> To: linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org Cc: arnd@arndb.de, linus.walleij@stericsson.com, srinidhi.kasagar@stericsson.com, Lee Jones <lee.jones@linaro.org> Subject: [PATCH 1/2] ARM: ux500: Allocate correct amount of memory for the u8540 in DT Date: Fri, 31 May 2013 15:24:31 +0100 Message-Id: <1370010272-25520-1-git-send-email-lee.jones@linaro.org> X-Mailer: git-send-email 1.7.10.4 X-Gm-Message-State: ALoCoQmFr2B2DuSo7RDOdGWJ4RMk0yeCUo8P7ypqYdCnaM0ZPPTF4UKKnpuI4BBJJnRawEoqnAoK X-Original-Sender: lee.jones@linaro.org X-Original-Authentication-Results: mx.google.com; spf=neutral (google.com: 2607:f8b0:400c:c02::234 is neither permitted nor denied by best guess record for domain of patch+caf_=patchwork-forward=linaro.org@linaro.org) smtp.mail=patch+caf_=patchwork-forward=linaro.org@linaro.org Precedence: list Mailing-list: list patchwork-forward@linaro.org; contact patchwork-forward+owners@linaro.org List-ID: <patchwork-forward.linaro.org> X-Google-Group-Id: 836684582541 List-Post: <http://groups.google.com/a/linaro.org/group/patchwork-forward/post?hl=en-US>, <mailto:patchwork-forward@linaro.org> List-Help: <http://support.google.com/a/linaro.org/bin/topic.py?hl=en-US&topic=25838>, <mailto:patchwork-forward+help@linaro.org> List-Archive: <http://groups.google.com/a/linaro.org/group/patchwork-forward/?hl=en-US> List-Unsubscribe: <http://groups.google.com/a/linaro.org/group/patchwork-forward/subscribe?hl=en-US>, <mailto:googlegroups-manage+836684582541+unsubscribe@googlegroups.com> |
diff --git a/arch/arm/boot/dts/ccu8540.dts b/arch/arm/boot/dts/ccu8540.dts index 12f0bc2..199866b 100644 --- a/arch/arm/boot/dts/ccu8540.dts +++ b/arch/arm/boot/dts/ccu8540.dts @@ -16,8 +16,8 @@ model = "ST-Ericsson U8540 platform with Device Tree"; compatible = "st-ericsson,ccu8540", "st-ericsson,u8540"; - memory { - reg = <0x00000000 0x20000000>; + memory@0 { + reg = <0x20000000 0x3f000000>, <0xc0000000 0x3f000000>; }; soc {
As it stands, the memory node in the u8540 Device Tree is ignored and memory is actually stipulated by the bootloader via ATAGS. ARM core architecture code then extracts the memory ATAG and inserts it into the Device Tree. In the u8540 the LittleKernel bootloader only stipulates 512MB of memory; however, the u8540 actually has 4GB. We're taking the responsibility to register the remainder from Device Tree here. Signed-off-by: Lee Jones <lee.jones@linaro.org> --- arch/arm/boot/dts/ccu8540.dts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-)