From patchwork Sun Feb 5 22:36:44 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Simon Glass X-Patchwork-Id: 1737825 X-Patchwork-Delegate: trini@ti.com Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@legolas.ozlabs.org Authentication-Results: legolas.ozlabs.org; spf=pass (sender SPF authorized) smtp.mailfrom=lists.denx.de (client-ip=2a01:238:438b:c500:173d:9f52:ddab:ee01; helo=phobos.denx.de; envelope-from=u-boot-bounces@lists.denx.de; receiver=) Authentication-Results: legolas.ozlabs.org; dkim=pass (1024-bit key; unprotected) header.d=chromium.org header.i=@chromium.org header.a=rsa-sha256 header.s=google header.b=FAKFlTVl; dkim-atps=neutral Received: from phobos.denx.de (phobos.denx.de [IPv6:2a01:238:438b:c500:173d:9f52:ddab:ee01]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (P-384)) (No client certificate requested) by legolas.ozlabs.org (Postfix) with ESMTPS id 4P94Pd5QH6z23j7 for ; Mon, 6 Feb 2023 09:51:17 +1100 (AEDT) Received: from h2850616.stratoserver.net (localhost [IPv6:::1]) by phobos.denx.de (Postfix) with ESMTP id 72EA485A68; Sun, 5 Feb 2023 23:42: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="FAKFlTVl"; dkim-atps=neutral Received: by phobos.denx.de (Postfix, from userid 109) id 3371385997; Sun, 5 Feb 2023 23:40:21 +0100 (CET) X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on phobos.denx.de X-Spam-Level: X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,SPF_HELO_NONE, SPF_PASS autolearn=ham autolearn_force=no version=3.4.2 Received: from mail-il1-x12f.google.com (mail-il1-x12f.google.com [IPv6:2607:f8b0:4864:20::12f]) (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 BF7B585997 for ; Sun, 5 Feb 2023 23:39:41 +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-x12f.google.com with SMTP id o13so278639ilt.4 for ; Sun, 05 Feb 2023 14:39:41 -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=9s7LwNff602jzmgaa7e6+dVNC0jfqMbNf7KI96Pj4X4=; b=FAKFlTVlzJcKsqPSfWH/cuqBMQTnOY8F5cL8TCcIiyhH0QMer/2nCNsiojF4csSaWI RBbPBk3WspWTmAxW4KTZM4Krl1nWgQlAMkMmyCxS/yMzPI2t7UG7uFyaWH26xaykBGSq XQtlWdmrJ6r+KJz9Lyv+8t/fqsOyQNb7xImZc= 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=9s7LwNff602jzmgaa7e6+dVNC0jfqMbNf7KI96Pj4X4=; b=KIiZ/eiY7yZewr0gpxuaHSn1tU8Vbu3UuHwy+MXniRPwhh8ccPAPVvkxelQFN3ln9H xZtlKaa7lxcCzchteg6Jzmoj/gEPqnbJr+Yq1JGmOqZIMEZFqRs+1NS1mhIRheb88wO2 KWtsLWKexZSqAXeEmobB0vpIpET9gPb+tKrzAAQT0bz31Mf4Ui+XV4Cel0lM72me+P/d 0Qoi9LclPNypGIFyBhrwCuQXjqTLv2ZyJF07n3xJ5VUMdQpXldTzL7GNA8iu6enQUavq uIAhdZCpzUkwfM94m1p4ASaM64n9+k6h/9I1ZfkinLKGIUTjGNTutmrjRuMf00fbi655 157w== X-Gm-Message-State: AO0yUKWt+eYMbeTW8deXOKLSbIFcgyb0iHSBA/EoNWbLX4TSZS2qlN0b YNf2wZ6l67GlQf3wCca8Vh78jiWRfFYZQlty X-Google-Smtp-Source: AK7set9E++lFEIj4Mtge/RvN9/n1Rp3fgXqDwjvlHUywbvcnyyR2YpjEFQpdkBWGWh/ubKflUCdmJA== X-Received: by 2002:a05:6e02:12c5:b0:310:a12c:78a2 with SMTP id i5-20020a056e0212c500b00310a12c78a2mr16267221ilm.6.1675636781291; Sun, 05 Feb 2023 14:39:41 -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 m40-20020a05663840a800b003b49e7d990asm2856393jam.30.2023.02.05.14.39.40 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 05 Feb 2023 14:39:41 -0800 (PST) From: Simon Glass To: U-Boot Mailing List Cc: Tom Rini , Simon Glass Subject: [PATCH v2 058/169] Correct SPL use of CMD_STM32PROG Date: Sun, 5 Feb 2023 15:36:44 -0700 Message-Id: <20230205223836.231657-59-sjg@chromium.org> X-Mailer: git-send-email 2.39.1.519.gcb327c4b5f-goog In-Reply-To: <20230205223836.231657-1-sjg@chromium.org> References: <20230205223836.231657-1-sjg@chromium.org> MIME-Version: 1.0 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 1 usage of this option to the non-SPL form, since there is no SPL_CMD_STM32PROG defined in Kconfig Signed-off-by: Simon Glass --- (no changes since v1) board/st/common/stm32mp_mtdparts.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/board/st/common/stm32mp_mtdparts.c b/board/st/common/stm32mp_mtdparts.c index 18878424c7a..67a56a2623a 100644 --- a/board/st/common/stm32mp_mtdparts.c +++ b/board/st/common/stm32mp_mtdparts.c @@ -96,7 +96,7 @@ void board_mtdparts_default(const char **mtdids, const char **mtdparts) case BOOT_SERIAL_UART: case BOOT_SERIAL_USB: serial = true; - if (CONFIG_IS_ENABLED(CMD_STM32PROG)) { + if (IS_ENABLED(CONFIG_CMD_STM32PROG)) { #ifdef CONFIG_STM32MP15x_STM32IMAGE tee = stm32prog_get_tee_partitions(); #endif