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 B97FDC6FA8E for ; Fri, 24 Feb 2023 18:11:11 +0000 (UTC) Received: from h2850616.stratoserver.net (localhost [IPv6:::1]) by phobos.denx.de (Postfix) with ESMTP id 5C3BB85B8A; Fri, 24 Feb 2023 19:11:08 +0100 (CET) Authentication-Results: phobos.denx.de; dmarc=pass (p=none dis=none) header.from=gmail.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=gmail.com header.i=@gmail.com header.b="GEjQ4Ke2"; dkim-atps=neutral Received: by phobos.denx.de (Postfix, from userid 109) id C3DF385B83; Fri, 24 Feb 2023 19:11:05 +0100 (CET) Received: from mail-pj1-x102a.google.com (mail-pj1-x102a.google.com [IPv6:2607:f8b0:4864:20::102a]) (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 159ED85B83 for ; Fri, 24 Feb 2023 19:11:00 +0100 (CET) Authentication-Results: phobos.denx.de; dmarc=pass (p=none dis=none) header.from=gmail.com Authentication-Results: phobos.denx.de; spf=pass smtp.mailfrom=troykiskyboundary@gmail.com Received: by mail-pj1-x102a.google.com with SMTP id c23so12421593pjo.4 for ; Fri, 24 Feb 2023 10:10:59 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; 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=kC9wcN6Tpmuigvb4hzFIOL23d94qZ9WL0Fl7ALH8YjY=; b=GEjQ4Ke2kKHZY9Za8SO6m1jbInS3nJBgH1BkXDNS9sVeZ6FHeawGlNUIZhEXZle0LQ o9s+78MBAhBWk6yq888p/rT5detfvG8JkeXlxJMjvjaN8aiaTMrthEqAGsEDwyuyBTvg pHm/7w1NDzzyLRWY0ZgnrfLM0HhTSjj5wCzm78lynKEe8wZu9XyealdOMdN2nAXFoyot WwH8EZNATQqaBU/uz1rVV4cerFWLchQsSnxTRPgKYLyOwpYdeWdTIvtd4TwbXGp4Qm+8 HEwfI8IDqpQtbVHE1Vrtg0yQvDeghNrHOgCKUhqQ5XID+aHpKbJ2IxTMd7CMBu/ywsDV YnBA== 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=kC9wcN6Tpmuigvb4hzFIOL23d94qZ9WL0Fl7ALH8YjY=; b=fORpLrkJcSCltisafOo7VMItDb1m2FmELpUZyX4XtTpLGIvJxApqbOq08l16J3IdQw bHVZ+saxTq5OZahul/EZ3aQzU2iW7x7Xu0FxZhI9B1YPOstrL6dxDiZrh4XEfms4S/gy dHHN541c6G87HoOOkw5FNhzCTVTxz8lLWe5+jcOIbAjUOPZojKW9jHV63Trsgv5vEEzx PvZk8O2Vscsyl5KiSU18y65Kc8iX1/9kANIW+eJ7sEPdMmzhS3IIywKOOVeNgDjoD0nK 70OoF53FTu1Z3YzHFVYzPR+TnOvy8Ya3akFhTqxmilxV6UDsCwYf48xetfRrvrmSMNYn bQ2Q== X-Gm-Message-State: AO0yUKUrTlwmfdBz0hA9kjagnT7j0rD/+e1nAFKLSuYO/ov1ErWR33uJ 3xkBCF8ZVnrRlPJhutOA6No= X-Google-Smtp-Source: AK7set+MXq13zxhDX1CZsXFkgm8orD71XxqYk4seRPYcUwZqZoHe8t7ZTsRNu87LPLiQTyqqiPl0Fw== X-Received: by 2002:a17:903:246:b0:19c:be0c:738 with SMTP id j6-20020a170903024600b0019cbe0c0738mr6904452plh.59.1677262258414; Fri, 24 Feb 2023 10:10:58 -0800 (PST) Received: from OS2.boundarydevices.com. (wsip-184-189-120-117.oc.oc.cox.net. [184.189.120.117]) by smtp.gmail.com with ESMTPSA id o1-20020a170902bcc100b0019c922911a2sm7513957pls.40.2023.02.24.10.10.57 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 24 Feb 2023 10:10:58 -0800 (PST) From: Troy Kisky To: sjg@chromium.org, trini@konsulko.com, u-boot@lists.denx.de Cc: gary.bisson@lairdconnect.com, Troy Kisky , Masahiro Yamada Subject: [PATCH v2 01/26] kconfig: add IS_ENABLED_NOCHECK to bypass usage_of_is_enabled_check Date: Fri, 24 Feb 2023 10:10:22 -0800 Message-Id: <20230224181047.2775829-2-troykiskyboundary@gmail.com> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20230224181047.2775829-1-troykiskyboundary@gmail.com> References: <20230224181047.2775829-1-troykiskyboundary@gmail.com> 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 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 is for use when a config with an SPL version needs to always check the non-spl verion of the config. It avoids error messages from CI test script usage_of_is_enabled_check.sh Signed-off-by: Troy Kisky --- Changes in v2: - new patch include/linux/kconfig.h | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/include/linux/kconfig.h b/include/linux/kconfig.h index 2bc704e1104..19b71723ab3 100644 --- a/include/linux/kconfig.h +++ b/include/linux/kconfig.h @@ -27,6 +27,11 @@ * 0 otherwise. */ #define IS_ENABLED(option) config_enabled(option, 0) +/* + * Using IS_ENABLED_NOCHECK instead of IS_ENABLED prevents + * complaints from test/usage_of_is_enabled_check.sh + */ +#define IS_ENABLED_NOCHECK(option) config_enabled(option, 0) /* * U-Boot add-on: Helper macros to reference to different macros (prefixed by -- 2.34.1