mirror of
https://gitee.com/Vancouver2017/luban-lite.git
synced 2025-12-29 01:06:56 +00:00
V1.0.5
This commit is contained in:
@@ -310,17 +310,6 @@ static rt_bool_t _pm_device_check_idle(void)
|
||||
}
|
||||
}
|
||||
|
||||
#ifdef AIC_CHIP_AIC1606SP
|
||||
//check CSYS/SCSS/SESS is idle
|
||||
volatile uint32_t cpu_status = 0;
|
||||
#define PRCM_CPU_STATUS 0x8800010C
|
||||
|
||||
cpu_status = readl((void *)PRCM_CPU_STATUS);
|
||||
if (cpu_status == 0x7)
|
||||
return RT_TRUE;
|
||||
else
|
||||
return RT_FALSE;
|
||||
#endif
|
||||
|
||||
return RT_TRUE;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user