提交 08543cea 编写于 作者: O openharmony_ci 提交者: Gitee

!140 3518开源板系统启动后未初始化时钟寄存器CNTFRQ,导致系统延时不准

Merge pull request !140 from zhangfanfan2/master
...@@ -156,11 +156,9 @@ LITE_OS_SEC_TEXT_INIT INT32 main(VOID) ...@@ -156,11 +156,9 @@ LITE_OS_SEC_TEXT_INIT INT32 main(VOID)
OsSetMainTask(); OsSetMainTask();
OsCurrTaskSet(OsGetMainTask()); OsCurrTaskSet(OsGetMainTask());
/* set smp system counter freq */ /* set system counter freq */
#if (LOSCFG_KERNEL_SMP == YES)
#ifndef LOSCFG_TEE_ENABLE #ifndef LOSCFG_TEE_ENABLE
HalClockFreqWrite(OS_SYS_CLOCK); HalClockFreqWrite(OS_SYS_CLOCK);
#endif
#endif #endif
/* system and chip info */ /* system and chip info */
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册