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 0E140C636CC for ; Tue, 31 Jan 2023 15:02:35 +0000 (UTC) Received: from h2850616.stratoserver.net (localhost [IPv6:::1]) by phobos.denx.de (Postfix) with ESMTP id C52D085A7B; Tue, 31 Jan 2023 16:02:27 +0100 (CET) Authentication-Results: phobos.denx.de; dmarc=none (p=none dis=none) header.from=baylibre.com Authentication-Results: phobos.denx.de; spf=pass smtp.mailfrom=u-boot-bounces@lists.denx.de Authentication-Results: phobos.denx.de; dkim=pass (2048-bit key; unprotected) header.d=baylibre-com.20210112.gappssmtp.com header.i=@baylibre-com.20210112.gappssmtp.com header.b="NsBbPeo7"; dkim-atps=neutral Received: by phobos.denx.de (Postfix, from userid 109) id E592A85AED; Tue, 31 Jan 2023 16:01:28 +0100 (CET) Received: from mail-wr1-x42f.google.com (mail-wr1-x42f.google.com [IPv6:2a00:1450:4864:20::42f]) (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 F3F4B857C8 for ; Tue, 31 Jan 2023 16:00:53 +0100 (CET) Authentication-Results: phobos.denx.de; dmarc=none (p=none dis=none) header.from=baylibre.com Authentication-Results: phobos.denx.de; spf=pass smtp.mailfrom=mkorpershoek@baylibre.com Received: by mail-wr1-x42f.google.com with SMTP id a3so7784868wrt.6 for ; Tue, 31 Jan 2023 07:00:53 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=baylibre-com.20210112.gappssmtp.com; s=20210112; h=mime-version:message-id:date:references:in-reply-to:subject:cc:to :from:from:to:cc:subject:date:message-id:reply-to; bh=SejRMVDn3rjagReGeS+bGbZRWsvS45otHCo8GGXOSv4=; b=NsBbPeo7Zs8uq6qG/XCtsVVOvY+skOHMKEKG7BfijvYdXObQOhL8vhZ8OKGsoNm4Bv WHawJhAwOD0jwJIpTZY/201Ao4BPn5u78P5SgbE4ia51GPrlDbeQHOpAzVu5CfAiO/77 B95ngDWqGnC+xnCCI2BxRJv25RFZ23W7BYjv4I4QpdZXguzO2xZHlGkp31WujN3CYt48 2BwQh//1o12jKeeY3vnkqdFf0aBDrS9LD+tskYDyDBA95loBOguFUodaaMWH4XF61V/9 PysaCar+TsI6GrPJ8St22SsXfuKgzDoUYEUFb9MGvrM7BnCoIfHBuZiCglpdj0tG/uJf i37g== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=mime-version:message-id:date:references:in-reply-to:subject:cc:to :from:x-gm-message-state:from:to:cc:subject:date:message-id:reply-to; bh=SejRMVDn3rjagReGeS+bGbZRWsvS45otHCo8GGXOSv4=; b=YybDaMyv5JLlE+BWYvdibZiOHhWW4V8chSADGBcAGLwUUUtSfrQf6NMfsBpbeOxfgF GsZdlZqW25Vs3fef0osnqZWrtq16mqSiRcoKB2Q98uuUZK6ID84oPKKNqfYKaoB+E/nD NDlY6CbUfk5jv3ouh2WJ/8G5TAg8dc6S5xCx09CsRngUln6Y6aK29YYeQ6taWzwvmBJu HJaSye6JerJA+KiyrdLDZUA37BwsdTA9xn1j8SXO9tPNTlhv3fibyQjhGIklib4EpTCn CcTMbnRrql72+2YO9eJxsD4A7VWsW90JjPrW6VplB+oRtS14o84Ngag8SfXoYqvfNL6a DCQA== X-Gm-Message-State: AO0yUKV41PeqjoWE5d/GuV17YYI2JnoGBCw8HgmpjSVFIHTVIn7mdTP4 pEZRY35RsywWlZvG34Y6N8MZhQ== X-Google-Smtp-Source: AK7set+s9uAoeQcZES+50egU9orZEk4oX4Ma62NiqEdhpPhCKDXM5xu68aegki+9TYYcCZkB7RHUhQ== X-Received: by 2002:a5d:400b:0:b0:2bf:dafa:dfee with SMTP id n11-20020a5d400b000000b002bfdafadfeemr3045710wrp.25.1675177234424; Tue, 31 Jan 2023 07:00:34 -0800 (PST) Received: from localhost ([82.66.159.240]) by smtp.gmail.com with ESMTPSA id f28-20020a5d58fc000000b002be5401ef5fsm15474330wrd.39.2023.01.31.07.00.33 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 31 Jan 2023 07:00:34 -0800 (PST) From: Mattijs Korpershoek To: Simon Glass , U-Boot Mailing List Cc: Tom Rini , Simon Glass , Patrick Delaunay , Sean Anderson , Stefan Roese Subject: Re: [PATCH 161/171] Correct SPL use of USB_FUNCTION_FASTBOOT In-Reply-To: <20230130151612.212732-162-sjg@chromium.org> References: <20230130151612.212732-102-sjg@chromium.org> <20230130151612.212732-162-sjg@chromium.org> Date: Tue, 31 Jan 2023 16:00:32 +0100 Message-ID: <87mt5ykaun.fsf@baylibre.com> MIME-Version: 1.0 Content-Type: text/plain 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 On Mon, Jan 30, 2023 at 08:16, Simon Glass wrote: > This converts 1 usage of this option to the non-SPL form, since there is > no SPL_USB_FUNCTION_FASTBOOT defined in Kconfig > > Signed-off-by: Simon Glass Reviewed-by: Mattijs Korpershoek > --- > > cmd/fastboot.c | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > > diff --git a/cmd/fastboot.c b/cmd/fastboot.c > index 17c53bbe277..97dc02ce748 100644 > --- a/cmd/fastboot.c > +++ b/cmd/fastboot.c > @@ -44,7 +44,7 @@ static int do_fastboot_usb(int argc, char *const argv[], > char *endp; > int ret; > > - if (!CONFIG_IS_ENABLED(USB_FUNCTION_FASTBOOT)) { > + if (!IS_ENABLED(CONFIG_USB_FUNCTION_FASTBOOT)) { > pr_err("Fastboot USB not enabled\n"); > return CMD_RET_FAILURE; > } > -- > 2.39.1.456.gfc5497dd1b-goog