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 D7D1FC4321E for ; Sun, 4 Dec 2022 15:12:40 +0000 (UTC) Received: from h2850616.stratoserver.net (localhost [IPv6:::1]) by phobos.denx.de (Postfix) with ESMTP id 0826A854E1; Sun, 4 Dec 2022 16:07:40 +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="PT2pmOr8"; dkim-atps=neutral Received: by phobos.denx.de (Postfix, from userid 109) id 0019985480; Sun, 4 Dec 2022 16:06:41 +0100 (CET) Received: from mail-ej1-x635.google.com (mail-ej1-x635.google.com [IPv6:2a00:1450:4864:20::635]) (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 69E4C85468 for ; Sun, 4 Dec 2022 16:06: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-ej1-x635.google.com with SMTP id vv4so22243076ejc.2 for ; Sun, 04 Dec 2022 07:06: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=v1q1jCO2q0ZErMVl1SMkYQQcAVx9h2xVM1wxAkE5FtM=; b=PT2pmOr8SiQX/yVjz+LDI/Fxv+y3rLGBJ8Hk/vjVleDcHMDvadTLFCt+61etfeaWE5 z43QcnAdh3ZF8uNXDJdl6oeonpuAS2w1GkuPDOZ7TIwYxZjfTLvx90YssBGgxE+SDy7l F2bG8AdVbLabUhPtlb1QGzgyl4GeLZ06opYT0= 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=v1q1jCO2q0ZErMVl1SMkYQQcAVx9h2xVM1wxAkE5FtM=; b=YBrxWxJGbXANw8Udgo206eZtyfDo1F21X+ENia1EYX1BuLMaRnMEZ0MH6IAqDOi0EB 7MbdBp1a6jkuiL67CwirA0Y2QMUHbL9XyUSFfipjbqjSvxppgag13rf+WSSY9wE3Rm3C DZe9WcOa4WPqKYgu8Ij6zNFaoMYbzXlHrLK5M0JtzIFkNZQ2cgTVO+qkhPBs9nqfdMGq +c4roXI4KgTbiPp5/2jhK2xz7tfqOS686ZK/pUPu8+9vczCbPH9P8GCwmhJ/+l1SvEO4 ySVxQuqRB9lzPerjVsC+YgifArFg5CsJ5Htk7NuUwMkJhNCH2LJqWiEyxjQ7wF7Y3mcU yN0w== X-Gm-Message-State: ANoB5plgkEs1iB0+OKzULjsByq+UuWahmCkEsuDpiE7EHfseQA4G39zM h08s+uxSa/MEcQZ9c6COvgsLrqN/F2Gsp3u+ X-Google-Smtp-Source: AA0mqf7nnkDtinIXLfFIfanAUvyoei4n4UedmFXvzAeYI7Lk4tYX6kkTAJqlytNNGfxs9PMm2/aEXw== X-Received: by 2002:a17:906:94c1:b0:7c0:68c8:19db with SMTP id d1-20020a17090694c100b007c068c819dbmr25892900ejy.485.1670166396739; Sun, 04 Dec 2022 07:06:36 -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 g1-20020a17090604c100b0073dc5bb7c32sm5240058eja.64.2022.12.04.07.06.35 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 04 Dec 2022 07:06:36 -0800 (PST) From: Tom Rini To: u-boot@lists.denx.de Subject: [PATCH 035/149] global: Migrate CONFIG_FSL_PMIC_CLK to CFG Date: Sun, 4 Dec 2022 10:04:00 -0500 Message-Id: <20221204150554.4165941-35-trini@konsulko.com> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20221204150554.4165941-1-trini@konsulko.com> References: <20221202214251.3027264-41-trini@konsulko.com> <20221204150554.4165941-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_FSL_PMIC_CLK to CFG_FSL_PMIC_CLK Signed-off-by: Tom Rini --- drivers/power/power_fsl.c | 2 +- include/configs/mx51evk.h | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/drivers/power/power_fsl.c b/drivers/power/power_fsl.c index eace4dd7e433..a576d1570b11 100644 --- a/drivers/power/power_fsl.c +++ b/drivers/power/power_fsl.c @@ -40,7 +40,7 @@ int pmic_init(unsigned char bus) #if defined(CONFIG_POWER_SPI) p->interface = PMIC_SPI; p->hw.spi.cs = CONFIG_FSL_PMIC_CS; - p->hw.spi.clk = CONFIG_FSL_PMIC_CLK; + p->hw.spi.clk = CFG_FSL_PMIC_CLK; p->hw.spi.mode = CONFIG_FSL_PMIC_MODE; p->hw.spi.bitlen = CFG_FSL_PMIC_BITLEN; p->hw.spi.flags = SPI_XFER_BEGIN | SPI_XFER_END; diff --git a/include/configs/mx51evk.h b/include/configs/mx51evk.h index 1aaa76240deb..ee0782ebfebf 100644 --- a/include/configs/mx51evk.h +++ b/include/configs/mx51evk.h @@ -23,7 +23,7 @@ /* PMIC Controller */ #define CFG_FSL_PMIC_BUS 0 #define CONFIG_FSL_PMIC_CS 0 -#define CONFIG_FSL_PMIC_CLK 2500000 +#define CFG_FSL_PMIC_CLK 2500000 #define CONFIG_FSL_PMIC_MODE (SPI_MODE_0 | SPI_CS_HIGH) #define CFG_FSL_PMIC_BITLEN 32 -- 2.25.1