Add channel number to dmac in legacy platforms, and change the dma_init
function to fit the curruct code framework.
Signed-off-by: Pan Xiuli <xiuli.pan@linux.intel.com>
Added script I used to read preprocessor output during preprocessor metaprogramming development. Normally it is highly unreadable, this tool makes things a wee bit easier.
Signed-off-by: Michal Jerzy Wierzbicki <michalx.wierzbicki@linux.intel.com>
position for trace->pos is not updated, make error trace only show the
newest one. Now update the pos to make all error trace can be seen.
Signed-off-by: Pan Xiuli <xiuli.pan@linux.intel.com>
Some platforms like APL, CNL and ICL have a ROM that read the manifest
and loads the boot loader. This builds a simple ROM so that qemu can
boot APL, CNL and ICL firmware images for CI boot testing.
Signed-off-by: Liam Girdwood <liam.r.girdwood@linux.intel.com>
Bit mask setting macros for for specific parameters were expanded
in a way that was causing unexpected compiler behaviour. Specifically:
literal 1 was treated as 32bit integer ((1 << ((b_hi)-(b_lo) + 1)) -1)
was expanded to shift the 32bit integer by 32. ((1 << (31 - 0 + 1)) -1)
Macro MASK() was was missing left shift.
Signed-off-by: Lech Betlej <lech.betlej@linux.intel.com>
sof-apl-hdmi.m4 is no longer needed.
It was used in early stage of HDA enablement as the 1st reference.
Now HDA settings are added to UP2/GLK/WHL platform m4 files.
Signed-off-by: Mengdong Lin <mengdong.lin@linux.intel.com>
Case when w_ptr and r_ptr of dma buffer are equal, means
that buffer is empty. During adding traces to buffer, we
should't lead to that equality.
Signed-off-by: Bartosz Kokoszko <bartoszx.kokoszko@linux.intel.com>
we now using git tag for version number control, but if
we release the code without .git/ folder, the git tag version
number is not present, so will cause compile error.
add the .tarball-version file as the local version number file,
it still can be generated by the autogen.sh from git tag. So
everytime anyone make a git tag should still modify the
.tarball-version file.
Signed-off-by: Zhu Yingjiang <yingjiang.zhu@linux.intel.com>
Added tool to process coredumps, and to feed gdb commands to examine what caused the dump.
Signed-off-by: Michal Jerzy Wierzbicki <michalx.wierzbicki@linux.intel.com>
In functions pipeline_buffer_connect and pipeline_comp_connect
I have removed possibility to make log with pipe/comp ids, because
pipeline ptr in struct comp_dev is not initialize until
connect_upstream or connect_downstream invocation.
fixes#562
Signed-off-by: Bartosz Kokoszko <bartoszx.kokoszko@linux.intel.com>
Unified access macros across ApolloLake, CannonLake, SueCreek, Icelake.
Including clean up in HP SRAM init procedure at boot loader.
Signed-off-by: Lech Betlej <lech.betlej@linux.intel.com>