fdt_fixup: Added debug prints

Change-Id: Ie76240fc029616e0bb9d2ebbcfe9200a77ac3a63
Signed-off-by: Gokul Sriram Palanisamy <gokulsri@codeaurora.org>
This commit is contained in:
Gokul Sriram Palanisamy 2018-06-28 10:27:15 +05:30
parent 6ad0cd2205
commit 2c0d86570c
3 changed files with 8 additions and 0 deletions

View file

@ -432,6 +432,8 @@ void ipq_fdt_fixup_socinfo(void *blob)
if (ret)
printf("%s: cannot set soc_version_minor %d\n",
__func__, soc_version_minor);
} else {
printf("%s: cannot get soc version\n", __func__);
}
}

View file

@ -569,6 +569,8 @@ void ipq_fdt_fixup_socinfo(void *blob)
if (ret)
printf("%s: cannot set soc_version_minor %d\n",
__func__, soc_version_minor);
} else {
printf("%s: cannot get soc version\n", __func__);
}
}

View file

@ -945,6 +945,8 @@ void ipq_fdt_fixup_socinfo(void *blob)
&cpu_type, sizeof(cpu_type));
if (ret)
printf("%s: cannot set cpu type %d\n", __func__, ret);
} else {
printf("%s: cannot get socinfo\n", __func__);
}
ret = ipq_smem_get_socinfo_version((uint32_t *)&soc_version);
@ -965,6 +967,8 @@ void ipq_fdt_fixup_socinfo(void *blob)
if (ret)
printf("%s: cannot set soc_version_minor %d\n",
__func__, soc_version_minor);
} else {
printf("%s: cannot get soc version\n", __func__);
}
}