Exemplo n.º 1
0
/*
 * 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;
}
Exemplo n.º 2
0
/*
 * 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;
}