Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion src/init/init.c
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@
#include <zephyr/logging/log_ctrl.h>
#include <user/abi_dbg.h>
#include <sof_versions.h>
#include <version.h>
#include <zephyr/version.h>
#endif
#include <sof/lib/ams.h>

Expand Down
4 changes: 3 additions & 1 deletion src/ipc/ipc-common.c
Original file line number Diff line number Diff line change
Expand Up @@ -330,11 +330,13 @@ __cold int ipc_init(struct sof *sof)
#endif

#ifdef __ZEPHYR__
struct k_thread *thread = &sof->ipc->ipc_send_wq.thread;
k_tid_t thread;

k_work_queue_start(&sof->ipc->ipc_send_wq, ipc_send_wq_stack,
K_THREAD_STACK_SIZEOF(ipc_send_wq_stack), 1, NULL);

thread = k_work_queue_thread_get(&sof->ipc->ipc_send_wq);

k_thread_suspend(thread);

#ifdef CONFIG_SCHED_CPU_MASK
Expand Down
2 changes: 1 addition & 1 deletion src/ipc/ipc-zephyr.c
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
// Andrey Borisovich <andrey.borisovich@intel.com>
// Adrian Warecki <adrian.warecki@intel.com>

#include <autoconf.h>
#include <zephyr/autoconf.h>

#include <zephyr/kernel.h>
#include <zephyr/ipc/ipc_service.h>
Expand Down
2 changes: 1 addition & 1 deletion src/trace/dma-trace.c
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@
#include <sof_versions.h>

#ifdef __ZEPHYR__
#include <version.h>
#include <zephyr/version.h>
#endif

#include <errno.h>
Expand Down
2 changes: 1 addition & 1 deletion west.yml
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ manifest:

- name: zephyr
repo-path: zephyr
revision: ee13f80fd5ede26838d461914858b9cc8cdb652f
revision: 3841a72452ec13ff7a0a5df14f514e7870b71817
remote: zephyrproject

# Import some projects listed in zephyr/west.yml@revision
Expand Down
3 changes: 2 additions & 1 deletion zephyr/edf_schedule.c
Original file line number Diff line number Diff line change
Expand Up @@ -102,7 +102,7 @@ static struct scheduler_ops schedule_edf_ops = {

__cold int scheduler_init_edf(void)
{
struct k_thread *thread = &edf_workq.thread;
k_tid_t thread;

assert_can_be_cold();

Expand All @@ -113,6 +113,7 @@ __cold int scheduler_init_edf(void)
K_THREAD_STACK_SIZEOF(edf_workq_stack),
CONFIG_EDF_THREAD_PRIORITY, NULL);

thread = k_work_queue_thread_get(&edf_workq);
k_thread_suspend(thread);

k_thread_heap_assign(thread, sof_sys_heap_get());
Expand Down
2 changes: 1 addition & 1 deletion zephyr/lib/alloc.c
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ struct vmh_heap *virtual_buffers_heap;
#include <zephyr/init.h>
#include <zephyr/kernel.h>
#include <zephyr/pm/policy.h>
#include <version.h>
#include <zephyr/version.h>
#include <zephyr/sys/__assert.h>
#include <zephyr/cache.h>

Expand Down
2 changes: 1 addition & 1 deletion zephyr/lib/cpu.c
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ static uint32_t mic_disable_status;
#include "../audio/copier/copier.h"

/* Zephyr includes */
#include <version.h>
#include <zephyr/version.h>
#include <zephyr/kernel.h>
#include <zephyr/kernel/smp.h>
#include <zephyr/device.h>
Expand Down
2 changes: 1 addition & 1 deletion zephyr/wrapper.c
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@
#include <zephyr/kernel_structs.h>
#include <zephyr/kernel.h>
#include <zephyr/pm/policy.h>
#include <version.h>
#include <zephyr/version.h>
#include <zephyr/sys/__assert.h>
#include <zephyr/logging/log_ctrl.h>
#include <zephyr/logging/log.h>
Expand Down
Loading