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 02B4AC4332F for ; Sun, 20 Nov 2022 14:19:27 +0000 (UTC) Received: from h2850616.stratoserver.net (localhost [IPv6:::1]) by phobos.denx.de (Postfix) with ESMTP id 62FE485466; Sun, 20 Nov 2022 15:10:34 +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="YxUhMWFH"; dkim-atps=neutral Received: by phobos.denx.de (Postfix, from userid 109) id 9CA1A85334; Sun, 20 Nov 2022 15:09:39 +0100 (CET) Received: from mail-qt1-x832.google.com (mail-qt1-x832.google.com [IPv6:2607:f8b0:4864:20::832]) (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 3AFED8530D for ; Sun, 20 Nov 2022 15:09:37 +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-qt1-x832.google.com with SMTP id h21so5939247qtu.2 for ; Sun, 20 Nov 2022 06:09:37 -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=PyzWbb8hkea2Tbk2YzIJdB7FDy+5xp/jN98tJie61gQ=; b=YxUhMWFH6yKdQyvETaSBgM+V40IX00vZxc10rFbiLW7Q86qzs2xqL3Ukx1o7H8wrFA W4dMGNG+hplke/bn93hrbdMDw/PY9gW/vYDFupgdgsV9AVVh+DFB/hBy7nD5nQ1Ks9Km mvJNP7IqKtqxFYHO8eEz3FtFwrPAhDWn75YTE= 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=PyzWbb8hkea2Tbk2YzIJdB7FDy+5xp/jN98tJie61gQ=; b=VcQQOtWV+vyUC6UwDKhPUkdyJCwgD2i82hVyj+DYQ/v/VxD/kf/g6dGrd6VVTNvR3C M9X8aUMsLZkiNyQ5q1a10emtJOu0kYyCgGQUmVLOiyiDtb/1xJUAiB+bVIJ42eZaXpYH LRJNVLw6jc6HRJ45E0pGWH0gCoA5PiQdSMyfAT47E++Vle9U5GxySTqaodtxsMC8jn/I uaLHuBh8kIebkjx7qCL1ddgGm5Xb7Zd1S+IGFzuFFrv/14CaESFZpj7jRGu67bH32rbq TO0rgEpTYJb7T5ykUUUKu8oaE6aj9DCx86Z5E7HPWfeNI5UZ41O27QQ9AxhosP7DU0kM HG1A== X-Gm-Message-State: ANoB5pl+d4d8ecAVfbgzHe+6T3GZCVuTUu9eaHpPltVXp/5zN5r1R0Nt 0BUvbh64X88uercBurla5A5P2Bg3F/VulA== X-Google-Smtp-Source: AA0mqf6lZNSfcVs4aD+4vwOb/0UoLy1ebUq8QSs01xq86BC93muKarTsE48gfnCNT+Phlm9NM8PZXg== X-Received: by 2002:ac8:7183:0:b0:3a5:1dcb:d22d with SMTP id w3-20020ac87183000000b003a51dcbd22dmr13849489qto.489.1668953333921; Sun, 20 Nov 2022 06:08:53 -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 bk23-20020a05620a1a1700b006ce580c2663sm6387502qkb.35.2022.11.20.06.08.53 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 20 Nov 2022 06:08:53 -0800 (PST) From: Tom Rini To: u-boot@lists.denx.de Subject: [PoC 148/241] global: Migrate CONFIG_PHY_IRAM_BASE to CFG Date: Sun, 20 Nov 2022 09:07:38 -0500 Message-Id: <20221120140829.3057894-39-trini@konsulko.com> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20221120140829.3057894-1-trini@konsulko.com> References: <20221120135520.3057773-4-trini@konsulko.com> <20221120140829.3057894-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 | 6 +++--- include/configs/exynos5420-common.h | 2 +- scripts/config_whitelist.txt | 2 +- 3 files changed, 5 insertions(+), 5 deletions(-) diff --git a/arch/arm/mach-exynos/lowlevel_init.c b/arch/arm/mach-exynos/lowlevel_init.c index 243b5c80c90e..c57b8aee7989 100644 --- a/arch/arm/mach-exynos/lowlevel_init.c +++ b/arch/arm/mach-exynos/lowlevel_init.c @@ -77,10 +77,10 @@ static void low_power_start(void) branch_bx(0x0); } - reg_val = readl(CONFIG_PHY_IRAM_BASE + 0x4); + reg_val = readl(CFG_PHY_IRAM_BASE + 0x4); if (reg_val != (uint32_t)&low_power_start) { /* Store jump address as low_power_start if not present */ - writel((uint32_t)&low_power_start, CONFIG_PHY_IRAM_BASE + 0x4); + writel((uint32_t)&low_power_start, CFG_PHY_IRAM_BASE + 0x4); dsb(); sev(); } @@ -164,7 +164,7 @@ static void secondary_cores_configure(void) writel((uint32_t)&low_power_start, CFG_LOWPOWER_ADDR); writel(CPU_RST_FLAG_VAL, EXYNOS5420_SPARE_BASE); /* Store jump address for power down */ - writel((uint32_t)&power_down_core, CONFIG_PHY_IRAM_BASE + 0x4); + writel((uint32_t)&power_down_core, CFG_PHY_IRAM_BASE + 0x4); /* Need all core power down check */ dsb(); diff --git a/include/configs/exynos5420-common.h b/include/configs/exynos5420-common.h index b617c062881b..791ad154242e 100644 --- a/include/configs/exynos5420-common.h +++ b/include/configs/exynos5420-common.h @@ -12,7 +12,7 @@ #define CFG_IRAM_TOP 0x02074000 -#define CONFIG_PHY_IRAM_BASE 0x02020000 +#define CFG_PHY_IRAM_BASE 0x02020000 /* * Low Power settings diff --git a/scripts/config_whitelist.txt b/scripts/config_whitelist.txt index 9438ee6afdd7..3e9d0d66f56d 100644 --- a/scripts/config_whitelist.txt +++ b/scripts/config_whitelist.txt @@ -157,7 +157,7 @@ CFG_PHY_BASE_ADR CFG_PHY_ET1011C_TX_CLK_FIX CFG_PHY_ID CFG_PHY_INTERFACE_MODE -CONFIG_PHY_IRAM_BASE +CFG_PHY_IRAM_BASE CONFIG_PL011_CLOCK CONFIG_PL01x_PORTS CONFIG_PME_PLAT_CLK_DIV -- 2.25.1