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 D521BFA373D for ; Tue, 1 Nov 2022 05:11:52 +0000 (UTC) Received: from h2850616.stratoserver.net (localhost [IPv6:::1]) by phobos.denx.de (Postfix) with ESMTP id 8701685091; Tue, 1 Nov 2022 06:09:19 +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="kZpSxz10"; dkim=fail reason="signature verification failed" (2048-bit key; unprotected) header.d=messagingengine.com header.i=@messagingengine.com header.b="ll/Tqlq8"; dkim-atps=neutral Received: by phobos.denx.de (Postfix, from userid 109) id 2FF37850A6; Tue, 1 Nov 2022 06:09:14 +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 E10CE85042 for ; Tue, 1 Nov 2022 06:09:03 +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 compute2.internal (compute2.nyi.internal [10.202.2.46]) by mailout.west.internal (Postfix) with ESMTP id EE4E23200936; Tue, 1 Nov 2022 01:09:01 -0400 (EDT) Received: from mailfrontend1 ([10.202.2.162]) by compute2.internal (MEProxy); Tue, 01 Nov 2022 01:09:02 -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=1667279341; x=1667365741; bh=SS Yz9EIsjWglrIJteb16h866//x/DZs9BeljxakkPwA=; b=kZpSxz10fu3+S8hEvK FyHIK2A77R3eUfNS5QjKBsXf4SU6p1m/p+nr3d9R2oakVqDxVZU+YewrmAZHiW9t yrfeRgpnjWUeFYlvK21Zz8dPAzoLoOrZiyXCkFDwlXGhqISnubTwL/aKboafHyi3 t2jkPVV4RsnQy0umaDqzQp/nRyIuUPhiyqTe0vqHzoDF3uJ5d7F/R4PS4l00L80H sPwx2OXWolaooSOui3AXypA0IiLCQBC+OsSTiZ7f/c5uPhEGXJmcKEG45x8NODzS Z5epiMFpRIz8sdipq0gllWpa9uRWJqwg8AFS4fEiz5ZJ8aoDV6J27xcGB2tygCVK i4/g== 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=1667279341; x=1667365741; bh=SSYz9EIsjWglr IJteb16h866//x/DZs9BeljxakkPwA=; b=ll/Tqlq84SJ4EhNq2n2sxbDyHKX3L REqHhSlLJzMBKJyi6CorvmJARAUxCRBaanTjTltsMixlu7gC17BuUO0BcPZn2sD4 x1giJIR7e2XqLZkz6wnsN2RnQaLt08TqvQCl4AP6qYo5EuWmZys14B8EhMe/YUVh ZKQL5H81ytefpEPBoqrYFT4zbL6TgpNU/kALxdeXtIr9rBL7J05iuOJWcmJq86Tn tA8vNgN6od/EDY/CAwOcGsD7W1ybZLWdzkvpanchszqrn0VZMeXSLXCKNfWKnnUX sl1zUeaSDpuYAwCncm+uVXsWnynLqLyyWqq5q9a7EyxtYUGdUjp8jZOcQ== X-ME-Sender: X-ME-Received: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgedvgedrudeggdekvdcutefuodetggdotefrodftvf 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:01 -0400 (EDT) From: Samuel Holland To: Andre Przywara , Jagan Teki Cc: u-boot@lists.denx.de, Samuel Holland Subject: [PATCH 15/22] sunxi: Move SPL_TEXT_BASE to the board Kconfig Date: Tue, 1 Nov 2022 00:08:27 -0500 Message-Id: <20221101050835.2421-16-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 It makes sense to put this near the definition of SUNXI_SRAM_ADDRESS. Signed-off-by: Samuel Holland --- board/sunxi/Kconfig | 5 +++++ common/spl/Kconfig | 3 --- 2 files changed, 5 insertions(+), 3 deletions(-) diff --git a/board/sunxi/Kconfig b/board/sunxi/Kconfig index 1abb3e1816..b561dd467f 100644 --- a/board/sunxi/Kconfig +++ b/board/sunxi/Kconfig @@ -73,6 +73,11 @@ config SPL_STACK_R_ADDR default 0x4fe00000 if SUNXI_MINIMUM_DRAM_MB >= 256 default 0x43e00000 if SUNXI_MINIMUM_DRAM_MB >= 64 +config SPL_TEXT_BASE + default 0x10060 if MACH_SUN9I || MACH_SUN50I || MACH_SUN50I_H5 + default 0x20060 if SUN50I_GEN_H6 + default 0x00060 + config SUNXI_MINIMUM_DRAM_MB int default 32 if MACH_SUNIV diff --git a/common/spl/Kconfig b/common/spl/Kconfig index b1e9926e68..930028b5af 100644 --- a/common/spl/Kconfig +++ b/common/spl/Kconfig @@ -260,9 +260,6 @@ config SPL_TEXT_BASE default 0x402F4000 if AM43XX default 0x402F0400 if AM33XX default 0x40301350 if OMAP54XX - default 0x10060 if MACH_SUN50I || MACH_SUN50I_H5 || MACH_SUN9I - default 0x20060 if SUN50I_GEN_H6 - default 0x00060 if ARCH_SUNXI default 0xfffc0000 if ARCH_ZYNQMP default 0x0 help -- 2.37.3