]> git.dujemihanovic.xyz Git - u-boot.git/commit
cyclic: Add a symbol for SPL
authorSimon Glass <sjg@chromium.org>
Wed, 31 Jul 2024 14:44:08 +0000 (08:44 -0600)
committerAnatolij Gustschin <agust@denx.de>
Wed, 31 Jul 2024 14:51:54 +0000 (16:51 +0200)
commit8ada14b4d9dcdf9d0efa902d80f40b7d3e7b678d
treef8622524fef28392e08f4ce06d023448e5bdf0f4
parent8877bc51a8a4d921ba2f163208b8b1a57ba47c18
cyclic: Add a symbol for SPL

The cyclic subsystem is currently enabled either in all build phases
or none. For tools this should not be enabled, but since lib/shc256.c
and other files include watchdog.h in the host build, we must make
sure that it is not enabled there.

Add an SPL symbol so that there is more control of this.

Add an include into cyclic.h so that tools can include this file.

Signed-off-by: Simon Glass <sjg@chromium.org>
Reviewed-by: Devarsh Thakkar <devarsht@ti.com>
Reviewed-by: Stefan Roese <sr@denx.de>
common/Kconfig
common/Makefile
drivers/watchdog/Kconfig
include/asm-generic/global_data.h
include/cyclic.h