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 478FBC636CD for ; Sun, 5 Feb 2023 23:04:38 +0000 (UTC) Received: from h2850616.stratoserver.net (localhost [IPv6:::1]) by phobos.denx.de (Postfix) with ESMTP id C45A185A69; Sun, 5 Feb 2023 23:56:22 +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="OsZKW6ke"; dkim-atps=neutral Received: by phobos.denx.de (Postfix, from userid 109) id 89F5B859BB; Sun, 5 Feb 2023 23:52:32 +0100 (CET) Received: from mail-io1-xd2a.google.com (mail-io1-xd2a.google.com [IPv6:2607:f8b0:4864:20::d2a]) (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 559EB85B0E for ; Sun, 5 Feb 2023 23:44:06 +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-io1-xd2a.google.com with SMTP id 65so3895552iou.3 for ; Sun, 05 Feb 2023 14:44:06 -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=b+nGR6tQuwYTuuY2eBoXon1OHaHgFKhIPOb96KFRZag=; b=OsZKW6keCOWrSZeGQF/dBkFdAY+AK9a5T/IMayuCKpyvunTYpp86Tf3vg0BX6aHr5z XiNcCYPI88qWiavk6pVDAY+CroaBzlPqi/kHlIB4BXj71pUDSnLuTL+QXnB36YV2SZ8+ VOECPthoSFUu4v0BjYAibi1hpf2EpD0PH3MKA= 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=b+nGR6tQuwYTuuY2eBoXon1OHaHgFKhIPOb96KFRZag=; b=ByWsqyZy+YZ54iq6kQ0n1ztWyJCNtphfp9P/PaS9ZcSjBXsQLieEGVrGXzGx9Ue1nn L2Eeb5hznSFXNgBUOWkJfzIlRW1Tp+faId8JfcNVS3X94iiV/7kNHJ52+aROtTvFusSL 9SSoT/lH0P8XlA1OvVfUCpldKrrPv3idABQc67Uaj2+e0UcQlhnGXSVrlVDkQqLzldhJ oSEnfJGe4E++U3JDjD4tV/b3DFHdlLfNW+pYdy6LImszIQ8gPTTm3rZwcXo+pKMQ08t+ 5vJceM3KMLroYJKTmb+jEDBPrSogPF0SwZE6MavAxnXtiXmtyzvdgAOMMBoOL2vYfcs7 uJbA== X-Gm-Message-State: AO0yUKX91Hz6JdT0u0Xd1O6PjYd/x0pCMBy+rjmxqfFEjbftbabpEZEe Mq7FY4kUr6opKFm9f+W9WpvDhC4Z8KwbhElf X-Google-Smtp-Source: AK7set/GRP/OWvUuFRzNHXwo9Py1ma6N3fGWU6O+34+mumt+S+Us25R4NaNpD5pQibW31Z68aEHtvQ== X-Received: by 2002:a6b:cf0f:0:b0:715:ba8c:3b14 with SMTP id o15-20020a6bcf0f000000b00715ba8c3b14mr12690633ioa.12.1675637007365; Sun, 05 Feb 2023 14:43:27 -0800 (PST) Received: from sjg1.roam.corp.google.com (c-73-14-173-85.hsd1.co.comcast.net. [73.14.173.85]) by smtp.gmail.com with ESMTPSA id z22-20020a05663803b600b003b33e77e5b2sm1503513jap.110.2023.02.05.14.43.26 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 05 Feb 2023 14:43:27 -0800 (PST) From: Simon Glass To: U-Boot Mailing List Cc: Tom Rini , Simon Glass Subject: [PATCH v2 126/169] Correct SPL uses of PMIC_STPMIC1 Date: Sun, 5 Feb 2023 15:40:35 -0700 Message-Id: <20230205224118.233425-127-sjg@chromium.org> X-Mailer: git-send-email 2.39.1.519.gcb327c4b5f-goog In-Reply-To: <20230205224118.233425-63-sjg@chromium.org> References: <20230205224118.233425-63-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 --- (no changes since v1) 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 934800be93d..6f3641ccf57 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.519.gcb327c4b5f-goog