Message ID | 20221101050835.2421-17-samuel@sholland.org |
---|---|
State | Deferred |
Delegated to: | Tom Rini |
Headers | show
Return-Path: <u-boot-bounces@lists.denx.de> X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@legolas.ozlabs.org Authentication-Results: legolas.ozlabs.org; spf=pass (sender SPF authorized) smtp.mailfrom=lists.denx.de (client-ip=2a01:238:438b:c500:173d:9f52:ddab:ee01; helo=phobos.denx.de; envelope-from=u-boot-bounces@lists.denx.de; receiver=<UNKNOWN>) Authentication-Results: legolas.ozlabs.org; dkim=fail reason="signature verification failed" (2048-bit key; unprotected) header.d=sholland.org header.i=@sholland.org header.a=rsa-sha256 header.s=fm1 header.b=N59mp5ic; dkim=fail reason="signature verification failed" (2048-bit key; unprotected) header.d=messagingengine.com header.i=@messagingengine.com header.a=rsa-sha256 header.s=fm3 header.b=tW83FsQA; dkim-atps=neutral Received: from phobos.denx.de (phobos.denx.de [IPv6:2a01:238:438b:c500:173d:9f52:ddab:ee01]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (P-384)) (No client certificate requested) by legolas.ozlabs.org (Postfix) with ESMTPS id 4N1dRP0gfbz23l6 for <incoming@patchwork.ozlabs.org>; Tue, 1 Nov 2022 16:11:45 +1100 (AEDT) Received: from h2850616.stratoserver.net (localhost [IPv6:::1]) by phobos.denx.de (Postfix) with ESMTP id 2F1218504F; Tue, 1 Nov 2022 06:09:18 +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="N59mp5ic"; dkim=fail reason="signature verification failed" (2048-bit key; unprotected) header.d=messagingengine.com header.i=@messagingengine.com header.b="tW83FsQA"; dkim-atps=neutral Received: by phobos.denx.de (Postfix, from userid 109) id BCA8A850A4; Tue, 1 Nov 2022 06:09:13 +0100 (CET) X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on phobos.denx.de X-Spam-Level: X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,SPF_HELO_PASS,SPF_PASS autolearn=ham autolearn_force=no version=3.4.2 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 59A4C85035 for <u-boot@lists.denx.de>; Tue, 1 Nov 2022 06:09:05 +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 9BA033200927; Tue, 1 Nov 2022 01:09:03 -0400 (EDT) Received: from mailfrontend1 ([10.202.2.162]) by compute2.internal (MEProxy); Tue, 01 Nov 2022 01:09:03 -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=1667279343; x=1667365743; bh=vX s0lm8pj7jhAye4VaxjV+S/xg1wGAI2LTp9FR8fReU=; b=N59mp5icEABOdcl9aI 63o69QY8RGYcQCCmeftVnkCp9/aKC8rN990RqqXqrOh9dB80t3yoVvMNrtz5usXJ mC4B87Tx97mLbR4SitHVuAxQM4sgoH2M8PTAxu3kwF+nGyKCimPnf0Y6Hh5Wyoru N36ZvCrT0/gdQm/g0SCzNsv4kdXgfS+pEUKYdF+MGxohiXHbE1PkjUM3tVVveDtj cwps8GhYdHOpU50rbk+uCFjZ3/4/cw5kDatfewaWZUFbK6PaLKgePxgAE3zDRDJg kiuXQ3ZmVPZiVIy8D0cZxTJXl5qvRpGD3ynV/rcsR6IJu3RFNeA7XA5NOxTRQu5Y Iadg== 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=1667279343; x=1667365743; bh=vXs0lm8pj7jhA ye4VaxjV+S/xg1wGAI2LTp9FR8fReU=; b=tW83FsQA4DgzEe0kzLHiKDdBaPZuU B273SFGRwEruhDc33+PLbydC2KuPo6D3Lb+jAYDNPPm7OMFxnyGKqx4mminx/k+v 12TviH0FWmITe+M2jAqA7TBsy+QD9ZSXDzueBBLHMFU0SO7pd3KdJEukZotH9Dd8 7r8CfqQ1hWzxMfvS5xIB5mqJcoIs5DfvVt9qf192O0kIdnsuJjRbI/yiBB6ykkTR g5jCL3LMuIS1VBwRTtu92KIvQV+tmTGmmAzUy4KTCY+w7FrbFDyUhgaq9FExrFVm IHidjTzQmAlcrI77kIH1M8Bp/aqRxlnlaCZRJtXiPGyn/qXC8QvJH7lHg== X-ME-Sender: <xms:76lgYyunkyYpVU5WlVu9TvfkPjffdB8HDoDBvX4wC-BEUnFL3F2AzQ> <xme:76lgY3frqMLayACUESLKub34CsBYmnE34MrkZp1RIdgyP7plSGuZ-K9r6jPGyowqh 48i0fAJGzj2QK0rVQ> X-ME-Received: <xmr:76lgY9yDjeDtnfwrh3ge8DdapifzGZcI7aWJfhCOyLKceBJdU6ZyS19suHnAvIVqLzwwNIGQUgc4W_SiQfJSoaBH10XvtR_KRsv95hp2ig_THaLhQbX7AKELKA3NPlWlLqKJBA> X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgedvgedrudeggdekvdcutefuodetggdotefrodftvf curfhrohhfihhlvgemucfhrghsthforghilhdpqfgfvfdpuffrtefokffrpgfnqfghnecu uegrihhlohhuthemuceftddtnecusecvtfgvtghiphhivghnthhsucdlqddutddtmdenuc fjughrpefhvfevufffkffojghfggfgsedtkeertdertddtnecuhfhrohhmpefurghmuhgv lhcujfholhhlrghnugcuoehsrghmuhgvlhesshhhohhllhgrnhgurdhorhhgqeenucggtf frrghtthgvrhhnpedukeetueduhedtleetvefguddvvdejhfefudelgfduveeggeehgfdu feeitdevteenucevlhhushhtvghrufhiiigvpedvnecurfgrrhgrmhepmhgrihhlfhhroh hmpehsrghmuhgvlhesshhhohhllhgrnhgurdhorhhg X-ME-Proxy: <xmx:76lgY9M4bFzBRdjJNlWQRBu8Ohrbb-DPvWRFdpVdyWQK3QiNzjCzdA> <xmx:76lgYy-I6S1zykFcqs3IN66kXQl6HvLc-_ylDase0iYSD0PnplxwUg> <xmx:76lgY1XSAysNbvgcClGJ7qbUqHtw2PtOBefz99nipfCA32W3bPhrOg> <xmx:76lgY0LMRZOyNSEiy7caW7ZdUbKbmdCGKZZXFKfDI6tgRNbsBA0_xg> Feedback-ID: i0ad843c9:Fastmail Received: by mail.messagingengine.com (Postfix) with ESMTPA; Tue, 1 Nov 2022 01:09:02 -0400 (EDT) From: Samuel Holland <samuel@sholland.org> To: Andre Przywara <andre.przywara@arm.com>, Jagan Teki <jagan@amarulasolutions.com> Cc: u-boot@lists.denx.de, Samuel Holland <samuel@sholland.org> Subject: [PATCH 16/22] sunxi: Move SYS_LOAD_ADDR to the board Kconfig Date: Tue, 1 Nov 2022 00:08:28 -0500 Message-Id: <20221101050835.2421-17-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 <u-boot.lists.denx.de> List-Unsubscribe: <https://lists.denx.de/options/u-boot>, <mailto:u-boot-request@lists.denx.de?subject=unsubscribe> List-Archive: <https://lists.denx.de/pipermail/u-boot/> List-Post: <mailto:u-boot@lists.denx.de> List-Help: <mailto:u-boot-request@lists.denx.de?subject=help> List-Subscribe: <https://lists.denx.de/listinfo/u-boot>, <mailto:u-boot-request@lists.denx.de?subject=subscribe> Errors-To: u-boot-bounces@lists.denx.de Sender: "U-Boot" <u-boot-bounces@lists.denx.de> X-Virus-Scanned: clamav-milter 0.103.6 at phobos.denx.de X-Virus-Status: Clean |
Series |
sunxi: Prepare platform Kconfig to support multiple architectures
|
expand
|
diff --git a/Kconfig b/Kconfig index ef94f88adc..70e159221c 100644 --- a/Kconfig +++ b/Kconfig @@ -508,9 +508,6 @@ config SYS_LOAD_ADDR hex "Address in memory to use by default" default 0x01000000 if ARCH_SOCFPGA default 0x02000000 if PPC || X86 - default 0x81000000 if MACH_SUNIV - default 0x22000000 if MACH_SUN9I - default 0x42000000 if ARCH_SUNXI default 0x82000000 if ARCH_KEYSTONE || ARCH_OMAP2PLUS || ARCH_K3 default 0x82000000 if ARCH_MX6 && (MX6SL || MX6SLL || MX6SX || MX6UL || MX6ULL) default 0x12000000 if ARCH_MX6 && !(MX6SL || MX6SLL || MX6SX || MX6UL || MX6ULL) diff --git a/board/sunxi/Kconfig b/board/sunxi/Kconfig index b561dd467f..d463474535 100644 --- a/board/sunxi/Kconfig +++ b/board/sunxi/Kconfig @@ -129,6 +129,11 @@ config SYS_CONFIG_NAME default "sun50i" if MACH_SUN50I_H6 default "sun50i" if MACH_SUN50I_H616 +config SYS_LOAD_ADDR + default 0x81000000 if MACH_SUNIV + default 0x22000000 if MACH_SUN9I + default 0x42000000 + config SYS_SOC default "sunxi"
This will provide a default value for RISC-V when that is added, and it makes sense to put this option next to the other DRAM layout options. Signed-off-by: Samuel Holland <samuel@sholland.org> --- Kconfig | 3 --- board/sunxi/Kconfig | 5 +++++ 2 files changed, 5 insertions(+), 3 deletions(-)