Skip to content
Commit 9644f678 authored by Youvedeep Singh's avatar Youvedeep Singh Committed by Anas Nashif
Browse files

kernel: boot_delay: change to busy wait instaed of wait



Intention of CONFIG_BOOT_DELAY is to delay booting of system for certain
time. Currently it is only delaying start of _main thread as delay is
created using k_sleep. This leads to putting _main thread into timeout
queue and continue kernel boot. This is causing some of undesirable
effects in some of test Automation usecase.
This patch changes k_sleep to k_busy_wait which result in delay in OS
boot instead of delaying start of _main.

Signed-off-by: default avatarYouvedeep Singh <youvedeep.singh@intel.com>
Signed-off-by: default avatarAnas Nashif <anas.nashif@intel.com>
parent 690a2eaf
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment