From patchwork Sun Feb 5 22:39:56 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Simon Glass X-Patchwork-Id: 1737925 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=F4T4sUXy; 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 4P954z5hqyz23j7 for ; Mon, 6 Feb 2023 10:21:55 +1100 (AEDT) Received: from h2850616.stratoserver.net (localhost [IPv6:::1]) by phobos.denx.de (Postfix) with ESMTP id 3ECCC85630; Mon, 6 Feb 2023 00:21:48 +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="F4T4sUXy"; dkim-atps=neutral Received: by phobos.denx.de (Postfix, from userid 109) id 7C06A85A9D; Sun, 5 Feb 2023 23:43:10 +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-io1-xd31.google.com (mail-io1-xd31.google.com [IPv6:2607:f8b0:4864:20::d31]) (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 2800285A8C for ; 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=sjg@chromium.org Received: by mail-io1-xd31.google.com with SMTP id j4so3886382iog.8 for ; Sun, 05 Feb 2023 14:42:21 -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=oxSuBng3duKDQUWkvbWRor55Po+WH26oZiCz/svnyyI=; b=F4T4sUXyWwQg1ZzF6G0p7YE0jgY6Z961TfufiiEkXrurFeNihjxvUtyr7Nt5ikCNgo xo9wOa2yfox3Ao3ETWEzUXwkJj2TnMhLullEn3ETrrh2KqyWGB/ko8bVk8U5LLZ6ttGo slw5qVn0RJvHZy3cxSXjKooQg/2UjXos1l4TY= 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=oxSuBng3duKDQUWkvbWRor55Po+WH26oZiCz/svnyyI=; b=B4LHrwQwuAQNg645DGR4VW2j6Cw1Uyhqg3KCD2GdLRrbjwSHOF2b27HQPPNLGEcfZp HA2BSEzUcNzZkDj4L6bl9ka8e+HZYrEkFWvmjIAHIs0olCejQL4QetXvixeBFMvnpuj3 0SnVmDdQFGwtYfRLnDSCTwkV5RhmQDzPgNKeBgwGccpIP2t9SDUzXaqrpxkpjRoZ6Zz9 MInqByxr4dYfPCSKU/FY/gXoDrH0IrG2bGrLeV+LOilmQGUauLXzMXwC0vw+AwrNAnaB MtiF/jADucRHRP1CRu9pem26T2Rd3czWIZyVM8I8vvjU3SP7MAucg3LNLjfDKjAItXXV iVwg== X-Gm-Message-State: AO0yUKVASJKoHXA205Xs+J7SzAK+tqaX5UHvoJK9cPwc6LqSJ7RvkCMy 3B5EOseNkX5iPVGZT6dh45MButtA4/AqDEjR X-Google-Smtp-Source: AK7set/ARkMJO5ZAZYmfT5PuUsXXNNq7gN+Ow0yEPRWMgARQIwtA2XWRJtrDXCwOXFB4m20QyrhIiA== X-Received: by 2002:a5e:8b06:0:b0:71e:508e:ba90 with SMTP id g6-20020a5e8b06000000b0071e508eba90mr11320017iok.2.1675636939805; Sun, 05 Feb 2023 14:42:19 -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.42.19 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 05 Feb 2023 14:42:19 -0800 (PST) From: Simon Glass To: U-Boot Mailing List Cc: Tom Rini , Simon Glass Subject: [PATCH v2 087/169] Correct SPL use of FASTBOOT_MMC_USER_SUPPORT Date: Sun, 5 Feb 2023 15:39:56 -0700 Message-Id: <20230205224118.233425-88-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 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_FASTBOOT_MMC_USER_SUPPORT defined in Kconfig Signed-off-by: Simon Glass --- (no changes since v1) drivers/fastboot/fb_mmc.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/fastboot/fb_mmc.c b/drivers/fastboot/fb_mmc.c index 033c510bc09..a06c590234f 100644 --- a/drivers/fastboot/fb_mmc.c +++ b/drivers/fastboot/fb_mmc.c @@ -588,7 +588,7 @@ void fastboot_mmc_flash_write(const char *cmd, void *download_buffer, } #endif -#if CONFIG_IS_ENABLED(FASTBOOT_MMC_USER_SUPPORT) +#if IS_ENABLED(CONFIG_FASTBOOT_MMC_USER_SUPPORT) if (strcmp(cmd, CONFIG_FASTBOOT_MMC_USER_NAME) == 0) { dev_desc = fastboot_mmc_get_dev(response); if (!dev_desc)