Signed-off-by: Joonyoung Shim <jy0922.shim@samsung.com>
/* for UART */
bl uart_asm_init
- /* for DMA */
- bl dma_asm_init
+ /* for TZPC */
+ bl tzpc_asm_init
#endif
#ifdef CONFIG_ONENAND_IPL
mov pc, lr
/*
- * dma_asm_init: Initialize DMA
+ * tzpc_asm_init: Initialize TZPC
*/
-dma_asm_init:
+tzpc_asm_init:
cmp r7, r8
ldreq r0, =0xE3800000 @ TZPC0
ldrne r0, =0xF1500000 @ TZPC0
mov r1, #0xff
str r1, [r0, #0x804]
str r1, [r0, #0x810]
+ strne r1, [r0, #0x81C]
cmp r7, r8
ldreq r0, =0xE2800000 @ TZPC1
ldrne r0, =0xE0600000 @ TZPC2
str r1, [r0, #0x804]
str r1, [r0, #0x810]
+ strne r1, [r0, #0x81C]
+
+ cmp r7, r8
+ ldrne r0, =0xE1C00000 @ TZPC3 S5PC110 only
+ strne r1, [r0, #0x804]
+ strne r1, [r0, #0x810]
+ strne r1, [r0, #0x81C]
mov pc, lr