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 D1598C433FE for ; Sun, 20 Nov 2022 13:41:36 +0000 (UTC) Received: from h2850616.stratoserver.net (localhost [IPv6:::1]) by phobos.denx.de (Postfix) with ESMTP id C8A0C85314; Sun, 20 Nov 2022 14:35:13 +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="BSXqV10X"; dkim-atps=neutral Received: by phobos.denx.de (Postfix, from userid 109) id B349585266; Sun, 20 Nov 2022 14:34:29 +0100 (CET) Received: from mail-qv1-xf2a.google.com (mail-qv1-xf2a.google.com [IPv6:2607:f8b0:4864:20::f2a]) (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 7CB4585262 for ; Sun, 20 Nov 2022 14:34:25 +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-qv1-xf2a.google.com with SMTP id c8so6451365qvn.10 for ; Sun, 20 Nov 2022 05:34:25 -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=1dgGONvjk/t442DoCWE4Ov7ExvBRnCYSTCM6m1oh/CU=; b=BSXqV10XB4C6Bi5Q3U6gp4oT/r2asHHNW2anG9E7vK/LebdsIFus/OTgNTXcwF26w5 FUV27463s1cZhvx/Zun1jjBj3eOoRZXH3qytQ5shgIrwgRdmDG3y8aPkdNyyiLiXmPd5 1fFlIHOzXX5XlNqAYQmr94hUQsw2c6YxUU5d0= 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=1dgGONvjk/t442DoCWE4Ov7ExvBRnCYSTCM6m1oh/CU=; b=Yq1DCnwItJgsqCSMqrqXi8i6k+citQHIB6gRTvt4shyawEo3PeQkfO+oIxLHvHdpeP nw7jj3NLR917LSL54vT2jT0rJzhS7q/rMOBbkHaaCo3JFJb04asOPqlmvpMoeDqYcyr0 2OY1E63ENkFxZa9SX0A/dsdZa2SuUaUn+/LGpFbxf/ql5qzOSqeomlfSvWYWtjhrBrnd 7WWUyaL61YNh2hBDsTUBKUeHwuLGyIWZdbfwJHMX1cvES5fmxgDGk0hs3/WJam9R75L2 jRNuFQG2XoFEvtGS9z+pp9diVkdQfwwmu54pjrfdDI/Izth265j6BYB10w3jZlu/TVk3 2mXA== X-Gm-Message-State: ANoB5pledSKexyU3xTbTd4vCG8PpgAAzjshXOkg20yH3iNBQIaYgYM9K 4yppX72TBLhClxUcy8l8EX6WHoStz5gLaA== X-Google-Smtp-Source: AA0mqf6R8VUe5LhPHIAJt5sxXyo5knc6ncLy/bPVUE8QDF8mvflPTW5XOalBnPG9B+fexqIaU+VI4g== X-Received: by 2002:a0c:ea87:0:b0:4b1:95bf:57f2 with SMTP id d7-20020a0cea87000000b004b195bf57f2mr13759431qvp.113.1668951264885; Sun, 20 Nov 2022 05:34:24 -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.24 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 20 Nov 2022 05:34:24 -0800 (PST) From: Tom Rini To: u-boot@lists.denx.de Subject: [PoC 042/241] global: Migrate CONFIG_FSL_PMIC_CS to CFG Date: Sun, 20 Nov 2022 08:30:33 -0500 Message-Id: <20221120133352.3055600-43-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 --- drivers/power/power_fsl.c | 2 +- include/configs/mx51evk.h | 2 +- scripts/config_whitelist.txt | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/drivers/power/power_fsl.c b/drivers/power/power_fsl.c index a576d1570b11..9ead212f380e 100644 --- a/drivers/power/power_fsl.c +++ b/drivers/power/power_fsl.c @@ -39,7 +39,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.cs = CFG_FSL_PMIC_CS; p->hw.spi.clk = CFG_FSL_PMIC_CLK; p->hw.spi.mode = CONFIG_FSL_PMIC_MODE; p->hw.spi.bitlen = CFG_FSL_PMIC_BITLEN; diff --git a/include/configs/mx51evk.h b/include/configs/mx51evk.h index ee0782ebfebf..15bc4c706fdd 100644 --- a/include/configs/mx51evk.h +++ b/include/configs/mx51evk.h @@ -22,7 +22,7 @@ /* PMIC Controller */ #define CFG_FSL_PMIC_BUS 0 -#define CONFIG_FSL_PMIC_CS 0 +#define CFG_FSL_PMIC_CS 0 #define CFG_FSL_PMIC_CLK 2500000 #define CONFIG_FSL_PMIC_MODE (SPI_MODE_0 | SPI_CS_HIGH) #define CFG_FSL_PMIC_BITLEN 32 diff --git a/scripts/config_whitelist.txt b/scripts/config_whitelist.txt index d006554e3d2b..a6598b01bb61 100644 --- a/scripts/config_whitelist.txt +++ b/scripts/config_whitelist.txt @@ -42,7 +42,7 @@ CFG_FSL_ISBC_KEY_EXT CFG_FSL_PMIC_BITLEN CFG_FSL_PMIC_BUS CFG_FSL_PMIC_CLK -CONFIG_FSL_PMIC_CS +CFG_FSL_PMIC_CS CONFIG_FSL_PMIC_MODE CONFIG_FSL_SDHC_V2_3 CONFIG_FSL_SERDES1 -- 2.25.1