From patchwork Fri Feb 24 18:10:35 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Troy Kisky X-Patchwork-Id: 1747643 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 (2048-bit key; unprotected) header.d=gmail.com header.i=@gmail.com header.a=rsa-sha256 header.s=20210112 header.b=IcIYMLG3; 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 4PNdVk429zz240f for ; Sat, 25 Feb 2023 05:20:46 +1100 (AEDT) Received: from h2850616.stratoserver.net (localhost [IPv6:::1]) by phobos.denx.de (Postfix) with ESMTP id B534A85C00; Fri, 24 Feb 2023 19:20:03 +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="IcIYMLG3"; dkim-atps=neutral Received: by phobos.denx.de (Postfix, from userid 109) id EC72D85B82; Fri, 24 Feb 2023 19:11:34 +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,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,FREEMAIL_FROM,SPF_HELO_NONE, SPF_PASS autolearn=ham autolearn_force=no version=3.4.2 Received: from mail-pl1-x630.google.com (mail-pl1-x630.google.com [IPv6:2607:f8b0:4864:20::630]) (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 ECFBA85B82 for ; Fri, 24 Feb 2023 19:11:16 +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-pl1-x630.google.com with SMTP id c1so337514plg.4 for ; Fri, 24 Feb 2023 10:11:16 -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=UxvcN6z6AGFrrAw7T+ijAcW95ni0Kksr6FIzFDUM7wM=; b=IcIYMLG3SaHY3XF5HvfDhQhx6UqbZRN+JmTMs+nFveiwbZPjoXx1NsFHCXsWa+bwfj aYhXaK48Q9Le1Mf6knTpvuon2j3/73NLnYQzztqSuGfdn/yu6okhayBXUHZRFDdHxnp9 museWvm3RL0DglA1ajL4HZqG8i3ATK/ONjHSGEU9PsX3SkhYbTrdeEJ5egxMfBCMI6oA v73VpbRWd5wIR1H59/75flB/gWZoWiR6eSjFCWWOE6Ojgtb5ulDcRo4n0rLkSeY9BWGi 0PYxDbDRFCk98yJaPSc6ZUIk6RwVirvAl7jrNGAmPU9lHCPg8hoduQY+OVyVhO6Pp/uc 09XQ== 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=UxvcN6z6AGFrrAw7T+ijAcW95ni0Kksr6FIzFDUM7wM=; b=so6J4Rw8qQRY3+pAdy7jbvpuL35aslwekGJqfCKwNHWTg0Ib/GaeN7BpHDiV8+R0nv HU4E454OPHVixp5xDB/4ge0g74J8N9XMQu+gCJWZ+vkFjJ7yxgC70NbY0BEnb8g53kx4 X37QwNJyLCtrnn6x7VGW1vHPSa7RybKVWm5+hU5cbKCAZxv3qxjYW1grflBi3hh7we+w yFi9mLag+fRWGsICuHftkkTRKjIsGBlfnr9A10wgDP5FS6uf551OhPoekUHFdSSOjFFH z7NnweDxV08klx+c05Fy1Y5POQq6PISdPCQwHcyW5bcAQtHpI83HGThZ+VFcLPAAy7Iq tDxg== X-Gm-Message-State: AO0yUKX3KGx3xZsSjLDiV/9AVN3LMOsTrb1Ll9mW0SG5Bj5VNuPB52tH x1y/ehGoL1wUB4x2hjT1tKY= X-Google-Smtp-Source: AK7set/7OgrMz4qzNYH2+053n9YhomPSDy9FSePtJqAIwLbNlSzdPWMwwWbnIpaJz+cafVD3WhYopA== X-Received: by 2002:a17:902:cec2:b0:19a:821b:486 with SMTP id d2-20020a170902cec200b0019a821b0486mr19328877plg.45.1677262276490; Fri, 24 Feb 2023 10:11:16 -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.11.15 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 24 Feb 2023 10:11:16 -0800 (PST) From: Troy Kisky To: sjg@chromium.org, trini@konsulko.com, u-boot@lists.denx.de Cc: gary.bisson@lairdconnect.com, Troy Kisky , Klaus Goger , Quentin Schulz Subject: [PATCH v2 14/26] puma-rk3399: use IS_ENABLED_NOCHECK to avoid CI test failure for ENV_IS_NOWHERE Date: Fri, 24 Feb 2023 10:10:35 -0800 Message-Id: <20230224181047.2775829-15-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 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 When usage_of_is_enabled_check.sh is added, this will show a false positive for IS_ENABLED(CONFIG_ENV_IS_NOWHERE). Use IS_ENABLED_NOCHECK to avoid check and error on SPL builds. Signed-off-by: Troy Kisky Reviewed-by: Simon Glass --- Changes in v2: - keep #error, but change condition to use IS_ENABLED_NOCHECK board/theobroma-systems/puma_rk3399/puma-rk3399.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/board/theobroma-systems/puma_rk3399/puma-rk3399.c b/board/theobroma-systems/puma_rk3399/puma-rk3399.c index 97f398bd754..d1e3a544974 100644 --- a/board/theobroma-systems/puma_rk3399/puma-rk3399.c +++ b/board/theobroma-systems/puma_rk3399/puma-rk3399.c @@ -136,7 +136,7 @@ int mmc_get_env_dev(void) return CONFIG_SYS_MMC_ENV_DEV; } -#if !IS_ENABLED(CONFIG_ENV_IS_NOWHERE) +#if !IS_ENABLED_NOCHECK(CONFIG_ENV_IS_NOWHERE) #error Please enable CONFIG_ENV_IS_NOWHERE #endif