From mboxrd@z Thu Jan 1 00:00:00 1970 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 25B6EC433FE for ; Sun, 20 Nov 2022 13:44:52 +0000 (UTC) Received: from h2850616.stratoserver.net (localhost [IPv6:::1]) by phobos.denx.de (Postfix) with ESMTP id 22DA48529D; Sun, 20 Nov 2022 14:35:35 +0100 (CET) Authentication-Results: phobos.denx.de; dmarc=pass (p=none dis=none) header.from=konsulko.com Authentication-Results: phobos.denx.de; spf=pass smtp.mailfrom=u-boot-bounces@lists.denx.de Authentication-Results: phobos.denx.de; dkim=pass (1024-bit key; unprotected) header.d=konsulko.com header.i=@konsulko.com header.b="VEteD+Ev"; dkim-atps=neutral Received: by phobos.denx.de (Postfix, from userid 109) id 7BD84852C7; Sun, 20 Nov 2022 14:34:48 +0100 (CET) Received: from mail-qk1-x731.google.com (mail-qk1-x731.google.com [IPv6:2607:f8b0:4864:20::731]) (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 33B47852AE for ; Sun, 20 Nov 2022 14:34:42 +0100 (CET) Authentication-Results: phobos.denx.de; dmarc=pass (p=none dis=none) header.from=konsulko.com Authentication-Results: phobos.denx.de; spf=pass smtp.mailfrom=trini@konsulko.com Received: by mail-qk1-x731.google.com with SMTP id p18so6507293qkg.2 for ; Sun, 20 Nov 2022 05:34:42 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=konsulko.com; s=google; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:to:from:from:to:cc:subject:date:message-id :reply-to; bh=l/revevxMHM+oQegdLyMo15QV1l44G8WjuOECH5k0qA=; b=VEteD+EvtwjKAnzt5AELtltvOfE9pUXAPgiNQbJtISi7Dkw+KMa9NQcGdiV9GBkqKK Aq45rbZT3XbnICa8aK7TApPPqpxX7FzI3FYYsV2utKn2c8eOv5v8+oCueYUuyQ5f9vBb jYkzwXAPCDWv2LZfYHIuf+ZOW9Tnc1kHt/HeE= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:to:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=l/revevxMHM+oQegdLyMo15QV1l44G8WjuOECH5k0qA=; b=aJbmQP/wFW9iLPFx0n+tzqVK9Sde50XykaprLgxpHZeNNaYten5v5T1n4s7i817eRx YvgkvARUaEMNsko4CmrcYJOltEcXQpFz+IAPmdAfowScQUOmHBxJ+iJSkYx7CCk8ovbJ 7gmXrW+GRwmeR4t7Kx2hVwt2rbvVICOhzaGp7A/0DwxUGCgaOzKmI8Z9jPwKzsmWoO/C pYN2FHLpf6owhHW75n05fo+KWYKy7r9wqFbDTxfcvyvgaXj96FlPBgqSTyBC8RkbiWI2 8qCIQN/L4TPRIlWeeJLuAx92H0FeWuMKnni3Al3Dt2fdW6DzNwLNM8hys6ttw9bUuwYC A2Pg== X-Gm-Message-State: ANoB5pmVzFfZ+f6SCIbcr5f5D5pHBMiDr6pH+eIOsYyakmQRO7qmZ5Bi /o3KBtRdkwUTKpcoJmupXIMKuv56/Tx5Vg== X-Google-Smtp-Source: AA0mqf6z2Z1k6tUQJqUIINbvIM8rKreJp1kbcdo7G7Ekehk41sSw6hb342PdTAFAkxoKvbCjq6s1UA== X-Received: by 2002:a05:620a:530c:b0:6fa:6e0c:ab79 with SMTP id oo12-20020a05620a530c00b006fa6e0cab79mr13147922qkn.74.1668951281658; Sun, 20 Nov 2022 05:34:41 -0800 (PST) Received: from bill-the-cat.lan (2603-6081-7b00-6400-29a0-035f-b06a-235e.res6.spectrum.com. [2603:6081:7b00:6400:29a0:35f:b06a:235e]) by smtp.gmail.com with ESMTPSA id m21-20020a05620a24d500b006ce0733caebsm6487740qkn.14.2022.11.20.05.34.41 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 20 Nov 2022 05:34:41 -0800 (PST) From: Tom Rini To: u-boot@lists.denx.de Subject: [PoC 067/241] global: Migrate CONFIG_IRAM_TOP to CFG Date: Sun, 20 Nov 2022 08:30:58 -0500 Message-Id: <20221120133352.3055600-68-trini@konsulko.com> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20221120133352.3055600-1-trini@konsulko.com> References: <20221119234545.404563-38-trini@konsulko.com> <20221120133352.3055600-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.6 at phobos.denx.de X-Virus-Status: Clean Signed-off-by: Tom Rini --- arch/arm/mach-exynos/lowlevel_init.c | 2 +- arch/arm/mach-exynos/sec_boot.S | 2 +- include/configs/exynos5420-common.h | 2 +- scripts/config_whitelist.txt | 2 +- 4 files changed, 4 insertions(+), 4 deletions(-) diff --git a/arch/arm/mach-exynos/lowlevel_init.c b/arch/arm/mach-exynos/lowlevel_init.c index 1ff5fcac1b38..9225d2cc1f2a 100644 --- a/arch/arm/mach-exynos/lowlevel_init.c +++ b/arch/arm/mach-exynos/lowlevel_init.c @@ -51,7 +51,7 @@ enum { #ifdef CONFIG_EXYNOS5420 /* Address for relocating helper code (Last 4 KB of IRAM) */ -#define EXYNOS_RELOCATE_CODE_BASE (CONFIG_IRAM_TOP - 0x1000) +#define EXYNOS_RELOCATE_CODE_BASE (CFG_IRAM_TOP - 0x1000) /* * Power up secondary CPUs. diff --git a/arch/arm/mach-exynos/sec_boot.S b/arch/arm/mach-exynos/sec_boot.S index 40c07209e475..1303544d83b6 100644 --- a/arch/arm/mach-exynos/sec_boot.S +++ b/arch/arm/mach-exynos/sec_boot.S @@ -21,7 +21,7 @@ relocate_wait_code: .ltorg /* * Secondary core waits here until Primary wake it up. - * Below code is copied to (CONFIG_IRAM_TOP - 0x1000) + * Below code is copied to (CFG_IRAM_TOP - 0x1000) * This is a workaround code which is supposed to act as a * substitute/supplement to the iROM code. * diff --git a/include/configs/exynos5420-common.h b/include/configs/exynos5420-common.h index 7a9307ccc3db..d5f480de0ef7 100644 --- a/include/configs/exynos5420-common.h +++ b/include/configs/exynos5420-common.h @@ -10,7 +10,7 @@ #define CONFIG_VAR_SIZE_SPL -#define CONFIG_IRAM_TOP 0x02074000 +#define CFG_IRAM_TOP 0x02074000 #define CONFIG_PHY_IRAM_BASE 0x02020000 diff --git a/scripts/config_whitelist.txt b/scripts/config_whitelist.txt index 249ec5090b8a..d2683e317bd6 100644 --- a/scripts/config_whitelist.txt +++ b/scripts/config_whitelist.txt @@ -69,7 +69,7 @@ CFG_IPADDR CFG_IRAM_BASE CFG_IRAM_END CFG_IRAM_SIZE -CONFIG_IRAM_TOP +CFG_IRAM_TOP CONFIG_KM_DEF_ARCH CONFIG_KM_DEF_BOOT_ARGS_CPU CONFIG_KM_DEF_ENV -- 2.25.1