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 17E9AC4332F for ; Sun, 20 Nov 2022 13:41:15 +0000 (UTC) Received: from h2850616.stratoserver.net (localhost [IPv6:::1]) by phobos.denx.de (Postfix) with ESMTP id 2E6988530E; Sun, 20 Nov 2022 14:35:11 +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="WwRna8Fn"; dkim-atps=neutral Received: by phobos.denx.de (Postfix, from userid 109) id 95EC98528F; Sun, 20 Nov 2022 14:34:28 +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 8C0C08526B for ; Sun, 20 Nov 2022 14:34:23 +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 d18so2948301qvs.6 for ; Sun, 20 Nov 2022 05:34:23 -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=ohcDbMXYLwlJSWFIMSXzj4MrT91zuH8PopuATkEcRgs=; b=WwRna8Fnz4xGkOPy8hIGq4ypeCexdoQjny+8AFrufK0Rp/wf27Eq7aLdP0z/YPu6fB RE96fvtJQ6BT34pvQ4s+bpTaL+Ls8cWTyosnEpvfwVQEZoaiQwPjCc4k+2e7MA7fzwNd WKIOvcqKErDS6z6OO4GuB9xJlkNSiFSiKK6RA= 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=ohcDbMXYLwlJSWFIMSXzj4MrT91zuH8PopuATkEcRgs=; b=z67wX+o2/nYMUyGpzq5CZpYMlOc2HSn0wohd5J0PpA/isHfz5qcR/T02/tfqBw5Pmw VjbfwUfCDZmJabauOHj0R57yXZAJUPio2t+p1ioIGHzrgIxnkazzD9a4YCaW75hwgjPS fMhkRWs20fwgQxYH4TsBF1+s+8LpQbKjatEWCU8AZwa0xEvdm/9lkT4WUeq8IHUn2wB8 CoHJPt3WtREC9nUlHy6igmY1qyc1pfcXJkbnlb1LjxJKlbfFNEhu2hSy/NmVV0170iSA 05fhT3lLtkuU3gCXvtPbA6nb2EAvnM2/Yg6ThisTVaNuvq7VQAWjCzwCnrIlt6XGt6el PC5w== X-Gm-Message-State: ANoB5pnfJ5xAEUHvWxoDXmQ5RH3E4+teVlDRTzp0uyiwyqEjLCpnH8W0 ihz4h5MVmZPlhGM2IbdgZ37Ht9NoI5xU7g== X-Google-Smtp-Source: AA0mqf5CnJTN9uTGCd4dNUaRurJagnfMKvzJcqjwepWJKt/3dv7roql3Dechyxi8ZMHm1PDlE0Uy6g== X-Received: by 2002:a05:6214:2c20:b0:4bb:73ab:bcdb with SMTP id lc32-20020a0562142c2000b004bb73abbcdbmr13630731qvb.8.1668951263040; Sun, 20 Nov 2022 05:34:23 -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.22 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 20 Nov 2022 05:34:22 -0800 (PST) From: Tom Rini To: u-boot@lists.denx.de Subject: [PoC 039/241] global: Migrate CONFIG_FSL_PMIC_BITLEN to CFG Date: Sun, 20 Nov 2022 08:30:30 -0500 Message-Id: <20221120133352.3055600-40-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 9bb7e39f2cc2..eace4dd7e433 100644 --- a/drivers/power/power_fsl.c +++ b/drivers/power/power_fsl.c @@ -42,7 +42,7 @@ int pmic_init(unsigned char bus) p->hw.spi.cs = CONFIG_FSL_PMIC_CS; p->hw.spi.clk = CONFIG_FSL_PMIC_CLK; p->hw.spi.mode = CONFIG_FSL_PMIC_MODE; - p->hw.spi.bitlen = CONFIG_FSL_PMIC_BITLEN; + p->hw.spi.bitlen = CFG_FSL_PMIC_BITLEN; p->hw.spi.flags = SPI_XFER_BEGIN | SPI_XFER_END; p->hw.spi.prepare_tx = pmic_spi_prepare_tx; #elif defined(CONFIG_POWER_I2C) diff --git a/include/configs/mx51evk.h b/include/configs/mx51evk.h index 8ab1ee79a79c..d4cca8d516a6 100644 --- a/include/configs/mx51evk.h +++ b/include/configs/mx51evk.h @@ -25,7 +25,7 @@ #define CONFIG_FSL_PMIC_CS 0 #define CONFIG_FSL_PMIC_CLK 2500000 #define CONFIG_FSL_PMIC_MODE (SPI_MODE_0 | SPI_CS_HIGH) -#define CONFIG_FSL_PMIC_BITLEN 32 +#define CFG_FSL_PMIC_BITLEN 32 /* * MMC Configs diff --git a/scripts/config_whitelist.txt b/scripts/config_whitelist.txt index 0a0be8f05f00..b5f3eb1236a1 100644 --- a/scripts/config_whitelist.txt +++ b/scripts/config_whitelist.txt @@ -39,7 +39,7 @@ CFG_FSL_CPLD CFG_FSL_ESDHC_PIN_MUX CFG_FSL_FM_10GEC_REGULAR_NOTATION CFG_FSL_ISBC_KEY_EXT -CONFIG_FSL_PMIC_BITLEN +CFG_FSL_PMIC_BITLEN CONFIG_FSL_PMIC_BUS CONFIG_FSL_PMIC_CLK CONFIG_FSL_PMIC_CS -- 2.25.1