-
Notifications
You must be signed in to change notification settings - Fork 322
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
Conversation
@thesofproject/nxp This should be good for all IMX platforms as we link zephyr_idc.c for all Zephyr SOF platforms. So I think the dummy definition of idc_send_msg() you have in many IMX idc.h platform headers, could be removed as well. I was not sure which platforms are Zephyr-only already. so didn't add this change to this PR yet. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
+1 for the cleanup. Will try to handle the IMX platforms once the native transition stuff is out of the way.
74424e0
to
2f5045e
Compare
V2:
|
Ensure idc_send_msg() is implemented for all platforms linking zephyr_idc. For non-multicore, idc_send_msg() will return -ENOTSUP error. Signed-off-by: Kai Vehmanen <kai.vehmanen@linux.intel.com>
2f5045e
to
816d2fc
Compare
V3:
|
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>
816d2fc
to
bd9fc83
Compare
V4:
|
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.