imx6ull: Clear PERSIST_SECONDARY_BOOT bit, so we can return to kernel1 when it is ready
@@ -336,6 +336,12 @@ _start:
ldr r0, =imx6ull_bootReason
str r1, [r0]
+ /* Clear PERSIST_SECONDARY_BOOT bit */
+ ldr r0, =0x020d8044
+ ldr r1, [r0]
+ bic r1, r1, #0x40000000
+ str r1, [r0]
+
/* Enable PMU cycle counter */
mrc p15, 0, r0, c9, c12, 0
orr r0, #0x7
