summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorJason Liu <r64343@freescale.com>2012-02-16 15:45:36 +0800
committerJason Liu <r64343@freescale.com>2012-02-16 18:49:53 +0800
commit41dcb354129b74a9ad6ab1ba5b46900f9cc71687 (patch)
treec92bea759ab9e1222ebf6d44ae67c56428f7d14c /include
parent2a60b1d6c1212dd7673755c6c8a8c346b0f99944 (diff)
ENGR00174652 i.mx6: explicitly set the LPM mode to run mode during early bootup
the reset value of LPM[1:0] in CCM_CLPCR register is b'01, which means system will enter into wait mode on next assertion of dsm_request signal. In order to avoid the system unexpectly enter the wait mode during bootup we need set the LPM mode to run mode explicity during early boot up phase, Anytime, we want system to enter the wait mode, the sw procedure is: mxc_cpu_lp_set(LP_MODE) -> set CCM_CLPCR register -> system enter wait mode This patch also fix linux kernel reboot stress test on i.mx6dl, without this patch linux kernel reboot test will fail random with error like this: [ 12.091220] Bad mode in interrupt handler detected [ 12.096056] Bad mode in interrupt handler detected [ 12.100851] Internal error: Oops - bad mode: 0 [#1] PREEMPT SMP Signed-off-by: Jason Liu <r64343@freescale.com>
Diffstat (limited to 'include')
0 files changed, 0 insertions, 0 deletions