Message ID | 20230130151612.212732-159-sjg@chromium.org |
---|---|
State | Changes Requested |
Delegated to: | Tom Rini |
Headers | show
Return-Path: <u-boot-bounces@lists.denx.de> 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=<UNKNOWN>) 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=P7UbIMPb; 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 4P5CBG5tghz1yhq for <incoming@patchwork.ozlabs.org>; Tue, 31 Jan 2023 02:43:02 +1100 (AEDT) Received: from h2850616.stratoserver.net (localhost [IPv6:::1]) by phobos.denx.de (Postfix) with ESMTP id B5870859B2; Mon, 30 Jan 2023 16:37:47 +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="P7UbIMPb"; dkim-atps=neutral Received: by phobos.denx.de (Postfix, from userid 109) id C7940859BE; Mon, 30 Jan 2023 16:30:20 +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=unavailable autolearn_force=no version=3.4.2 Received: from mail-il1-x134.google.com (mail-il1-x134.google.com [IPv6:2607:f8b0:4864:20::134]) (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 83770859C7 for <u-boot@lists.denx.de>; Mon, 30 Jan 2023 16:19:26 +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-x134.google.com with SMTP id k12so193407ilv.10 for <u-boot@lists.denx.de>; Mon, 30 Jan 2023 07:19:26 -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=hR3rjNYS/f4wU0YiRumKI18XaiFG1SnDWa+2TA1fE9U=; b=P7UbIMPb49QpBukOzkn154EicKIAAwnt9RSnlZYVAo/eUaOkyVM0C2pNliJ5izI/T7 Nw9RhvlNga9J/ngL5ZcmWAGO2RJcGufMSxMOM3zaVQ9W0FpM+1HcmRAfLttVnZUfquKc iWEXjG89XA3PleFiLLNcof83EayWMVowe4oSo= 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=hR3rjNYS/f4wU0YiRumKI18XaiFG1SnDWa+2TA1fE9U=; b=bWj1tx+e7ZoVpmRC5XMyQqwevXy2I5zBGzCx2mEmcwJYiqcU71vB1rFDmw/1ZVGMWU Q3ck4BSC4hevkUB30yExQ2rUbpalY56yaURwuEgP0yggiP2ZVcpRt74xtLuYxnU+6uid CLkF3Wdu8Cv6yaf2vP8AnyfCZyuCMTOpeCjrQllUVbb/9IjeAxW++pOo+/M5rRTAz+Uv TqjGHJhYir58z0owh382T9gIiwUqLQmA1SbH47uqydX+7ENZMZOtyVoXn7rTVawlyurb r2nZdBOh7YAMMOZczKVGLSYWb2CJyXvWSz1s8iJa3Jx2/YuidPuyFXqNLQMdu2O3oXc7 EQjg== X-Gm-Message-State: AO0yUKWRNnY8h0yQT5fg2VsYO9AU//zL7zZkitZRGLhfJDYajJyKcVGU 7brc0Ibouf/2hZPNFHvY1tVQjDEiOZckp1Iw X-Google-Smtp-Source: AK7set/40KepHpsXoT0W1EhD0m+BZA9wGzumDn4kLqi3FXmnlbLIFahAUfiNsMQwU3LK0XWdSVLuIQ== X-Received: by 2002:a92:c24f:0:b0:310:9eab:3d83 with SMTP id k15-20020a92c24f000000b003109eab3d83mr18157705ilo.11.1675091887340; Mon, 30 Jan 2023 07:18:07 -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.18.06 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 30 Jan 2023 07:18:07 -0800 (PST) From: Simon Glass <sjg@chromium.org> To: U-Boot Mailing List <u-boot@lists.denx.de> Cc: Tom Rini <trini@konsulko.com>, Simon Glass <sjg@chromium.org>, Mattijs Korpershoek <mkorpershoek@baylibre.com>, Patrick Delaunay <patrick.delaunay@foss.st.com>, Sean Anderson <sean.anderson@seco.com>, Stefan Roese <sr@denx.de> Subject: [PATCH 158/171] Correct SPL use of UDP_FUNCTION_FASTBOOT Date: Mon, 30 Jan 2023 08:15:59 -0700 Message-Id: <20230130151612.212732-159-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 <u-boot.lists.denx.de> List-Unsubscribe: <https://lists.denx.de/options/u-boot>, <mailto:u-boot-request@lists.denx.de?subject=unsubscribe> List-Archive: <https://lists.denx.de/pipermail/u-boot/> List-Post: <mailto:u-boot@lists.denx.de> List-Help: <mailto:u-boot-request@lists.denx.de?subject=help> List-Subscribe: <https://lists.denx.de/listinfo/u-boot>, <mailto:u-boot-request@lists.denx.de?subject=subscribe> Errors-To: u-boot-bounces@lists.denx.de Sender: "U-Boot" <u-boot-bounces@lists.denx.de> X-Virus-Scanned: clamav-milter 0.103.6 at phobos.denx.de X-Virus-Status: Clean |
Series |
None
|
expand
|
On Mon, Jan 30, 2023 at 08:15, Simon Glass <sjg@chromium.org> wrote: > This converts 1 usage of this option to the non-SPL form, since there is > no SPL_UDP_FUNCTION_FASTBOOT defined in Kconfig > > Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Mattijs Korpershoek <mkorpershoek@baylibre.com> > --- > > cmd/fastboot.c | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > > diff --git a/cmd/fastboot.c b/cmd/fastboot.c > index b94dbd54884..17c53bbe277 100644 > --- a/cmd/fastboot.c > +++ b/cmd/fastboot.c > @@ -21,7 +21,7 @@ static int do_fastboot_udp(int argc, char *const argv[], > { > int err; > > - if (!CONFIG_IS_ENABLED(UDP_FUNCTION_FASTBOOT)) { > + if (!IS_ENABLED(CONFIG_UDP_FUNCTION_FASTBOOT)) { > pr_err("Fastboot UDP not enabled\n"); > return CMD_RET_FAILURE; > } > -- > 2.39.1.456.gfc5497dd1b-goog
diff --git a/cmd/fastboot.c b/cmd/fastboot.c index b94dbd54884..17c53bbe277 100644 --- a/cmd/fastboot.c +++ b/cmd/fastboot.c @@ -21,7 +21,7 @@ static int do_fastboot_udp(int argc, char *const argv[], { int err; - if (!CONFIG_IS_ENABLED(UDP_FUNCTION_FASTBOOT)) { + if (!IS_ENABLED(CONFIG_UDP_FUNCTION_FASTBOOT)) { pr_err("Fastboot UDP not enabled\n"); return CMD_RET_FAILURE; }
This converts 1 usage of this option to the non-SPL form, since there is no SPL_UDP_FUNCTION_FASTBOOT defined in Kconfig Signed-off-by: Simon Glass <sjg@chromium.org> --- cmd/fastboot.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)