[PATCH v2 1/2] treewide: Fix wrong CONFIG_IS_ENABLED() handling

Tom Rini trini at konsulko.com
Wed Oct 14 19:43:24 CEST 2020


On Mon, Oct 05, 2020 at 09:57:29AM +0300, Alper Nebi Yasak wrote:

> CONFIG_IS_ENABLED() takes the kconfig name without the CONFIG_ prefix,
> e.g. CONFIG_IS_ENABLED(CLK) for CONFIG_CLK. Some of these were being
> fixed every now and then, see:
> 
>     commit 71ba2cb0d678 ("board: stm32mp1: correct CONFIG_IS_ENABLED usage for LED")
>     commit a5ada25e4213 ("rockchip: clk: fix wrong CONFIG_IS_ENABLED handling")
>     commit 5daf6e56d36c ("common: console: Fix duplicated CONFIG in silent env callback")
>     commit 48bfc31b6484 ("MIPS: bootm: Fix broken boot_env_legacy codepath")
> 
> Fix all files found by `git grep "CONFIG_IS_ENABLED(CONFIG"` by running
> ':%s/CONFIG_IS_ENABLED(CONFIG_\(\w+\))/CONFIG_IS_ENABLED(\1)/g' in vim.
> 
> Signed-off-by: Alper Nebi Yasak <alpernebiyasak at gmail.com>
> Reviewed-by: Simon Glass <sjg at chromium.org>

Applied to u-boot/master, thanks!

-- 
Tom
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 659 bytes
Desc: not available
URL: <https://lists.denx.de/pipermail/u-boot/attachments/20201014/58ba4183/attachment.sig>


More information about the U-Boot mailing list