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 EB405C4332F for ; Sun, 20 Nov 2022 13:49:49 +0000 (UTC) Received: from h2850616.stratoserver.net (localhost [IPv6:::1]) by phobos.denx.de (Postfix) with ESMTP id 1ACDE853A0; Sun, 20 Nov 2022 14:36:21 +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="L3GaCPSJ"; dkim-atps=neutral Received: by phobos.denx.de (Postfix, from userid 109) id 0C81B8534C; Sun, 20 Nov 2022 14:35:35 +0100 (CET) Received: from mail-qk1-x735.google.com (mail-qk1-x735.google.com [IPv6:2607:f8b0:4864:20::735]) (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 A696D8529D for ; Sun, 20 Nov 2022 14:34:59 +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-x735.google.com with SMTP id 8so6518235qka.1 for ; Sun, 20 Nov 2022 05:34:59 -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=rkyjDrA8oes8vkDHIJMwXcqh4qJTxc6Jp3tLzOAjKoc=; b=L3GaCPSJUF3HGaLnB+IecDz3fyHZYplNadVPOyF3034fT8SsecgtCLiKW77FZlazYz lBQWEbyJoWl4PddFWUEFuMuQURHtSGaIoAXh76rrWeJIZQQLc9by9ytgoJ4cNa1C8uqX f1r5AeXgAhCaqasioTE2QUfwuEY9z3gJcwmCY= 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=rkyjDrA8oes8vkDHIJMwXcqh4qJTxc6Jp3tLzOAjKoc=; b=6grmQi6wq6nd+cJSfPb3OUcwcN+fP+C1JAXvWKfcSIWc5+usHTKr3CHFOpOFX9V2FT zvdt1APUGZaJa0qaINQhtR58TCpWEduxvnhupBjGyWWgOzS7/UCwzJwEK25Oo9Ko/OKp 0y5p78KpDBPDT9O4JA3BUgp6W6Om0le3OkpKlx14s14udQKyYbooRAAterhs/ae6BK4E qvR8Ul1MEYeO3ci6KuRWv1eko+sIJjByx+c/HanywjF4Z0Ury33Wvxgutpiy5uo40XSl 8S7IF0R1D0E8tqdQbBWOLvSd86YeiEWD8/7p8PVAB3DZjI52icup4sKx9sUgGHXnmSLW VSuQ== X-Gm-Message-State: ANoB5pmEGohR9hQyhxDcuSuWd+qtumV9dSdIkII02WvqpyCCAuy1UgZF 9z9oR0T8m/U0snUD+ugF2He8c/8/V8ucLA== X-Google-Smtp-Source: AA0mqf78Ptv4sEzolim6VV2/pfD02rziKYK+fQupS5VfZw6XYV3Qsup0D6YLANRgx089OOQlmIbYFA== X-Received: by 2002:a05:620a:1527:b0:6ec:ff06:8307 with SMTP id n7-20020a05620a152700b006ecff068307mr12513138qkk.683.1668951298357; Sun, 20 Nov 2022 05:34:58 -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.57 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 20 Nov 2022 05:34:57 -0800 (PST) From: Tom Rini To: u-boot@lists.denx.de Subject: [PoC 092/241] global: Migrate CONFIG_LOWPOWER_FLAG to CFG Date: Sun, 20 Nov 2022 08:31:23 -0500 Message-Id: <20221120133352.3055600-93-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 | 4 ++-- include/configs/exynos5420-common.h | 2 +- scripts/config_whitelist.txt | 2 +- 3 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 02a79962af24..243b5c80c90e 100644 --- a/arch/arm/mach-exynos/lowlevel_init.c +++ b/arch/arm/mach-exynos/lowlevel_init.c @@ -73,7 +73,7 @@ static void low_power_start(void) reg_val = readl(EXYNOS5420_SPARE_BASE); if (reg_val != CPU_RST_FLAG_VAL) { - writel(0x0, CONFIG_LOWPOWER_FLAG); + writel(0x0, CFG_LOWPOWER_FLAG); branch_bx(0x0); } @@ -160,7 +160,7 @@ static void secondary_cores_configure(void) writel(0x0, (EXYNOS_RELOCATE_CODE_BASE + 0x1C)); /* set lowpower flag and address */ - writel(CPU_RST_FLAG_VAL, CONFIG_LOWPOWER_FLAG); + writel(CPU_RST_FLAG_VAL, CFG_LOWPOWER_FLAG); writel((uint32_t)&low_power_start, CFG_LOWPOWER_ADDR); writel(CPU_RST_FLAG_VAL, EXYNOS5420_SPARE_BASE); /* Store jump address for power down */ diff --git a/include/configs/exynos5420-common.h b/include/configs/exynos5420-common.h index d7db17b2dc92..b617c062881b 100644 --- a/include/configs/exynos5420-common.h +++ b/include/configs/exynos5420-common.h @@ -17,7 +17,7 @@ /* * Low Power settings */ -#define CONFIG_LOWPOWER_FLAG 0x02020028 +#define CFG_LOWPOWER_FLAG 0x02020028 #define CFG_LOWPOWER_ADDR 0x0202002C #endif /* __CONFIG_EXYNOS5420_H */ diff --git a/scripts/config_whitelist.txt b/scripts/config_whitelist.txt index f2d7a0202c22..99942bf36472 100644 --- a/scripts/config_whitelist.txt +++ b/scripts/config_whitelist.txt @@ -100,7 +100,7 @@ CFG_L1_INIT_RAM CFG_L2_CACHE CFG_LEGACY_BOOTCMD_ENV CFG_LOWPOWER_ADDR -CONFIG_LOWPOWER_FLAG +CFG_LOWPOWER_FLAG CONFIG_LPC32XX_NAND_MLC_BUSY_DELAY CONFIG_LPC32XX_NAND_MLC_NAND_TA CONFIG_LPC32XX_NAND_MLC_RD_HIGH -- 2.25.1