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 17E89C54EED for ; Mon, 30 Jan 2023 15:29:23 +0000 (UTC) Received: from h2850616.stratoserver.net (localhost [IPv6:::1]) by phobos.denx.de (Postfix) with ESMTP id CCF6785A30; Mon, 30 Jan 2023 16:24:21 +0100 (CET) Authentication-Results: phobos.denx.de; dmarc=pass (p=none dis=none) header.from=chromium.org 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=chromium.org header.i=@chromium.org header.b="ks4tNvje"; dkim-atps=neutral Received: by phobos.denx.de (Postfix, from userid 109) id B96F985939; Mon, 30 Jan 2023 16:19:10 +0100 (CET) Received: from mail-il1-x12b.google.com (mail-il1-x12b.google.com [IPv6:2607:f8b0:4864:20::12b]) (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 269CD85943 for ; Mon, 30 Jan 2023 16:18:57 +0100 (CET) Authentication-Results: phobos.denx.de; dmarc=pass (p=none dis=none) header.from=chromium.org Authentication-Results: phobos.denx.de; spf=pass smtp.mailfrom=sjg@chromium.org Received: by mail-il1-x12b.google.com with SMTP id l7so3350593ilf.0 for ; Mon, 30 Jan 2023 07:18:57 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=chromium.org; s=google; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:from:to:cc:subject:date :message-id:reply-to; bh=c3A4gSIciR95I6cpBgQNml7gcK1i4a+WTuMf1OdkreI=; b=ks4tNvjeSimRyqC0fkvc2veMEGmVVTFyhsyC3i8YMjMxcseg/oafXRurG72av7nkuw Crmvik/C0GDxnO1g2F3kjmmy4adlo2lskMvJcd/wxrLbHRsTP+v4vB6VFEdsebm4oM1Q BWkL6PJO6isOT6mT64OYclOhSw8OZlrcWZW9o= 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:cc:to:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=c3A4gSIciR95I6cpBgQNml7gcK1i4a+WTuMf1OdkreI=; b=LFg5p5bYiJR1u/Wn1iz3rcXpA9I5PvMx+Jqnr69/JzAgEak4YLHA2CEAMx5ZTJk+sP b0UtoTZdUEP02Q53oZoy/RHOkseP141ETY4m2O6D+PmhLEny2WHRSd7pRMd07hg2nOis RL7dicn34mQlWHWiNEOin8M9EYoB5dUQH+PND2Pknqy84k6ZwbG3flQWfO7x2cjUFhgs D6SEO9tS7JqS/Y4J45ZMOL3Rrk2U//U2Q+USgWPQ/PIlOsaXXXF8HaWavfffS/oGR9Tb bfhheIpojcyGf65dkh6CYgerh+05Kq2tn86hPT8pIVMkadodGgxzsUw9HIB79Ob3woEf gvYw== X-Gm-Message-State: AO0yUKUlpa7VMRFH9xqsnhFMGZhcvUbJhbrg9WJiahcNxgrjTzCiKiTJ 0mv7kV5rE2LlRJbsXkjY1+xYmNKzqlcTRYvl X-Google-Smtp-Source: AK7set/FkgY6/PfvE4WO0c3CErqSEpTh6jHcNO4Uhpq9+RoBtXa0pXpcMm8RQAMzbRzzO4vPv46Mrg== X-Received: by 2002:a05:6e02:1b81:b0:310:a9be:931 with SMTP id h1-20020a056e021b8100b00310a9be0931mr17043042ili.10.1675091862770; Mon, 30 Jan 2023 07:17:42 -0800 (PST) Received: from sjg1.lan (c-73-14-173-85.hsd1.co.comcast.net. [73.14.173.85]) by smtp.gmail.com with ESMTPSA id o13-20020a92d38d000000b00302bb083c2bsm4103194ilo.21.2023.01.30.07.17.42 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 30 Jan 2023 07:17:42 -0800 (PST) From: Simon Glass To: U-Boot Mailing List Cc: Tom Rini , Simon Glass , Patrice Chotard , Patrick Delaunay , uboot-stm32@st-md-mailman.stormreply.com Subject: [PATCH 128/171] Correct SPL uses of PMIC_STPMIC1 Date: Mon, 30 Jan 2023 08:15:29 -0700 Message-Id: <20230130151612.212732-129-sjg@chromium.org> X-Mailer: git-send-email 2.39.1.456.gfc5497dd1b-goog In-Reply-To: <20230130151612.212732-102-sjg@chromium.org> References: <20230130151612.212732-102-sjg@chromium.org> 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 This converts 2 usages of this option to the non-SPL form, since there is no SPL_PMIC_STPMIC1 defined in Kconfig Signed-off-by: Simon Glass --- arch/arm/mach-stm32mp/cmd_stm32prog/stm32prog.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/arch/arm/mach-stm32mp/cmd_stm32prog/stm32prog.c b/arch/arm/mach-stm32mp/cmd_stm32prog/stm32prog.c index 9c4ba407ba0..baa156acf9e 100644 --- a/arch/arm/mach-stm32mp/cmd_stm32prog/stm32prog.c +++ b/arch/arm/mach-stm32mp/cmd_stm32prog/stm32prog.c @@ -1583,7 +1583,7 @@ int stm32prog_pmic_read(struct stm32prog_data *data, u32 offset, u8 *buffer, int result = 0, ret; struct udevice *dev; - if (!CONFIG_IS_ENABLED(PMIC_STPMIC1)) { + if (!IS_ENABLED(CONFIG_PMIC_STPMIC1)) { stm32prog_err("PMIC update not supported"); return -EOPNOTSUPP; @@ -1633,7 +1633,7 @@ int stm32prog_pmic_start(struct stm32prog_data *data) int ret; struct udevice *dev; - if (!CONFIG_IS_ENABLED(PMIC_STPMIC1)) { + if (!IS_ENABLED(CONFIG_PMIC_STPMIC1)) { stm32prog_err("PMIC update not supported"); return -EOPNOTSUPP; -- 2.39.1.456.gfc5497dd1b-goog