[U-Boot] [PATCH 1/4] watchdog: Kconfig: Sort entry alphabetically

Stefan Roese sr at denx.de
Mon Apr 29 09:40:20 UTC 2019


On 29.04.19 11:23, Patrice Chotard wrote:
> To make adding new entry easier, sort Kconfig entries in
> alphabetical order.
> 
> Signed-off-by: Patrice Chotard <patrice.chotard at st.com>
> ---
> 
>   drivers/watchdog/Kconfig | 87 ++++++++++++++++++++++++------------------------
>   1 file changed, 44 insertions(+), 43 deletions(-)
> 
> diff --git a/drivers/watchdog/Kconfig b/drivers/watchdog/Kconfig
> index 3bce0aa..4a3ff7a 100644
> --- a/drivers/watchdog/Kconfig
> +++ b/drivers/watchdog/Kconfig
> @@ -26,6 +26,13 @@ config BCM2835_WDT
>   	  This provides basic infrastructure to support BCM2835/2836 watchdog
>   	  hardware, with a max timeout of ~15secs.
>   
> +config IMX_WATCHDOG
> +	bool "Enable Watchdog Timer support for IMX and LSCH2 of NXP"
> +	select HW_WATCHDOG
> +	help
> +	   Select this to enable the IMX and LSCH2 of Layerscape watchdog
> +	   driver.
> +
>   config OMAP_WATCHDOG
>   	bool "TI OMAP watchdog driver"
>   	depends on ARCH_OMAP2PLUS
> @@ -59,14 +66,6 @@ config WDT
>   	  What exactly happens when the timer expires is up to a particular
>   	  device/driver.
>   
> -config WDT_SANDBOX
> -	bool "Enable Watchdog Timer support for Sandbox"
> -	depends on SANDBOX && WDT
> -	help
> -	  Enable Watchdog Timer support in Sandbox. This is a dummy device that
> -	  can be probed and supports all of the methods of WDT, but does not
> -	  really do anything.
> -
>   config WDT_ARMADA_37XX
>   	bool "Marvell Armada 37xx watchdog timer support"
>   	depends on WDT && ARMADA_3700
> @@ -87,6 +86,13 @@ config WDT_ASPEED
>   	  It currently does not support Boot Flash Addressing Mode Detection or
>   	  Second Boot.
>   
> +config WDT_AT91
> +	bool "AT91 watchdog timer support"
> +	depends on WDT
> +	help
> +	   Select this to enable Microchip watchdog timer, which can be found on
> +	   some AT91 devices.
> +
>   config WDT_BCM6345
>   	bool "BCM6345 watchdog timer support"
>   	depends on WDT && (ARCH_BMIPS || ARCH_BCM6858 || ARCH_BCM63158)
> @@ -95,14 +101,6 @@ config WDT_BCM6345
>   	  The watchdog timer is stopped when initialized.
>   	  It performs full SoC reset.
>   
> -config WDT_ORION
> -	bool "Orion watchdog timer support"
> -	depends on WDT
> -	select CLK
> -	help
> -	   Select this to enable Orion watchdog timer, which can be found on some
> -	   Marvell Armada chips.
> -
>   config WDT_CDNS
>   	bool "Cadence watchdog timer support"
>   	depends on WDT
> @@ -111,6 +109,20 @@ config WDT_CDNS
>   	   Select this to enable Cadence watchdog timer, which can be found on some
>   	   Xilinx Microzed Platform.
>   
> +config WDT_MPC8xx
> +	bool "MPC8xx watchdog timer support"
> +	depends on WDT && MPC8xx
> +	select CONFIG_MPC8xx_WATCHDOG
> +	help
> +	   Select this to enable mpc8xx watchdog timer
> +
> +config WDT_MT7621
> +	bool "MediaTek MT7621 watchdog timer support"
> +	depends on WDT && ARCH_MT7620
> +	help
> +	   Select this to enable Ralink / Mediatek watchdog timer,
> +	   which can be found on some MediaTek chips.
> +
>   config WDT_MTK
>   	bool "MediaTek watchdog timer support"
>   	depends on WDT && ARCH_MEDIATEK
> @@ -119,39 +131,28 @@ config WDT_MTK
>   	  The watchdog timer is stopped when initialized.
>   	  It performs full SoC reset.
>   
> -config XILINX_TB_WATCHDOG
> -	bool "Xilinx Axi watchdog timer support"
> +config WDT_ORION
> +	bool "Orion watchdog timer support"
>   	depends on WDT
> -	imply WATCHDOG
> +	select CLK
>   	help
> -	   Select this to enable Xilinx Axi watchdog timer, which can be found on some
> -	   Xilinx Microblaze Platforms.
> +	   Select this to enable Orion watchdog timer, which can be found on some
> +	   Marvell Armada chips.
>   
> -config IMX_WATCHDOG
> -	bool "Enable Watchdog Timer support for IMX and LSCH2 of NXP"
> -	select HW_WATCHDOG
> +config WDT_SANDBOX
> +	bool "Enable Watchdog Timer support for Sandbox"
> +	depends on SANDBOX && WDT
>   	help
> -	   Select this to enable the IMX and LSCH2 of Layerscape watchdog
> -	   driver.
> +	  Enable Watchdog Timer support in Sandbox. This is a dummy device that
> +	  can be probed and supports all of the methods of WDT, but does not
> +	  really do anything.
>   
> -config WDT_AT91
> -	bool "AT91 watchdog timer support"
> +config XILINX_TB_WATCHDOG
> +	bool "Xilinx Axi watchdog timer support"
>   	depends on WDT
> +	imply WATCHDOG
>   	help
> -	   Select this to enable Microchip watchdog timer, which can be found on
> -	   some AT91 devices.
> -
> -config WDT_MT7621
> -	bool "MediaTek MT7621 watchdog timer support"
> -	depends on WDT && ARCH_MT7620
> -	help
> -	   Select this to enable Ralink / Mediatek watchdog timer,
> -	   which can be found on some MediaTek chips.
> -
> -config WDT_MPC8xx
> -	bool "MPC8xx watchdog timer support"
> -	depends on WDT && MPC8xx
> -	help
> -	   Select this to enable mpc8xx watchdog timer
> +	   Select this to enable Xilinx Axi watchdog timer, which can be found on some
> +	   Xilinx Microblaze Platforms.
>   
>   endmenu
> 

Reviewed-by: Stefan Roese <sr at denx.de>

Thanks,
Stefan


More information about the U-Boot mailing list