fdt_fixup: Added debug prints
Change-Id: Ie76240fc029616e0bb9d2ebbcfe9200a77ac3a63
Signed-off-by: Gokul Sriram Palanisamy <gokulsri@codeaurora.org>
diff --git a/board/qca/arm/ipq40xx/ipq40xx.c b/board/qca/arm/ipq40xx/ipq40xx.c
index e37c817..6edbe2b 100644
--- a/board/qca/arm/ipq40xx/ipq40xx.c
+++ b/board/qca/arm/ipq40xx/ipq40xx.c
@@ -432,6 +432,8 @@
if (ret)
printf("%s: cannot set soc_version_minor %d\n",
__func__, soc_version_minor);
+ } else {
+ printf("%s: cannot get soc version\n", __func__);
}
}
diff --git a/board/qca/arm/ipq806x/ipq806x.c b/board/qca/arm/ipq806x/ipq806x.c
index 514097c..6e583ad 100644
--- a/board/qca/arm/ipq806x/ipq806x.c
+++ b/board/qca/arm/ipq806x/ipq806x.c
@@ -569,6 +569,8 @@
if (ret)
printf("%s: cannot set soc_version_minor %d\n",
__func__, soc_version_minor);
+ } else {
+ printf("%s: cannot get soc version\n", __func__);
}
}
diff --git a/board/qca/arm/ipq807x/ipq807x.c b/board/qca/arm/ipq807x/ipq807x.c
index 99979d9..240bb34 100644
--- a/board/qca/arm/ipq807x/ipq807x.c
+++ b/board/qca/arm/ipq807x/ipq807x.c
@@ -945,6 +945,8 @@
&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 @@
if (ret)
printf("%s: cannot set soc_version_minor %d\n",
__func__, soc_version_minor);
+ } else {
+ printf("%s: cannot get soc version\n", __func__);
}
}