修改代码:
alps/bootable/bootloader/lk/platform/mt6735/mt_kernel_power_off_charging.c
修改:
BOOL kernel_power_off_charging_detection(void);
调用BOOL kernel_power_off_charging_detection(void)函数的位置:
alps/bootable/bootloader/lk/platform/mt6735/boot_mode.c的
#ifdef MTK_KERNEL_POWER_OFF_CHARGING
if(kernel_power_off_charging_detection())
{
printf(" < Kernel Power Off Charging Detection Ok> \n");
return;
}
else
{
printf("< Kernel Enter Normal Boot > \n");
}
#endif
}
阅读(3377) | 评论(0) | 转发(0) |