static ssize_t store_boot_stat(struct device *dev, struct device_attribute *attr, const char *buf, size_t count) { if (!strncmp(buf, "!@Boot: start init process", 26)) boot_events[SYSTEM_START_INIT_PROCESS].time = get_boot_stat_time(); return count; }
void sec_boot_stat_add(const char *c) { int i; i = 0; while (boot_events[i].string != NULL) { if (strcmp(c, boot_events[i].string) == 0) { if (boot_events[i].time == 0) boot_events[i].time = get_boot_stat_time(); break; } i = i + 1; } }
void sec_boot_stat_add(const char * c) { int i; i = 0; while(boot_events[i].string != NULL) { if(strcmp(c, boot_events[i].string) == 0) { if (boot_events[i].time == 0) boot_events[i].time = get_boot_stat_time(); #ifdef CONFIG_SEC_GPIO_DVS if (boot_events[i].type==PLATFORM_BOOT_COMPLETE) gpio_dvs_check_initgpio(); #endif break; } i = i + 1; } }