summaryrefslogtreecommitdiffstats
path: root/common/Kconfig
diff options
context:
space:
mode:
authorSascha Hauer <s.hauer@pengutronix.de>2021-03-23 12:15:16 +0100
committerSascha Hauer <s.hauer@pengutronix.de>2021-03-23 12:15:16 +0100
commitac7267ac2580590a9253549d8e129c853b6b30c7 (patch)
tree9425e0d8cfff345312da3af7e963715e776de039 /common/Kconfig
parentf4d9908504e2a35afc4f39da6aa3436903039121 (diff)
parent412806653a147177cba75fb62ea633d74c5ad1ee (diff)
downloadbarebox-ac7267ac2580590a9253549d8e129c853b6b30c7.tar.gz
barebox-ac7267ac2580590a9253549d8e129c853b6b30c7.tar.xz
Merge branch 'for-next/bthreads'
Diffstat (limited to 'common/Kconfig')
-rw-r--r--common/Kconfig13
1 files changed, 13 insertions, 0 deletions
diff --git a/common/Kconfig b/common/Kconfig
index 2170f985be..56064d12c5 100644
--- a/common/Kconfig
+++ b/common/Kconfig
@@ -28,6 +28,11 @@ config HAS_DMA
Drivers that depend on a DMA implementation can depend on this
config, so that you don't get a compilation error.
+config HAS_ARCH_SJLJ
+ bool
+ help
+ Architecture has support implemented for setjmp()/longjmp()/initjmp()
+
config GENERIC_GPIO
bool
@@ -958,6 +963,14 @@ config BAREBOXCRC32_TARGET
config POLLER
bool "generic polling infrastructure"
+config BTHREAD
+ bool "barebox co-operative (green) thread infrastructure"
+ depends on HAS_ARCH_SJLJ
+ help
+ barebox threads are lightweight cooperative (green) threads that are
+ scheduled within delay loops and the console idle to asynchronously
+ execute actions, like checking for link up or feeding a watchdog.
+
config STATE
bool "generic state infrastructure"
select CRC32