From patchwork Mon Nov 19 00:19:02 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Heiko Stuebner X-Patchwork-Id: 10688081 Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork-2.web.codeaurora.org (Postfix) with ESMTP id 2AFB0109C for ; Mon, 19 Nov 2018 00:19:41 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 1A334297A0 for ; Mon, 19 Nov 2018 00:19:41 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 0DEF4297D2; Mon, 19 Nov 2018 00:19:41 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on pdx-wl-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-3.6 required=2.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,MAILING_LIST_MULTI,RCVD_IN_DNSWL_LOW autolearn=ham version=3.3.1 Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.wl.linuxfoundation.org (Postfix) with ESMTPS id B8ED8297A0 for ; Mon, 19 Nov 2018 00:19:40 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20170209; h=Sender: Content-Transfer-Encoding:Content-Type:MIME-Version:Cc:List-Subscribe: List-Help:List-Post:List-Archive:List-Unsubscribe:List-Id:Message-Id:Date: Subject:To:From:Reply-To:Content-ID:Content-Description:Resent-Date: Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:In-Reply-To: References:List-Owner; bh=XiHqXlhqJnWdgsbS6SGx/NWPVSL/TwHykhBjrkOm4zo=; b=VT5 MXuDZsM/CbPI4iTF029d5yme6/3YBQPPZ5PVv562zeqwxMxrn6pETrmFjAMyNHDFYbzRURHaAEULf l/XrS1Y6oBbMPVTvjq/4EzJcAabkRTL+4nTo+h1LgWeWVQ6gnR5+RctIv5ywuCeldoyHHa8S4zUEE qa8sy1TF0BygP/g4n+9VY7Tt+ntLsDAikpkAZnCfXwMvJS/pJr9alAHgWXIWt2067/851MB1xoicI xN08+AuOxSbUusChB17/fMW9awXKl29KCmBUVLW17QkXGfs+yoo7Kxkhs0Vw8ru8XuEi81RQ4nt0W 9eYB2C0Df99UpbQDwQf3UDwy5cM0X/w==; Received: from localhost ([127.0.0.1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.90_1 #2 (Red Hat Linux)) id 1gOXHo-0004Bi-6c; Mon, 19 Nov 2018 00:19:32 +0000 Received: from merlin.infradead.org ([2001:8b0:10b:1231::1]) by bombadil.infradead.org with esmtps (Exim 4.90_1 #2 (Red Hat Linux)) id 1gOXHl-0004BI-Si; Mon, 19 Nov 2018 00:19:29 +0000 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=infradead.org; s=merlin.20170209; h=Message-Id:Date:Subject:Cc:To:From: Sender:Reply-To:MIME-Version:Content-Type:Content-Transfer-Encoding: Content-ID:Content-Description:Resent-Date:Resent-From:Resent-Sender: Resent-To:Resent-Cc:Resent-Message-ID:In-Reply-To:References:List-Id: List-Help:List-Unsubscribe:List-Subscribe:List-Post:List-Owner:List-Archive; bh=23LcX0SqTsPqopsYC0ahhVgFpL2RXv67OdjTwo1sGpQ=; b=s6YCjdaImz2RHzs1NwvZ3HatE P2lDwGTpB30u4BNcIpzSU4076qVXfzQp7aADJMJhvPJztmAv1Lp+TpVVnHn4xBmKzODXxRYtBJDJ1 c9kCxTYbuoya0k4V7QEssYmr7kAW2SCAWs16Z8C7G5m7dAWG1UShhDldehSBbQrSQUH2GQJvetgVg DEk8O701CNsb11BaMyp/zzgBqdnjr15ABvYelX69c6HfGEx29fmYw9fsmljmrGqCgiRap9da/fhWH luT6UFzr4tyskUnt/7y/j+qtySqO5ga82sU9zyRNnqwnkbcMhhtOYsJN0+5WJlw7XTh6Ffi8/aHXB XiViVbF6A==; Received: from gloria.sntech.de ([185.11.138.130]) by merlin.infradead.org with esmtps (Exim 4.90_1 #2 (Red Hat Linux)) id 1gOXHi-00038d-3E; Mon, 19 Nov 2018 00:19:27 +0000 Received: from ip5f5a905a.dynamic.kabel-deutschland.de ([95.90.144.90] helo=phil.fritz.box) by gloria.sntech.de with esmtpsa (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.89) (envelope-from ) id 1gOXHT-0004sA-DZ; Mon, 19 Nov 2018 01:19:11 +0100 From: Heiko Stuebner To: linux-rockchip@lists.infradead.org Subject: [PATCH] ARM: dts: rockchip: Remove @0 from the veyron memory node Date: Mon, 19 Nov 2018 01:19:02 +0100 Message-Id: <20181119001902.8565-1-heiko@sntech.de> X-Mailer: git-send-email 2.18.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20181118_191926_257986_DE27A126 X-CRM114-Status: GOOD ( 12.32 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: linux-arm-kernel@lists.infradead.org, holin@iki.fi, Heiko Stuebner MIME-Version: 1.0 Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+patchwork-linux-arm=patchwork.kernel.org@lists.infradead.org X-Virus-Scanned: ClamAV using ClamSMTP The Coreboot version on veyron ChromeOS devices seems to ignore memory@0 nodes when updating the available memory and instead inserts another memory node without the address. This leads to 4GB systems only ever be using 2GB as the memory@0 node takes precedence. So remove the @0 for veyron devices. Fixes: 0b639b815f15 ("ARM: dts: rockchip: Add missing unit name to memory nodes in rk3288 boards") Reported-by: Heikki Lindholm Signed-off-by: Heiko Stuebner --- arch/arm/boot/dts/rk3288-veyron.dtsi | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/arch/arm/boot/dts/rk3288-veyron.dtsi b/arch/arm/boot/dts/rk3288-veyron.dtsi index 2075120cfc4d..d8bf939a3aff 100644 --- a/arch/arm/boot/dts/rk3288-veyron.dtsi +++ b/arch/arm/boot/dts/rk3288-veyron.dtsi @@ -10,7 +10,11 @@ #include "rk3288.dtsi" / { - memory@0 { + /* + * The default coreboot on veyron devices ignores memory@0 nodes + * and would instead create another memory node. + */ + memory { device_type = "memory"; reg = <0x0 0x0 0x0 0x80000000>; };