Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

platform: remove platform/drivers/idc.h for Intel platforms #9049

Merged
merged 2 commits into from
Apr 16, 2024
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
5 changes: 5 additions & 0 deletions src/idc/zephyr_idc.c
Original file line number Diff line number Diff line change
Expand Up @@ -54,6 +54,11 @@ void idc_init_thread(void)
{
}

int idc_send_msg(struct idc_msg *msg, uint32_t mode)
{
return -ENOTSUP;
}

#else

K_P4WQ_ARRAY_DEFINE(q_zephyr_idc, CONFIG_CORE_COUNT, SOF_STACK_SIZE,
Expand Down
25 changes: 0 additions & 25 deletions src/platform/intel/ace/include/ace/drivers/idc.h

This file was deleted.

39 changes: 0 additions & 39 deletions src/platform/intel/cavs/include/cavs/drivers/idc.h

This file was deleted.

19 changes: 0 additions & 19 deletions src/platform/lunarlake/include/platform/drivers/idc.h

This file was deleted.

19 changes: 0 additions & 19 deletions src/platform/meteorlake/include/platform/drivers/idc.h

This file was deleted.

21 changes: 0 additions & 21 deletions src/platform/tigerlake/include/platform/drivers/idc.h

This file was deleted.

5 changes: 4 additions & 1 deletion zephyr/include/rtos/idc.h
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,6 @@
#ifndef __ZEPHYR_RTOS_IDC_H__
#define __ZEPHYR_RTOS_IDC_H__

#include <platform/drivers/idc.h>
#include <rtos/task.h>
#include <sof/trace/trace.h>
#include <user/trace.h>
Expand Down Expand Up @@ -199,8 +198,12 @@ int idc_wait_in_blocking_mode(uint32_t target_core, bool (*cond)(int));

int idc_msg_status_get(uint32_t core);

int idc_init(void);

void idc_init_thread(void);

int idc_send_msg(struct idc_msg *msg, uint32_t mode);

struct idc **idc_get(void);

#endif /* __ZEPHYR_RTOS_IDC_H__ */