summaryrefslogtreecommitdiff
path: root/arch/arm
diff options
context:
space:
mode:
authorMasahiro Yamada <yamada.masahiro@socionext.com>2015-05-29 17:30:04 +0900
committerMasahiro Yamada <yamada.masahiro@socionext.com>2015-05-31 02:55:41 +0900
commit4e143cd6daa1b22c0b0df14e1e720571a982eaa6 (patch)
tree97b71d843648879ed9cc4eac2753d482a8795a6e /arch/arm
parent9fc5f9daa16a30a61441298df81000080847f52c (diff)
downloadu-boot-imx-4e143cd6daa1b22c0b0df14e1e720571a982eaa6.zip
u-boot-imx-4e143cd6daa1b22c0b0df14e1e720571a982eaa6.tar.gz
u-boot-imx-4e143cd6daa1b22c0b0df14e1e720571a982eaa6.tar.bz2
ARM: UniPhier: remove meaningless CONFIG_SPL_BUILD ifdefs
This file is only built for SPL. These ifdef conditionals are unnecessary because UniPhier platform now supports UART on SPL. Show appropriate messages on error. Signed-off-by: Masahiro Yamada <yamada.masahiro@socionext.com>
Diffstat (limited to 'arch/arm')
-rw-r--r--arch/arm/mach-uniphier/ddrphy_training.c4
1 files changed, 0 insertions, 4 deletions
diff --git a/arch/arm/mach-uniphier/ddrphy_training.c b/arch/arm/mach-uniphier/ddrphy_training.c
index e99c5e6..a98b814 100644
--- a/arch/arm/mach-uniphier/ddrphy_training.c
+++ b/arch/arm/mach-uniphier/ddrphy_training.c
@@ -115,10 +115,8 @@ int ddrphy_training(struct ddrphy __iomem *phy)
do {
if (--timeout < 0) {
-#ifndef CONFIG_SPL_BUILD
printf("%s: error: timeout during DDR training\n",
__func__);
-#endif
return -1;
}
udelay(1);
@@ -127,10 +125,8 @@ int ddrphy_training(struct ddrphy __iomem *phy)
for (i = 0; i < ARRAY_SIZE(init_sequence); i++) {
if (pgsr0 & init_sequence[i].err_flag) {
-#ifndef CONFIG_SPL_BUILD
printf("%s: error: %s failed\n", __func__,
init_sequence[i].description);
-#endif
return -1;
}
}