[PATCH v2 2/8] linux/kconfig.h: remove unused helper macros
Bin Meng
bmeng.cn at gmail.com
Tue Jul 7 09:18:12 CEST 2020
On Sat, Jul 4, 2020 at 12:37 AM Simon Glass <sjg at chromium.org> wrote:
>
> From: Rasmus Villemoes <rasmus.villemoes at prevas.dk>
>
> U-Boot does not have loadable modules, and nothing currently uses any
> of the (CONFIG_)?IS_(BUILTIN|MODULE) macros - only
> the (CONFIG_)?IS_ENABLED variants are ever used.
>
> While I understand the desire to keep this somewhat synchronized with
> linux, we've already departed by the introduction of the
> CONFIG_IS_ENABLED extra logic, and deleting these makes the next patch
> much simpler, since I won't have to duplicate a lot of logic for no
> real gain (as there are no users).
>
> Signed-off-by: Rasmus Villemoes <rasmus.villemoes at prevas.dk>
> Reviewed-by: Simon Glass <sjg at chromium.org>
> Signed-off-by: Simon Glass <sjg at chromium.org>
> ---
>
> (no changes since v1)
>
> include/linux/kconfig.h | 40 +++++-------------------------------
> scripts/config_whitelist.txt | 2 --
> 2 files changed, 5 insertions(+), 37 deletions(-)
>
applied to u-boot-x86, thanks!
More information about the U-Boot
mailing list