arm: scb: Move SCB asm defines into cpu_idle.S
As cpu_idle.S is the only bit of code that is using the SCB asm defines, so to allow us to remove scb.h in the future lets move the defines that are used just into cpu_idle.S Jira: ZEP-1568 Change-Id: I3c3a6f145ec4c1a43f076d079d5fe1694c255b78 Signed-off-by: Kumar Gala <kumar.gala@linaro.org>
This commit is contained in:
parent
772cbd1955
commit
843e3568de
2 changed files with 5 additions and 7 deletions
|
@ -28,6 +28,11 @@ GTEXT(_NanoIdleValClear)
|
|||
GTEXT(k_cpu_idle)
|
||||
GTEXT(k_cpu_atomic_idle)
|
||||
|
||||
#define _SCB_SCR 0xE000ED10
|
||||
|
||||
#define _SCB_SCR_SEVONPEND (1 << 4)
|
||||
#define _SCB_SCR_SLEEPDEEP (1 << 2)
|
||||
#define _SCB_SCR_SLEEPONEXIT (1 << 1)
|
||||
#define _SCR_INIT_BITS _SCB_SCR_SEVONPEND
|
||||
|
||||
/**
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue