mirror of https://github.com/thesofproject/sof.git
Replacing #define for WAITI behavior.
A non-platform define may be easily shared by other platforms without adding || define(CONFIG_...) in the arch code. Signed-off-by: Marcin Maka <marcin.maka@linux.intel.com>
This commit is contained in:
parent
45e9bc422a
commit
fba1f1b106
|
@ -30,7 +30,7 @@
|
|||
|
||||
#include <xtensa/xtruntime.h>
|
||||
|
||||
#if defined(CONFIG_CANNONLAKE)
|
||||
#if defined(PLATFORM_WAITI_DELAY)
|
||||
|
||||
static inline void arch_wait_for_interrupt(int level)
|
||||
{
|
||||
|
|
|
@ -40,6 +40,8 @@
|
|||
|
||||
struct sof;
|
||||
|
||||
#define PLATFORM_WAITI_DELAY 1
|
||||
|
||||
#define PLATFORM_SSP_COUNT 3
|
||||
#define MAX_GPDMA_COUNT 2
|
||||
|
||||
|
|
Loading…
Reference in New Issue