arch: arm: Move Cortex-M specific CPU defines

These defines are specific to the Cortex-M.  Move them to their own
header file to prepare for Cortex-R support.

Signed-off-by: Bradley Bolen <bbolen@lexmark.com>
This commit is contained in:
Bradley Bolen 2018-08-10 11:49:06 -04:00 committed by Ioannis Glaropoulos
commit 1514c41cd1
3 changed files with 22 additions and 8 deletions

View file

@ -33,6 +33,7 @@
#include <arch/arm/asm_inline.h>
#ifdef CONFIG_CPU_CORTEX_M
#include <arch/arm/cortex_m/cpu.h>
#include <arch/arm/cortex_m/memory_map.h>
#endif