[PATCH v2] spl: watchdog: introduce SPL_HW_WATCHDOG

Tom Rini trini at konsulko.com
Wed Aug 23 16:43:01 CEST 2023


On Wed, Aug 23, 2023 at 03:00:14PM +0300, Oleksandr Suvorov wrote:

> Add SPL_HW_WATCHDOG Kconfig symbol which can be used to enable
> non-WDT hardware watchdog in SPL.
> 
> Co-developed-by: Igor Opaniuk <igor.opaniuk at foundries.io>
> Signed-off-by: Igor Opaniuk <igor.opaniuk at foundries.io>
> Signed-off-by: Oleksandr Suvorov <oleksandr.suvorov at foundries.io>
> ---
> 
> Changes in v2:
> - remove mistakenly included unwanted changes
> 
>  common/spl/Kconfig        | 1 -
>  drivers/Makefile          | 1 +
>  drivers/sysreset/Kconfig  | 6 ++++++
>  drivers/sysreset/Makefile | 2 +-
>  drivers/watchdog/Kconfig  | 4 ++++
>  5 files changed, 12 insertions(+), 2 deletions(-)
> 
> diff --git a/common/spl/Kconfig b/common/spl/Kconfig
> index c5dd476db58..07d9dac29bd 100644
> --- a/common/spl/Kconfig
> +++ b/common/spl/Kconfig
> @@ -1351,7 +1351,6 @@ config SPL_THERMAL
>  
>  config SPL_WATCHDOG
>  	bool "Support watchdog drivers"
> -	imply SPL_WDT if !HW_WATCHDOG

Taking out an imply here probably breaks or at least changes boards.
What exactly are the conditions you need to change  here?

-- 
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/20230823/531362ef/attachment.sig>


More information about the U-Boot mailing list