示例#1
0
文件: platform.c 项目: astarasikov/lk
void platform_quiesce(void)
{
#if ZYNQ_WITH_GEM_ETH
    gem_disable();
#endif

    platform_stop_timer();

    /* stop the 2nd cpu and hold in reset */
    SLCR_REG(A9_CPU_RST_CTRL) |= (1<<1); // reset cpu 1
}
示例#2
0
文件: platform.c 项目: singoc/lk
void platform_quiesce(void)
{
    gem_disable();

    platform_stop_timer();
}