static int get_bootinfo(struct seq_file *m, void *v) { int len = 0; EMIT_SERIAL(); EMIT_HWREV(); EMIT_POWERUPREASON(); EMIT_MBM_VERSION(); EMIT_BL_BUILD_SIG(); EMIT_BOOTINFO("Last boot reason", "%s", bootreason); return len; }
/* * get_bootinfo fills in the /proc/bootinfo information. * We currently only have the powerup reason. */ static int get_bootinfo(char *buf, char **start, off_t offset, int count, int *eof, void *data) { int len = 0; EMIT_POWERUPREASON(); EMIT_MBM_VERSION(); EMIT_MBM_LOADER_VERSION(); EMIT_FLAT_DEV_TREE_ADDRESS(); EMIT_BATTERY_STATUS_AT_BOOT(); EMIT_CID_RECOVER_BOOT(); return len; }
/* * get_bootinfo fills in the /proc/bootinfo information. * We currently only have the powerup reason. */ static int get_bootinfo(char *buf, char **start, off_t offset, int count, int *eof, void *data) { int len = 0; EMIT_HWREV(); EMIT_POWERUPREASON(); EMIT_BOS_VERSION(); EMIT_IFW_VERSION(); EMIT_SCU_VERSION(); EMIT_BATTERY_STATUS_AT_BOOT(); EMIT_CID_RECOVER_BOOT(); return len; }