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 F00F4C433FE for ; Tue, 1 Nov 2022 05:12:03 +0000 (UTC) Received: from h2850616.stratoserver.net (localhost [IPv6:::1]) by phobos.denx.de (Postfix) with ESMTP id A5D13850FF; Tue, 1 Nov 2022 06:09:20 +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="chvWS7dm"; dkim=fail reason="signature verification failed" (2048-bit key; unprotected) header.d=messagingengine.com header.i=@messagingengine.com header.b="W5e0KD9i"; dkim-atps=neutral Received: by phobos.denx.de (Postfix, from userid 109) id 886178503B; Tue, 1 Nov 2022 06:09:15 +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 1CE2285047 for ; Tue, 1 Nov 2022 06:09:07 +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 compute1.internal (compute1.nyi.internal [10.202.2.41]) by mailout.west.internal (Postfix) with ESMTP id 3EF7A3200928; Tue, 1 Nov 2022 01:09:05 -0400 (EDT) Received: from mailfrontend1 ([10.202.2.162]) by compute1.internal (MEProxy); Tue, 01 Nov 2022 01:09:05 -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=1667279344; x=1667365744; bh=/D bZCRoFQotr0vqjFt4lTuWMECykwFP+ebqp54YHsf4=; b=chvWS7dmsX7jl6OGfE f0uD+Z5pefuaoqcajGP792T470bB2K+ZQgeQpTj2t4+wm5/H/Y6TNgJs32bvkDTY 7O1pmAUQEqnNhqEpyZbT8PLbR2dC2qy05A/JqXajU33Wfh/O5ihWkvWEJ5uJ0AJP hngnXj9mRiZdFYZsyXC9/WAglgKu1/Kihn/mbhbg1wzOS1Y2g0l9XpVBCfCdaV7i uvbRTt+ZTHHPcUhKLhlDXXPniQKtaXYOlenl6rNLserK/WmUSaCFFr0EncITA0Fj 8ARImKNftYsM3Aab217d/vUV52HFDNcfXVbv+cv92jOcraEcj3nuvnp7hDJlU8o5 riww== 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=1667279344; x=1667365744; bh=/DbZCRoFQotr0 vqjFt4lTuWMECykwFP+ebqp54YHsf4=; b=W5e0KD9i6fazs1uh/3Jyw3p1nU42U MXy1/ZgxvXgoDGmEMg/A5RawlMe64RrzkigFOIjOgb6x51YNABcDGMZPqPE2g9qU PLspyiKp+UFhNqaHW9l0pXAo84WALSFwXrN/StfTKgQDsA10upqxFTtnrBKZAqaA ybUTi5RGv9JtGPnBH5zRNvdO7KFj+kZCEuyI8oNNAhvzWdoEk3M2bONpxbq7LlHG /wu3+PkIDtK4gjoImX/ARN7yw0txEGfMSOE+JpEPZ3MVGO0aBSyHUng/8fJyCIEy ODEQtNBYSQMwlucYpM0OYxCRJQA6fl8Jx+Y2DdkgSgMsCWSL6Uq+ZCNmw== X-ME-Sender: X-ME-Received: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgedvgedrudeggdekudcutefuodetggdotefrodftvf curfhrohhfihhlvgemucfhrghsthforghilhdpqfgfvfdpuffrtefokffrpgfnqfghnecu uegrihhlohhuthemuceftddtnecusecvtfgvtghiphhivghnthhsucdlqddutddtmdenuc fjughrpefhvfevufffkffojghfggfgsedtkeertdertddtnecuhfhrohhmpefurghmuhgv lhcujfholhhlrghnugcuoehsrghmuhgvlhesshhhohhllhgrnhgurdhorhhgqeenucggtf frrghtthgvrhhnpedukeetueduhedtleetvefguddvvdejhfefudelgfduveeggeehgfdu feeitdevteenucevlhhushhtvghrufhiiigvpedvnecurfgrrhgrmhepmhgrihhlfhhroh hmpehsrghmuhgvlhesshhhohhllhgrnhgurdhorhhg X-ME-Proxy: Feedback-ID: i0ad843c9:Fastmail Received: by mail.messagingengine.com (Postfix) with ESMTPA; Tue, 1 Nov 2022 01:09:04 -0400 (EDT) From: Samuel Holland To: Andre Przywara , Jagan Teki Cc: u-boot@lists.denx.de, Samuel Holland Subject: [PATCH 17/22] sunxi: Move TEXT_BASE to the board Kconfig Date: Tue, 1 Nov 2022 00:08:29 -0500 Message-Id: <20221101050835.2421-18-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 This is how the vast majority of platforms provided TEXT_BASE. sunxi was the exception here. Signed-off-by: Samuel Holland --- board/sunxi/Kconfig | 6 ++++++ boot/Kconfig | 4 ---- 2 files changed, 6 insertions(+), 4 deletions(-) diff --git a/board/sunxi/Kconfig b/board/sunxi/Kconfig index d463474535..7ff0275ae4 100644 --- a/board/sunxi/Kconfig +++ b/board/sunxi/Kconfig @@ -137,6 +137,12 @@ config SYS_LOAD_ADDR config SYS_SOC default "sunxi" +config TEXT_BASE + default 0x81700000 if MACH_SUNIV + default 0x2a000000 if MACH_SUN9I + default 0x4a000000 if SUNXI_MINIMUM_DRAM_MB >= 256 + default 0x42e00000 if SUNXI_MINIMUM_DRAM_MB >= 64 + menu "sunxi board options" choice diff --git a/boot/Kconfig b/boot/Kconfig index d5c582ebe8..b650a0b052 100644 --- a/boot/Kconfig +++ b/boot/Kconfig @@ -633,10 +633,6 @@ config TEXT_BASE depends on HAVE_TEXT_BASE default 0x0 if POSITION_INDEPENDENT default 0x80800000 if ARCH_OMAP2PLUS || ARCH_K3 - default 0x81700000 if MACH_SUNIV - default 0x2a000000 if MACH_SUN9I - default 0x4a000000 if SUNXI_MINIMUM_DRAM_MB >= 256 - default 0x42e00000 if SUNXI_MINIMUM_DRAM_MB >= 64 hex "Text Base" help The address in memory that U-Boot will be running from, initially. -- 2.37.3