[PATCH v5 0/1] CONFIG_IS_ENABLED vs IS_ENABLED

Troy Kisky troykiskyboundary at gmail.com
Fri Oct 27 19:45:56 CEST 2023


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 5 changes:
	rebased on denx/next and updated todo with

rm test/usage_of_is_enabled_todo.txt
test/usage_of_is_enabled_check.sh >test/usage_of_is_enabled_todo.txt

And delete the last 2 lines
sed -i '$d' test/usage_of_is_enabled_todo.txt
sed -i '$d' test/usage_of_is_enabled_todo.txt

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   | 232 ++++++++++++++++++++++++++++
 9 files changed, 445 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



More information about the U-Boot mailing list