arch: xtensa: Add support for Intel Apollolake
Add the necessary architecture changes for Intel Apollolake. Signed-off-by: Johan Hedberg <johan.hedberg@intel.com>
This commit is contained in:
parent
f13fa8e616
commit
8183a7fd29
4 changed files with 69 additions and 0 deletions
|
@ -18,6 +18,7 @@
|
|||
#include <devicetree.h>
|
||||
#if !defined(_ASMLANGUAGE) && !defined(__ASSEMBLER__)
|
||||
#include <zephyr/types.h>
|
||||
#include <toolchain.h>
|
||||
#include <arch/common/sys_io.h>
|
||||
#include <arch/common/ffs.h>
|
||||
#include <sw_isr_table.h>
|
||||
|
|
|
@ -36,6 +36,12 @@
|
|||
|
||||
#define arch_irq_is_enabled(irq) z_soc_irq_is_enabled(irq)
|
||||
|
||||
#ifdef CONFIG_DYNAMIC_INTERRUPTS
|
||||
extern int z_soc_irq_connect_dynamic(unsigned int irq, unsigned int priority,
|
||||
void (*routine)(void *parameter),
|
||||
void *parameter, u32_t flags);
|
||||
#endif
|
||||
|
||||
#else
|
||||
|
||||
#define CONFIG_NUM_IRQS XCHAL_NUM_INTERRUPTS
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue