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 5995DC4321E for ; Sun, 4 Dec 2022 15:25:19 +0000 (UTC) Received: from h2850616.stratoserver.net (localhost [IPv6:::1]) by phobos.denx.de (Postfix) with ESMTP id 1AC2F855FC; Sun, 4 Dec 2022 16:14:51 +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="TEJ9kEcu"; dkim-atps=neutral Received: by phobos.denx.de (Postfix, from userid 109) id AD62385300; Sun, 4 Dec 2022 16:14:34 +0100 (CET) Received: from mail-ej1-x630.google.com (mail-ej1-x630.google.com [IPv6:2a00:1450:4864:20::630]) (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 EF41D855EB for ; Sun, 4 Dec 2022 16:14:31 +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-ej1-x630.google.com with SMTP id n20so22376684ejh.0 for ; Sun, 04 Dec 2022 07:14:31 -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=YxdGOjYkur1FIkhrE/92ftwyu/b1Vy038DXqQKGG5fo=; b=TEJ9kEcuBgkbGcC+HsZYL3B80rux7bBZx/oKUvVMV+TknSLgbrqz8s13YZv/1ZSLYQ dgB4kUkz4Vebf035G2c059PNpLNCIRRMFrwLSA/GSxMRJeOc2PszxsQ6ckF2SSmdVrHK CFxJLAol2S1DsFEzFJ3rEsDt8BLoX7R3/bn8w= 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=YxdGOjYkur1FIkhrE/92ftwyu/b1Vy038DXqQKGG5fo=; b=MJ2uIijV8Ae/wHJDOkl+af5fNLfSLExWd6YuB1+WTdwPVosQALHu5D37HOcWUzdT9p 8TQT/1osbcjxk9TmPtMgezN7ph3fqcq0FFxvFff4bnlm7BgWvifIIScmb7zImizYsC3B 4h6uzcN6RXkLCFYXUwMA30OHI5Wz4XvEXuUWeRXp3EKzocUsNRfpvWMPzMVOQy4601eJ 2J7joW94ymHZqNz3ABQlnlqd3LfkuRneuM2TAa+0m4fr2iZmQtiUzuwl7/xN6GKrPbWk 5V+EgJvtRmE5TbsEAHJO/VENde2QkfV9korX0tbtPpD6gttc0A9CYNm0LRmiJ2o5Sx5M vhYA== X-Gm-Message-State: ANoB5pny7uiGTCDq187eZGWMaWDUShwfgKyHprahNP7eK8lTc1sJfX37 5N6ZE9lNvRcqz0i36EL1S9nbX1PfQf0liQU3 X-Google-Smtp-Source: AA0mqf4pVkycinBC2JXeofvoYje/2USUbbG2o+5zxqAJ+MaIqizpkAGqH9qp96zxArMwVVAXuSMpJA== X-Received: by 2002:a17:907:9854:b0:7bc:30e0:6bea with SMTP id jj20-20020a170907985400b007bc30e06beamr38023027ejc.49.1670166871472; Sun, 04 Dec 2022 07:14:31 -0800 (PST) Received: from bill-the-cat.lan (2603-6081-7b00-6400-61c7-2644-b62d-0af3.res6.spectrum.com. [2603:6081:7b00:6400:61c7:2644:b62d:af3]) by smtp.gmail.com with ESMTPSA id b21-20020aa7c915000000b00461816beef9sm5174405edt.14.2022.12.04.07.14.30 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 04 Dec 2022 07:14:31 -0800 (PST) From: Tom Rini To: u-boot@lists.denx.de Subject: [PATCH 098/149] global: Migrate CONFIG_PHY_IRAM_BASE to CFG Date: Sun, 4 Dec 2022 10:13:29 -0500 Message-Id: <20221204151420.56851-8-trini@konsulko.com> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20221204151420.56851-1-trini@konsulko.com> References: <20221202214251.3027264-41-trini@konsulko.com> <20221204151420.56851-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 Perform a simple rename of CONFIG_PHY_IRAM_BASE to CFG_PHY_IRAM_BASE Signed-off-by: Tom Rini --- arch/arm/mach-exynos/lowlevel_init.c | 6 +++--- include/configs/exynos5420-common.h | 2 +- 2 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 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 bd43efa553c7..b75fe1b0a86c 100644 --- a/include/configs/exynos5420-common.h +++ b/include/configs/exynos5420-common.h @@ -10,7 +10,7 @@ #define CFG_IRAM_TOP 0x02074000 -#define CONFIG_PHY_IRAM_BASE 0x02020000 +#define CFG_PHY_IRAM_BASE 0x02020000 /* * Low Power settings -- 2.25.1