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
4 changes: 0 additions & 4 deletions posix/include/rtos/idc.h
Original file line number Diff line number Diff line change
Expand Up @@ -185,10 +185,6 @@ void idc_enable_interrupts(int target_core, int source_core);

void idc_free(uint32_t flags);

int platform_idc_init(void);

int platform_idc_restore(void);

enum task_state idc_do_cmd(void *data);

void idc_cmd(struct idc_msg *msg);
Expand Down
16 changes: 0 additions & 16 deletions src/kernel/idc/idc.c
Original file line number Diff line number Diff line change
Expand Up @@ -476,19 +476,3 @@ __cold int idc_init(void)

return 0;
}

int idc_restore(void)
{
struct idc **idc __unused = idc_get();

tr_info(&idc_tr, "entry");

/* idc_restore() is invoked during D0->D0ix/D0ix->D0 flow. In that
* case basic core structures e.g. idc struct should be already
* allocated (in D0->D0ix primary core disables all secondary cores, but
* memory has not been powered off).
*/
assert(*idc);

return 0;
}
8 changes: 0 additions & 8 deletions src/kernel/platform/imx8ulp/include/platform/lib/memory.h
Original file line number Diff line number Diff line change
Expand Up @@ -104,14 +104,6 @@ struct sof;

void platform_init_memmap(struct sof *sof);

/**
* \brief Function for keeping shared data synchronized.
* It's used after usage of data shared by different cores.
* Such data is dynamically allocated with SOF_MEM_FLAG_SHARED
* flag. Does nothing, since IMX doesn't support SMP.
*/
static inline void platform_shared_commit(void *ptr, int bytes) { }

#endif

#define host_to_local(addr) (SDRAM0_BASE + ((addr) - MEM_RESERVED))
Expand Down
2 changes: 0 additions & 2 deletions src/kernel/platform/imx8ulp/lib/clk.c
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,4 @@ void platform_clock_init(struct sof *sof)
.set_freq = NULL,
};
}

platform_shared_commit(sof->clocks, sizeof(*sof->clocks) * NUM_CLOCKS);
}
120 changes: 0 additions & 120 deletions src/kernel/platform/posix/dai.c

This file was deleted.

1 change: 0 additions & 1 deletion src/kernel/platform/posix/include/platform/platform.h
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,5 @@
struct sof;

void posix_dma_init(struct sof *sof);
void posix_dai_init(struct sof *sof);

#endif /* PLATFORM_POSIX_PLATFORM_PLATFORM_H */
1 change: 0 additions & 1 deletion zephyr/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -554,7 +554,6 @@ endif()
# Building for native_posix-based whole-OS host emulator
zephyr_library_sources_ifdef(CONFIG_ZEPHYR_POSIX
${SOF_PLATFORM_PATH}/posix/dma.c
${SOF_PLATFORM_PATH}/posix/dai.c
${SOF_PLATFORM_PATH}/posix/ipc.c
${SOF_PLATFORM_PATH}/posix/posix.c
)
Expand Down
4 changes: 0 additions & 4 deletions zephyr/include/rtos/idc.h
Original file line number Diff line number Diff line change
Expand Up @@ -76,10 +76,6 @@ void idc_enable_interrupts(int target_core, int source_core);

void idc_free(uint32_t flags);

int platform_idc_init(void);

int platform_idc_restore(void);

enum task_state idc_do_cmd(void *data);

void idc_cmd(struct idc_msg *msg);
Expand Down
Loading