Skip to content

Commit

Permalink
platform: remove platform/drivers/idc.h for Intel platforms
Browse files Browse the repository at this point in the history
For Zephyr builds, only definition needed from platform/drivers/idc.h
was prototype for idc_send_msg(). There's no need to keep the platform
layer just for this, so add the definition to rtos/idc.h for Zephyr
builds, and remove the platform/drivers/idc.h for all Intel platforms.

Signed-off-by: Kai Vehmanen <kai.vehmanen@linux.intel.com>
  • Loading branch information
kv2019i committed Apr 15, 2024
1 parent 2cfc85e commit 74424e0
Show file tree
Hide file tree
Showing 6 changed files with 2 additions and 124 deletions.
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.

3 changes: 2 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 @@ -201,6 +200,8 @@ int idc_msg_status_get(uint32_t core);

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__ */

0 comments on commit 74424e0

Please sign in to comment.