-
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
Misc. Zephyrization fixups #9731
Changes from all commits
3775a93
1de6578
7acca63
17ec23f
27080b0
ffbd25d
25a7440
afd2bbf
442420b
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
config SCHED_CPU_MASK_PIN_ONLY | ||
default y if SMP | ||
|
||
config SMP_BOOT_DELAY | ||
default y if SMP | ||
|
||
source "Kconfig.zephyr" | ||
|
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,4 @@ | ||
CONFIG_DYNAMIC_INTERRUPTS=y | ||
CONFIG_TRACE=n | ||
CONFIG_ZEPHYR_NATIVE_DRIVERS=y | ||
CONFIG_IMX95=y | ||
|
||
|
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -97,6 +97,9 @@ enum dma_cb_status { | |
DMA_CB_STATUS_END, | ||
}; | ||
|
||
#define SOF_DMA_CB_STATUS_RELOAD DMA_CB_STATUS_RELOAD | ||
#define SOF_DMA_CB_STATUS_END DMA_CB_STATUS_END | ||
|
||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Apologies @andyross , I was testing with all AMD/MTK/NXP/Intel targets in upstream, but right, definitions not used in upstream were very likely missed. |
||
/* DMA interrupt commands */ | ||
enum dma_irq_cmd { | ||
DMA_IRQ_STATUS_GET = 0, | ||
|
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -287,7 +287,7 @@ static int primary_core_init(int argc, char *argv[], struct sof *sof) | |
interrupt_init(sof); | ||
#endif /* __ZEPHYR__ */ | ||
|
||
#ifdef CONFIG_ZEPHYR_LOG | ||
#if defined(CONFIG_ZEPHYR_LOG) && !defined(CONFIG_LOG_MODE_MINIMAL) | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Ack, this has been missed. Minimal support indeed a good addition! |
||
log_set_timestamp_func(default_get_timestamp, | ||
sys_clock_hw_cycles_per_sec()); | ||
#endif | ||
|
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -128,9 +128,7 @@ endmenu | |
# this choice covers math iir, math fir, tdfb, and eqfir, eqiir. | ||
choice "FILTER_SIMD_LEVEL_SELECT" | ||
prompt "choose which SIMD level used for IIR/FIR/TDFB module" | ||
depends on COMP_FIR | ||
depends on COMP_IIR | ||
depends on COMP_TDFB | ||
depends on COMP_FIR || COMP_IIR || COMP_TDFB | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. FYI @singalsu |
||
default FILTER_HIFI_MAX | ||
|
||
config FILTER_HIFI_MAX | ||
|
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.
@andyross Ack. CONFIG_TRACE was working with Zephyr at some point, but basicly as Intel has moved to native logging, this code is likely to have bitrotted. For Intel, we are ok to remove it. It was useful at start, but now that there is plenty of infra available in Zephyr (and plenty of examples in SOF how to use it), I don't think it's the worth keeping around anymore. And if it doesn't work anymore, seems like a clear case.