From patchwork Mon Jan 30 14:41:33 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Simon Glass X-Patchwork-Id: 1734180 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=bETgSFZV; 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 4P5BnY0R1Wz1yhq for ; Tue, 31 Jan 2023 02:25:05 +1100 (AEDT) Received: from h2850616.stratoserver.net (localhost [IPv6:::1]) by phobos.denx.de (Postfix) with ESMTP id 688EC85813; Mon, 30 Jan 2023 16:21: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="bETgSFZV"; dkim-atps=neutral Received: by phobos.denx.de (Postfix, from userid 109) id 3371B857C8; Mon, 30 Jan 2023 16:04:39 +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-x130.google.com (mail-il1-x130.google.com [IPv6:2607:f8b0:4864:20::130]) (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 85DBF8562D for ; Mon, 30 Jan 2023 15:55:34 +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-x130.google.com with SMTP id i17so5036394ils.11 for ; Mon, 30 Jan 2023 06:55:34 -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=smwjvcpqrNDxSYvgO8hh3+CR7mBdORbhCBy07vxsWxQ=; b=bETgSFZVgZ056rujRiOFO3D+2cjwI82JUK82YXEgw09K/oAjgxlO3OsnRnpJpnIvbB /WDkIFEUK5JgJ9BKOH6az2mKrseGENRJJ//UcNrD0hgZja7SN8oJ1qa/zn8/TM1NS1QK gju3mGE5ckXRA/UeWtlptX93R1wO/MTjobpOQ= 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=smwjvcpqrNDxSYvgO8hh3+CR7mBdORbhCBy07vxsWxQ=; b=iNJMHtLxvpLwi302TH+Y2pWbxignn5M3CHZguD3MPDoBIePDxAHDbEg9yr55ZE7y+a OyguEjEXZU5Acnq30HMalx3Nwhl+oBL6UICRzYos/V0PHceFljV8AB39ovaCtYVjkuvU 9ku01J7wuhetoeV2c1QRiuumfY3twzDhOgFjr1BZA8bK+aHqg7+dwz+48p5prkeuQPpj lNzbVN/c7iJFVRg2+8B2JhXMFLysK6sLU3MIB0efWICtcxCo5jU7stqLKmTECRJS030R GMORs/YKb2apMkSBre9YIQekOlet+G84oxjDdd4q/sIguG64P1FMxhIGWRM7l22eyynh kwAw== X-Gm-Message-State: AO0yUKULyIK1zrAQRNSXgKE45Fu4T396/+x1mCA5GVwtdkkHq2PadFAg +C3xeyCcDMvRgJxRYojxn7NpXcgBkIdNwO+V X-Google-Smtp-Source: AK7set863swyODHjUOkx3+TaTihjig+oMM5I1JBrQIs/XxhRYxnkJLC/KrHnbgWiTVuRUwIVOKGRMQ== X-Received: by 2002:a05:6e02:1c21:b0:310:eb06:cccf with SMTP id m1-20020a056e021c2100b00310eb06cccfmr4325910ilh.8.1675090523528; Mon, 30 Jan 2023 06:55:23 -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 g18-20020a926b12000000b0030bfdb6ef60sm4008830ilc.58.2023.01.30.06.55.23 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 30 Jan 2023 06:55:23 -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 060/171] Correct SPL use of CMD_STM32PROG Date: Mon, 30 Jan 2023 07:41:33 -0700 Message-Id: <20230130144324.206208-61-sjg@chromium.org> X-Mailer: git-send-email 2.39.1.456.gfc5497dd1b-goog In-Reply-To: <20230130144324.206208-1-sjg@chromium.org> References: <20230130144324.206208-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 --- 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 bc2ce600287..b866dd5038c 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