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 F0ABAC433EF for ; Fri, 11 Mar 2022 12:13:33 +0000 (UTC) Received: from h2850616.stratoserver.net (localhost [IPv6:::1]) by phobos.denx.de (Postfix) with ESMTP id CCC5183AF9; Fri, 11 Mar 2022 13:13:18 +0100 (CET) Authentication-Results: phobos.denx.de; dmarc=fail (p=none dis=none) header.from=konsulko.com Authentication-Results: phobos.denx.de; spf=pass smtp.mailfrom=u-boot-bounces@lists.denx.de Received: by phobos.denx.de (Postfix, from userid 109) id 1F57483AEF; Fri, 11 Mar 2022 13:13:03 +0100 (CET) Received: from mail-qt1-f176.google.com (mail-qt1-f176.google.com [209.85.160.176]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits)) (No client certificate requested) by phobos.denx.de (Postfix) with ESMTPS id CD32983AF0 for ; Fri, 11 Mar 2022 13:12:54 +0100 (CET) Authentication-Results: phobos.denx.de; dmarc=fail (p=none dis=none) header.from=konsulko.com Authentication-Results: phobos.denx.de; spf=pass smtp.mailfrom=tom.rini@gmail.com Received: by mail-qt1-f176.google.com with SMTP id 11so7071818qtt.9 for ; Fri, 11 Mar 2022 04:12:54 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=xneQJdFLTS++eNuFWm09vC/kK9RiVBtRLPwIIve++Ko=; b=YAoS7nekw6MEcH/wViiZ8MY39YtYWWMgaQL6GETsCOukZeZ44m+o2C8/ZgyZC3DpXa Rr8Ihf4dSy2i1HTf/W8+zR7NqHo5W7DjqgW836GGafqJps1hwZ7MevFzyvohgrLRvZcw gYm1a7t/Vq7jSaxRtr+X+Onve9QFTpxhE0iIlOyJpivsJVUL/7UOBwp4mQrim0uqArs4 bEM3vsMOVj2y8le4nJtMrnjFcYdjLzVxYaT6U4HEbn0s9nWmSnZUnMIkM8DZuy0s4CX/ TubGb8QqvDvt5WN+lrYESWYJCiZVDjuSPzPYhEr4h5zo5+iTsfYEFRRCtVQ3g47BsE2M TdHQ== X-Gm-Message-State: AOAM532FdEO62X0SlCkUIGJlK8uZ5Y5z5j1wmtgpvOWCQtaxr56cOLW9 oI9/QJB27ICcs7kaoyf6jUv5/ggL7w== X-Google-Smtp-Source: ABdhPJw9qkSEWU4OgkJjrMv/NHFGw4ILD8nJ7bdknt6RqyMQg7q2d8FoxKS9jo5COJ2Hy2PG6awAyw== X-Received: by 2002:ac8:5803:0:b0:2e1:c406:7f18 with SMTP id g3-20020ac85803000000b002e1c4067f18mr678898qtg.469.1647000773565; Fri, 11 Mar 2022 04:12:53 -0800 (PST) Received: from bill-the-cat.lan (2603-6081-7b01-cbda-2ef0-5dff-fedb-a8ba.res6.spectrum.com. [2603:6081:7b01:cbda:2ef0:5dff:fedb:a8ba]) by smtp.gmail.com with ESMTPSA id 145-20020a370897000000b0067b30c65415sm3809539qki.75.2022.03.11.04.12.53 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 11 Mar 2022 04:12:53 -0800 (PST) From: Tom Rini To: u-boot@lists.denx.de Cc: Icenowy Zheng , Andre Przywara Subject: [PATCH 2/4] sunxi: Do not define CONFIG_SPL_STACK_ADDR_R Date: Fri, 11 Mar 2022 07:12:46 -0500 Message-Id: <20220311121248.2801589-2-trini@konsulko.com> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20220311121248.2801589-1-trini@konsulko.com> References: <20220311121248.2801589-1-trini@konsulko.com> 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.5 at phobos.denx.de X-Virus-Status: Clean We cannot define a CONFIG value here to ensure that the Kconfig value isn't set wrong. Fixes: 2c699fe0d34d ("configs: sunxi: Add common SUNIV header") Cc: Icenowy Zheng Cc: Andre Przywara Signed-off-by: Tom Rini --- include/configs/sunxi-common.h | 11 ----------- 1 file changed, 11 deletions(-) diff --git a/include/configs/sunxi-common.h b/include/configs/sunxi-common.h index 4bab917c0b7c..c467e9bd15bc 100644 --- a/include/configs/sunxi-common.h +++ b/include/configs/sunxi-common.h @@ -50,26 +50,15 @@ #ifdef CONFIG_MACH_SUN9I #define SDRAM_OFFSET(x) 0x2##x #define CONFIG_SYS_SDRAM_BASE 0x20000000 -/* Note SPL_STACK_R_ADDR is set through Kconfig, we include it here - * since it needs to fit in with the other values. By also #defining it - * we get warnings if the Kconfig value mismatches. */ #define CONFIG_SPL_BSS_START_ADDR 0x2ff80000 #elif defined(CONFIG_MACH_SUNIV) #define SDRAM_OFFSET(x) 0x8##x #define CONFIG_SYS_SDRAM_BASE 0x80000000 -/* Note SPL_STACK_R_ADDR is set through Kconfig, we include it here - * since it needs to fit in with the other values. By also #defining it - * we get warnings if the Kconfig value mismatches. - */ -#define CONFIG_SPL_STACK_R_ADDR 0x81e00000 #define CONFIG_SPL_BSS_START_ADDR 0x81f80000 #else #define SDRAM_OFFSET(x) 0x4##x #define CONFIG_SYS_SDRAM_BASE 0x40000000 /* V3s do not have enough memory to place code at 0x4a000000 */ -/* Note SPL_STACK_R_ADDR is set through Kconfig, we include it here - * since it needs to fit in with the other values. By also #defining it - * we get warnings if the Kconfig value mismatches. */ #define CONFIG_SPL_BSS_START_ADDR 0x4ff80000 #endif -- 2.25.1