diff options
author | Masahiro Yamada <yamada.masahiro@socionext.com> | 2015-05-29 17:30:04 +0900 |
---|---|---|
committer | Masahiro Yamada <yamada.masahiro@socionext.com> | 2015-05-31 02:55:41 +0900 |
commit | 4e143cd6daa1b22c0b0df14e1e720571a982eaa6 (patch) | |
tree | 97b71d843648879ed9cc4eac2753d482a8795a6e /arch/arm | |
parent | 9fc5f9daa16a30a61441298df81000080847f52c (diff) | |
download | u-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.c | 4 |
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; } } |