diff options
| author | Tom Rini <[email protected]> | 2024-07-31 13:39:14 -0600 |
|---|---|---|
| committer | Tom Rini <[email protected]> | 2024-07-31 13:39:14 -0600 |
| commit | 7010f22eba35b2a6b66ba37ce565e566ca08c68f (patch) | |
| tree | 5c16c39603495488019a130b5c947951d9f84cff /common | |
| parent | 59ca3a2f20f37fd45e4ccf266ae2df9379c7af91 (diff) | |
| parent | 521d377f7852c037e338c66756982084b1cb0132 (diff) | |
Merge tag 'video-20240731' of https://source.denx.de/u-boot/custodians/u-boot-video
- improve video sync performance with background syncing (cyclic)
- fix dropping characters when pasting commands over the UART
- enable background syncing by default for boards using VIDEO
- make sandbox video more responsive
Diffstat (limited to 'common')
| -rw-r--r-- | common/Kconfig | 9 | ||||
| -rw-r--r-- | common/Makefile | 2 |
2 files changed, 10 insertions, 1 deletions
diff --git a/common/Kconfig b/common/Kconfig index 4bb9f08977a..83c81edac20 100644 --- a/common/Kconfig +++ b/common/Kconfig @@ -626,8 +626,17 @@ config CYCLIC if CYCLIC +config SPL_CYCLIC + bool "General-purpose cyclic execution mechanism (SPL)" + help + This enables a general-purpose cyclic execution infrastructure in SPL, + to allow "small" (run-time wise) functions to be executed at + a specified frequency. Things like LED blinking or watchdog + triggering are examples for such tasks. + config CYCLIC_MAX_CPU_TIME_US int "Sets the max allowed time for a cyclic function in us" + default 100000 if SANDBOX # sandbox video is quite slow default 5000 help The max allowed time for a cyclic function in us. If a functions diff --git a/common/Makefile b/common/Makefile index e9835473420..d871113cbb9 100644 --- a/common/Makefile +++ b/common/Makefile @@ -79,7 +79,7 @@ obj-$(CONFIG_CROS_EC) += cros_ec.o obj-y += dlmalloc.o obj-$(CONFIG_$(SPL_TPL_)SYS_MALLOC_F) += malloc_simple.o -obj-$(CONFIG_CYCLIC) += cyclic.o +obj-$(CONFIG_$(SPL_TPL_)CYCLIC) += cyclic.o obj-$(CONFIG_$(SPL_TPL_)EVENT) += event.o obj-$(CONFIG_$(SPL_TPL_)HASH) += hash.o |
