summaryrefslogtreecommitdiffstats
path: root/firmware/kernel.c
diff options
context:
space:
mode:
Diffstat (limited to 'firmware/kernel.c')
-rw-r--r--firmware/kernel.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/firmware/kernel.c b/firmware/kernel.c
index 1c8bf9dd81..b4123fe3ca 100644
--- a/firmware/kernel.c
+++ b/firmware/kernel.c
@@ -83,7 +83,8 @@ void sleep(int ticks)
void yield(void)
{
-#if CONFIG_CPU == S3C2440 && defined(BOOTLOADER)
+#if (CONFIG_CPU == S3C2440 || defined(ELIO_TPJ1022) && defined(BOOTLOADER))
+ /* Some targets don't like yielding in the bootloader */
#else
switch_thread();
wake_up_thread();