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 5B1D3EB64D9 for ; Mon, 19 Jun 2023 23:07:25 +0000 (UTC) Received: from h2850616.stratoserver.net (localhost [IPv6:::1]) by phobos.denx.de (Postfix) with ESMTP id 3796986043; Tue, 20 Jun 2023 01:07:23 +0200 (CEST) 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="VtoWiHwv"; dkim-atps=neutral Received: by phobos.denx.de (Postfix, from userid 109) id 5AC7086146; Tue, 20 Jun 2023 01:07:21 +0200 (CEST) Received: from mail-pf1-x432.google.com (mail-pf1-x432.google.com [IPv6:2607:f8b0:4864:20::432]) (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 4730F847D3 for ; Tue, 20 Jun 2023 01:07:18 +0200 (CEST) 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-pf1-x432.google.com with SMTP id d2e1a72fcca58-668709767b1so1376899b3a.2 for ; Mon, 19 Jun 2023 16:07:18 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20221208; t=1687216036; x=1689808036; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:from:to:cc:subject:date:message-id:reply-to; bh=Jp17g/N4J5KrwUwm3wYlJUv2CFEf6SJlmA7Eml23XPk=; b=VtoWiHwvkdCy1qB7SzZLZZVHU6X96Fi0iS35NuK+TQYzH4Ryd3oSD0ydMi+U+VoL6Z qeZfaoiwdbUCvXE72m5LBrMqaX60wGv2T31fwpcYWtJ5tkGnh2fYL3K8hDmBP9vqapUR Jk8Grvxjz6Qx3R1nEuY/9VdPdfRqYbcVU43/KegmsFlx7JDxUYpFrhbBiGALiBHUvaMX fvN1IxR8uTQ2lBz4JB2ZmoeRmAOqxdaohcKVHf+0tiY8s3eTsKYT5mKC+6Fdui3RkIhg HeZWmkvasvz+HGQrp2tBUgO41G83qrUgM4/SIrnHDhSUFqrTMeQkLPhdNzKxjArL5WfQ Ad7A== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1687216036; x=1689808036; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=Jp17g/N4J5KrwUwm3wYlJUv2CFEf6SJlmA7Eml23XPk=; b=EUwPjOYwV5WZogAAHZul6zVRh1wjIqxDMXuQHtaqbPrRJbqGSws3Jc2nUse80vePdE Y14PwPJ7l/dULbomU7sK4XJkSRcfUvyd5kgwO2jExK/BJcFKi4rkjKiz2nocLLbpdOib acZ5Y/+UzlfEbQ/tMIeaWiV1Etd3U13yy4PfKgpi+sqF58efhfGpq2qODmlvMNc1wHAm KbJ4etRpFMM+UwyNKRUTE/AGMlO8ZIUpMk4MHRmVJRAPPoyzYlh/3DcTsk5cjOe3d5n5 UyLOVx7Ur6xpqfcRhGDNBjvDBYePdJXOSvr8ANpfSPALiEnRF7FOMXMDJez16oavFgFG GNpg== X-Gm-Message-State: AC+VfDzbudHOgfl1VsAAIYh/bUTCXObNSJHlEA5f19Lck6UHMCUpDHW8 8CNFMyqUCFHVCxwm60MFH+Y= X-Google-Smtp-Source: ACHHUZ6k+rl7Objnw28B3pTqwJ+umoDf2uS8MUU/REEc2ceR7HchQpTFA1FSRhP7tvM7FjRttAR0Dw== X-Received: by 2002:a05:6a00:1398:b0:668:7292:b2d4 with SMTP id t24-20020a056a00139800b006687292b2d4mr6245299pfg.8.1687216036463; Mon, 19 Jun 2023 16:07:16 -0700 (PDT) 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 g2-20020aa78742000000b0064f46570bb7sm146892pfo.167.2023.06.19.16.07.14 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 19 Jun 2023 16:07:15 -0700 (PDT) From: Troy Kisky To: sjg@chromium.org, trini@konsulko.com, u-boot@lists.denx.de Cc: gary.bisson@lairdconnect.com, Troy Kisky , Heinrich Schuchardt , Joel Stanley , Marek Vasut , =?UTF-8?q?Pali=20Roh=C3=A1r?= , Peter Hoyes Subject: [PATCH v4 0/1] CONFIG_IS_ENABLED vs IS_ENABLED Date: Mon, 19 Jun 2023 16:06:54 -0700 Message-Id: <20230619230655.2406929-1-troykiskyboundary@gmail.com> X-Mailer: git-send-email 2.34.1 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.8 at phobos.denx.de X-Virus-Status: Clean This patch set gets ready to checks the usage of CONFIG_IS_ENABLED/IS_ENABLED. After the set has been applied, you can delete test/usage_of_is_enabled_todo.txt and run test/usage_of_is_enabled_commit.sh The script test/usage_of_is_enabled_check.sh checks for new questionable uses of CONFIG_IS_ENABLED/IS_ENABLED and is added to .azure-pipelines.yml, and .gitlab-ci.yml version 4 changes: Down to just one patch, other issue fixed by other means Added the following new configs to todo ACPI DM_CLK FEC_MXC FWU_MULTI_BANK_UPDATE IMX8M_VDD_SOC_850MV MCFTMR PANEL SANDBOX64 SPLASH_SCREEN SPLASH_SOURCE SPL_LOAD_FIT USB_ETH_RNDIS VIDEO VIDEO_BPP16 VIDEO_BPP32 VIDEO_BPP8 VIDEO_LOGO X86_32BIT_INIT version 3 changes: Dropped changes to puma-rk3399 and ringneck-px30 in favor of Quentin Schulz's patch https://patchwork.ozlabs.org/project/uboot/patch/20230301-tsd-env-nowhere-kconfig-v1-1-d5c08e096906@theobroma-systems.com/ https://patchwork.ozlabs.org/project/uboot/patch/20230301-tsd-env-nowhere-kconfig-v1-2-d5c08e096906@theobroma-systems.com/ Please apply them before this series. Drop gateworks: venice: Always define setup_fec and setup_eqos Drop arm: cpu: armv7: ls102xa: fdt: remove eth_device support Simon's patches took care of these Add to todo list, these new questionable uses that snuck into the code. PARTITION_TYPE_GUID PHY_ATHEROS RTC_SANDBOX (no changes since v1) Troy Kisky (1): CI: add test/usage_of_is_enabled_check.sh .azure-pipelines.yml | 11 ++ .gitlab-ci.yml | 5 + test/usage_of_is_enabled_check.sh | 19 +++ test/usage_of_is_enabled_commit.sh | 12 ++ test/usage_of_is_enabled_correct.sh | 50 +++++++ test/usage_of_is_enabled_exempt.txt | 9 ++ test/usage_of_is_enabled_list.sh | 86 +++++++++++ test/usage_of_is_enabled_splcfg.txt | 21 +++ test/usage_of_is_enabled_todo.txt | 213 ++++++++++++++++++++++++++++ 9 files changed, 426 insertions(+) create mode 100755 test/usage_of_is_enabled_check.sh create mode 100755 test/usage_of_is_enabled_commit.sh create mode 100755 test/usage_of_is_enabled_correct.sh create mode 100644 test/usage_of_is_enabled_exempt.txt create mode 100755 test/usage_of_is_enabled_list.sh create mode 100644 test/usage_of_is_enabled_splcfg.txt create mode 100644 test/usage_of_is_enabled_todo.txt -- 2.34.1