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:
Johan Hedberg 2019-11-19 12:32:32 +02:00 committed by Anas Nashif
commit 8183a7fd29
4 changed files with 69 additions and 0 deletions

View file

@ -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>

View file

@ -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