diff options
| author | Simon Glass <[email protected]> | 2024-07-31 08:44:08 -0600 |
|---|---|---|
| committer | Anatolij Gustschin <[email protected]> | 2024-07-31 16:51:54 +0200 |
| commit | 8ada14b4d9dcdf9d0efa902d80f40b7d3e7b678d (patch) | |
| tree | f8622524fef28392e08f4ce06d023448e5bdf0f4 /include/asm-generic | |
| parent | 8877bc51a8a4d921ba2f163208b8b1a57ba47c18 (diff) | |
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 <[email protected]>
Reviewed-by: Devarsh Thakkar <[email protected]>
Reviewed-by: Stefan Roese <[email protected]>
Diffstat (limited to 'include/asm-generic')
| -rw-r--r-- | include/asm-generic/global_data.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/asm-generic/global_data.h b/include/asm-generic/global_data.h index aa336d63e3a..27aa75e7036 100644 --- a/include/asm-generic/global_data.h +++ b/include/asm-generic/global_data.h @@ -481,7 +481,7 @@ struct global_data { */ struct event_state event_state; #endif -#ifdef CONFIG_CYCLIC +#if CONFIG_IS_ENABLED(CYCLIC) /** * @cyclic_list: list of registered cyclic functions */ |
