[PATCH] treewide: Kconfig: use bool instead of tristate

Simon Glass sjg at chromium.org
Thu Jul 2 22:04:49 CEST 2026


On 2026-06-25T03:17:06, Anshul Dalal <anshuld at ti.com> wrote:
> treewide: Kconfig: use bool instead of tristate
>
> U-Boot does not support modules, so having tristate options is useless.
>
> Therefore this patch does a blind replace of all tristate options to
> bool tree-wide.
>
> Signed-off-by: Anshul Dalal <anshuld at ti.com>
> Reviewed-by: Romain Gantois <romain.gantois at bootlin.com>
> Reviewed-by: Quentin Schulz <quentin.schulz at cherry.de>
> Reviewed-by: Heiko Schocher <hs at nabladev.com>
> Reviewed-by: Siddharth Vadapalli <s-vadapalli at ti.com>
> Reviewed-by: Neha Malcom Francis <n-francis at ti.com>
>
> board/st/common/Kconfig      | 2 +-
>  cmd/Kconfig                  | 4 ++--
>  drivers/cache/Kconfig        | 2 +-
>  drivers/clk/Kconfig          | 2 +-
>  drivers/firmware/Kconfig     | 2 +-
>  drivers/i2c/Kconfig          | 6 +++---
>  drivers/i2c/muxes/Kconfig    | 6 +++---
>  drivers/i3c/Kconfig          | 2 +-
>  drivers/i3c/master/Kconfig   | 2 +-
>  drivers/memory/Kconfig       | 2 +-
>  drivers/misc/Kconfig         | 2 +-
>  drivers/mmc/Kconfig          | 4 ++--
>  drivers/mtd/nand/Kconfig     | 2 +-
>  drivers/net/phy/Kconfig      | 4 ++--
>  drivers/spi/Kconfig          | 2 +-
>  drivers/ufs/Kconfig          | 2 +-
>  drivers/usb/cdns3/Kconfig    | 6 +++---
>  drivers/usb/musb-new/Kconfig | 2 +-
>  drivers/usb/tcpm/Kconfig     | 4 ++--
>  19 files changed, 29 insertions(+), 29 deletions(-)

Reviewed-by: Simon Glass <sjg at chromium.org>


More information about the U-Boot mailing list