Xtensa port: Fixed tests/kernel/context to compile with Xtensa internal timer.
Change-Id: I4293adf23b7d46851747e3bcdd41b4a09e8fff05 Signed-off-by: Mazen NEIFER <mazen@nestwave.com>
This commit is contained in:
parent
e4e3cf604e
commit
daf28fa339
1 changed files with 3 additions and 0 deletions
|
@ -51,6 +51,9 @@
|
|||
/* MVIC case */
|
||||
#define TICK_IRQ CONFIG_MVIC_TIMER_IRQ
|
||||
#endif
|
||||
#elif defined(CONFIG_XTENSA)
|
||||
#include <xtensa_timer.h>
|
||||
#define TICK_IRQ XT_TIMER_INTNUM
|
||||
#elif defined(CONFIG_ALTERA_AVALON_TIMER)
|
||||
#define TICK_IRQ TIMER_0_IRQ
|
||||
#elif defined(CONFIG_ARCV2_TIMER)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue