Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from phobos.denx.de (phobos.denx.de [85.214.62.61]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id 83968C433FE for ; Tue, 1 Nov 2022 05:11:11 +0000 (UTC) Received: from h2850616.stratoserver.net (localhost [IPv6:::1]) by phobos.denx.de (Postfix) with ESMTP id A512D850A1; Tue, 1 Nov 2022 06:09:13 +0100 (CET) Authentication-Results: phobos.denx.de; dmarc=fail (p=none dis=none) header.from=sholland.org Authentication-Results: phobos.denx.de; spf=pass smtp.mailfrom=u-boot-bounces@lists.denx.de Authentication-Results: phobos.denx.de; dkim=fail reason="signature verification failed" (2048-bit key; unprotected) header.d=sholland.org header.i=@sholland.org header.b="sIsfJ40S"; dkim=fail reason="signature verification failed" (2048-bit key; unprotected) header.d=messagingengine.com header.i=@messagingengine.com header.b="cQ6/IJRS"; dkim-atps=neutral Received: by phobos.denx.de (Postfix, from userid 109) id CB5F984F84; Tue, 1 Nov 2022 06:09:04 +0100 (CET) Received: from wout3-smtp.messagingengine.com (wout3-smtp.messagingengine.com [64.147.123.19]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) (No client certificate requested) by phobos.denx.de (Postfix) with ESMTPS id 0478385035 for ; Tue, 1 Nov 2022 06:08:59 +0100 (CET) Authentication-Results: phobos.denx.de; dmarc=pass (p=none dis=none) header.from=sholland.org Authentication-Results: phobos.denx.de; spf=pass smtp.mailfrom=samuel@sholland.org Received: from compute3.internal (compute3.nyi.internal [10.202.2.43]) by mailout.west.internal (Postfix) with ESMTP id 507CD3200922; Tue, 1 Nov 2022 01:08:57 -0400 (EDT) Received: from mailfrontend1 ([10.202.2.162]) by compute3.internal (MEProxy); Tue, 01 Nov 2022 01:08:57 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=sholland.org; h= cc:cc:content-transfer-encoding:date:date:from:from:in-reply-to :in-reply-to:message-id:mime-version:references:reply-to:sender :subject:subject:to:to; s=fm1; t=1667279336; x=1667365736; bh=9B pktKMEVnhig40T3ezuUhGdv5rHFB3LaykGLqIq+4Q=; b=sIsfJ40SvnsWrrzugM RTopDqw5cddOji1k6zDhf9tUj+XnGRNSTJ7LAz+/ip+ptHS3QeUEjXM4W5aAwA8W NHQ9dolGXPV/2Dc1tbVUIxEAa0ps1EhyQ00FCWMRNRgcCwUKutOQUeaEHnv6DkYZ Dl89H9rYVXGQnXGkWe3sdGvxHPgfwxkPDZxzZlmFqWGfBT++DlGKH0c+R3IM2iJs +v5XUuaH5Ki6Jr69xQ7+rTbZPQ9QqPxjnCBBgj6LM2+plI09m4hA4Rt+Z+fr0DJ+ zdGgADeQAe1KN0OEDL/6DqdRaSwm18hboNZftBm/osCsYTnPBu+IJojF2Awr+s3q EjQg== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:cc:content-transfer-encoding:date:date :feedback-id:feedback-id:from:from:in-reply-to:in-reply-to :message-id:mime-version:references:reply-to:sender:subject :subject:to:to:x-me-proxy:x-me-proxy:x-me-sender:x-me-sender :x-sasl-enc; s=fm3; t=1667279336; x=1667365736; bh=9BpktKMEVnhig 40T3ezuUhGdv5rHFB3LaykGLqIq+4Q=; b=cQ6/IJRSE0Shpgbd/tTvSGYAJbzpT Ze3RT+d9uYhZPbm8GLozhg5Fizs8iK1jQmVrny82UEQIAUlqkkqjgrPNxLCJbPnK QAwcywBprQLH67iYYjJrWJRYQlFEW5nMWc4WKptMgcMfG9dDppdIqi8rGAsFCuOm R6u4zXUPvQc6dLv2qoQCXG1icfXbEUZJPuTwUW3HCzKoiMqeNKttL61ck63tgBv3 A0F3lwLc1+xJGVFTUTavwms0EK3kureLD7aZ54wxRTK2RJbHARIWA6CxUmoQPFlk 33/AwWyQgNkkje7TL8rZtmO5RedX6BGdSE0Zr66R22/FWoi5dpOvvPD+Q== X-ME-Sender: X-ME-Received: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgedvgedrudeggdekudcutefuodetggdotefrodftvf curfhrohhfihhlvgemucfhrghsthforghilhdpqfgfvfdpuffrtefokffrpgfnqfghnecu uegrihhlohhuthemuceftddtnecusecvtfgvtghiphhivghnthhsucdlqddutddtmdenuc fjughrpefhvfevufffkffojghfggfgsedtkeertdertddtnecuhfhrohhmpefurghmuhgv lhcujfholhhlrghnugcuoehsrghmuhgvlhesshhhohhllhgrnhgurdhorhhgqeenucggtf frrghtthgvrhhnpedukeetueduhedtleetvefguddvvdejhfefudelgfduveeggeehgfdu feeitdevteenucevlhhushhtvghrufhiiigvpedunecurfgrrhgrmhepmhgrihhlfhhroh hmpehsrghmuhgvlhesshhhohhllhgrnhgurdhorhhg X-ME-Proxy: Feedback-ID: i0ad843c9:Fastmail Received: by mail.messagingengine.com (Postfix) with ESMTPA; Tue, 1 Nov 2022 01:08:56 -0400 (EDT) From: Samuel Holland To: Andre Przywara , Jagan Teki Cc: u-boot@lists.denx.de, Samuel Holland Subject: [PATCH 12/22] sunxi: Clean up the SPL_STACK_R_ADDR defaults Date: Tue, 1 Nov 2022 00:08:24 -0500 Message-Id: <20221101050835.2421-13-samuel@sholland.org> X-Mailer: git-send-email 2.37.3 In-Reply-To: <20221101050835.2421-1-samuel@sholland.org> References: <20221101050835.2421-1-samuel@sholland.org> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-BeenThere: u-boot@lists.denx.de X-Mailman-Version: 2.1.39 Precedence: list List-Id: U-Boot discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: u-boot-bounces@lists.denx.de Sender: "U-Boot" X-Virus-Scanned: clamav-milter 0.103.6 at phobos.denx.de X-Virus-Status: Clean Update this option to be based on SUNXI_MINIMUM_DRAM_MB. This corrects the value used on V3s, which previously was the MACH_SUN8I default, and so relied on addresses wrapping modulo the DRAM size. Signed-off-by: Samuel Holland --- board/sunxi/Kconfig | 9 ++------- 1 file changed, 2 insertions(+), 7 deletions(-) diff --git a/board/sunxi/Kconfig b/board/sunxi/Kconfig index d686d84170..7d678108a0 100644 --- a/board/sunxi/Kconfig +++ b/board/sunxi/Kconfig @@ -57,14 +57,9 @@ config IDENT_STRING config SPL_STACK_R_ADDR default 0x81e00000 if MACH_SUNIV - default 0x4fe00000 if MACH_SUN4I - default 0x4fe00000 if MACH_SUN5I - default 0x4fe00000 if MACH_SUN6I - default 0x4fe00000 if MACH_SUN7I - default 0x4fe00000 if MACH_SUN8I default 0x2fe00000 if MACH_SUN9I - default 0x4fe00000 if MACH_SUN50I - default 0x4fe00000 if SUN50I_GEN_H6 + default 0x4fe00000 if SUNXI_MINIMUM_DRAM_MB >= 256 + default 0x43e00000 if SUNXI_MINIMUM_DRAM_MB >= 64 config SUNXI_MINIMUM_DRAM_MB int -- 2.37.3