diff options
author | Tom Rini <trini@konsulko.com> | 2022-11-02 09:10:30 -0400 |
---|---|---|
committer | Tom Rini <trini@konsulko.com> | 2022-11-02 09:10:30 -0400 |
commit | cca41ed3d63f462ca044e0d2d30a34d4917fc6c5 (patch) | |
tree | 098a9c50a140c777bc21517068fe676957fb5e1e /include/asm-generic/global_data.h | |
parent | ec5b8804de3938ad8b4dc51d1cdce622640a14ff (diff) | |
parent | 50128aeb0f8bb5a2d820e4c7a6ac0bb745809fc1 (diff) |
Merge branch 'master' of https://source.denx.de/u-boot/custodians/u-boot-watchdog
- cyclic: get rid of (the need for) cyclic_init() (Rasmus)
Diffstat (limited to 'include/asm-generic/global_data.h')
-rw-r--r-- | include/asm-generic/global_data.h | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/include/asm-generic/global_data.h b/include/asm-generic/global_data.h index c4b2bb4497..02ad8ca595 100644 --- a/include/asm-generic/global_data.h +++ b/include/asm-generic/global_data.h @@ -481,9 +481,9 @@ struct global_data { #endif #ifdef CONFIG_CYCLIC /** - * @cyclic: cyclic driver data + * @cyclic_list: list of registered cyclic functions */ - struct cyclic_drv *cyclic; + struct hlist_head cyclic_list; #endif /** * @dmtag_list: List of DM tags @@ -650,6 +650,10 @@ enum gd_flags { * @GD_FLG_FDT_CHANGED: Device tree change has been detected by tests */ GD_FLG_FDT_CHANGED = 0x100000, + /** + * GD_FLG_CYCLIC_RUNNING: cyclic_run is in progress + */ + GD_FLG_CYCLIC_RUNNING = 0x200000, }; #endif /* __ASSEMBLY__ */ |