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 E8A7EC4321E for ; Sun, 4 Dec 2022 15:28:16 +0000 (UTC) Received: from h2850616.stratoserver.net (localhost [IPv6:::1]) by phobos.denx.de (Postfix) with ESMTP id D1FC18564B; Sun, 4 Dec 2022 16:15:44 +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="IlbuBzMr"; dkim-atps=neutral Received: by phobos.denx.de (Postfix, from userid 109) id 64DE485609; Sun, 4 Dec 2022 16:14:53 +0100 (CET) Received: from mail-ed1-x534.google.com (mail-ed1-x534.google.com [IPv6:2a00:1450:4864:20::534]) (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 16144855F6 for ; 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=trini@konsulko.com Received: by mail-ed1-x534.google.com with SMTP id e13so12558928edj.7 for ; Sun, 04 Dec 2022 07:14:51 -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=FtVZAhb0ox3CAvT1dW0ZUvj4Lxd4aIFZCKBBrVOe4lE=; b=IlbuBzMrBrekLB9qt1WFZ3uMsDYrG5PdFVbsM6uXGxPX0mtHpqOH24Y6Bqjaygpwh4 aGdAks8Xz1DqdGmA9/zvlGKHZBeD9/6bQaTEI3KFzuYXo2h8VimdOd+0PuyI/8AbFBmc jivLwVQvsbrt3SE8B1tOBHN0jsoeGWX2hIiqs= 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=FtVZAhb0ox3CAvT1dW0ZUvj4Lxd4aIFZCKBBrVOe4lE=; b=AqlkKr32KN3HCh2ALHLJeSrVXExYL8nyfdzyOHO8NM7NK1mEtT/40YghGLgdv6W0dM AxJBsNHpc+uvUnZOfYkh0z2EZqH3ixj5PbEGYVs44dLGjvRpd9rMAOTo9nhbfakTh+2q PAAvOVoxZsMJDcvw+CJr7IcktQZ6HhPd4rbGK6uTFfGNAmEq0QVFQY0oalOKq8DgzKFW Qi58aU0lxsp76exbtvwmkq1quCoUyhPWmVNZA8v+9taCxYES1uTYjX7Sx+WCNsr69dl3 Iyd01VjHk0eHON9Hx6rQgFjkpJhYsU/nkK7pP5d20UEihGxlJ35bEM+qjiGv4rUwV24a IzNQ== X-Gm-Message-State: ANoB5pmcrFOD0zbhUmRF9w1sKwgxcBLOERr0K4IdHQyIfZlzVc+eRsT8 eYQT0wOLq7MWVQl8HTEtZkcKY0pAkfQTS1tg X-Google-Smtp-Source: AA0mqf4gMCj8Wmof9PWy9Wkashe+v/NQN8HRfiPehxtpzYaoNxDoR3EHP+97z/eEgOrGN8DqyhEqOg== X-Received: by 2002:a05:6402:4286:b0:458:7489:34ea with SMTP id g6-20020a056402428600b00458748934eamr789469edc.264.1670166890653; Sun, 04 Dec 2022 07:14:50 -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.49 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 04 Dec 2022 07:14:50 -0800 (PST) From: Tom Rini To: u-boot@lists.denx.de Subject: [PATCH 114/149] global: Migrate CONFIG_SC_TIMER_CLK to CFG Date: Sun, 4 Dec 2022 10:13:45 -0500 Message-Id: <20221204151420.56851-24-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_SC_TIMER_CLK to CFG_SC_TIMER_CLK Signed-off-by: Tom Rini --- arch/arm/mach-imx/syscounter.c | 2 +- include/configs/mx6_common.h | 2 +- include/configs/mx7_common.h | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/arch/arm/mach-imx/syscounter.c b/arch/arm/mach-imx/syscounter.c index df478a232637..129efac6fa69 100644 --- a/arch/arm/mach-imx/syscounter.c +++ b/arch/arm/mach-imx/syscounter.c @@ -65,7 +65,7 @@ int timer_init(void) struct sctr_regs *sctr = (struct sctr_regs *)SCTR_BASE_ADDR; unsigned long val, freq; - freq = CONFIG_SC_TIMER_CLK; + freq = CFG_SC_TIMER_CLK; asm volatile("mcr p15, 0, %0, c14, c0, 0" : : "r" (freq)); writel(freq, &sctr->cntfid0); diff --git a/include/configs/mx6_common.h b/include/configs/mx6_common.h index dd8cabc2e935..0b8233de8c42 100644 --- a/include/configs/mx6_common.h +++ b/include/configs/mx6_common.h @@ -9,7 +9,7 @@ #include #if (defined(CONFIG_MX6UL) || defined(CONFIG_MX6ULL)) -#define CONFIG_SC_TIMER_CLK 8000000 /* 8Mhz */ +#define CFG_SC_TIMER_CLK 8000000 /* 8Mhz */ #else #ifndef CONFIG_SYS_L2CACHE_OFF #define CFG_SYS_PL310_BASE L2_PL310_BASE diff --git a/include/configs/mx7_common.h b/include/configs/mx7_common.h index 6e14b4fbf053..a542839ce1da 100644 --- a/include/configs/mx7_common.h +++ b/include/configs/mx7_common.h @@ -14,7 +14,7 @@ #include /* Timer settings */ -#define CONFIG_SC_TIMER_CLK 8000000 /* 8Mhz */ +#define CFG_SC_TIMER_CLK 8000000 /* 8Mhz */ /* Miscellaneous configurable options */ -- 2.25.1