This patch removes conflicting register access which can make a wrong
cold booting. Currently alive scratch register used for both resume
signature and checking boot sequence but it can cause the conflict.
We should remove this codes which using alive scratch register for
checking boot sequence to avoid scratch register corruption.
Change-Id: I67e509a909b25a095629d7f8a4f5d63849f8958a
Signed-off-by: Dongil Park <dongil01.park@samsung.com>
writel(1, ALIVEPWRGATEREG);
writel(0xFFFFFFFF, SCR_ARM_SECOND_BOOT);
- /* write 0xf0 on alive scratchpad reg for boot success check */
- writel(readl(SCR_SIGNAGURE_READ) | 0xF0, (SCR_SIGNAGURE_SET));
-
/* set l2 cache tieoff */
nx_tieoff_set(NX_TIEOFF_CORTEXA9MP_TOP_QUADL2C_L2RET1N_0, 1);
nx_tieoff_set(NX_TIEOFF_CORTEXA9MP_TOP_QUADL2C_L2RET1N_1, 1);