There is rmobile without ICCICR.
ICCICR is initialized only when ICCICR is defined.
Signed-off-by: Nobuhiro Iwamatsu <nobuhiro.iwamatsu.yj@renesas.com>
Signed-off-by: Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
.align 4
wait_interrupt:
+#ifdef ICCICR
ldr r1, =ICCICR
mov r2, #0x0
str r2, [r1]
ldr r1, =ICCICR
mov r2, #0x1
str r2, [r1]
+#endif
wait_loop:
.long 0xE320F003 /* wfi */
str ip, [sp] /* stash old link register */
mov ip, lr /* save link reg across call */
+
bl s_init
ldr ip, [sp] /* restore save ip */