static int do_get_reboot_reason(cmd_tbl_t *cmdtp, int flag, int argc, char *argv[])
{
	int code;

	code = get_reboot_reason();

	printf("reboot code is 0x%04x,reason is %s\n", code, reboot_reason_string(code));

	return 0;
}
static ssize_t ux500_get_reset_reason(char *buf, struct sysfs_soc_info *si)
{
	return sprintf(buf, "%s\n",
		reboot_reason_string(prcmu_get_reset_code()));
}