ARM: uniphier: allow DDR function to return more precise error code
authorMasahiro Yamada <yamada.masahiro@socionext.com>
Wed, 16 Dec 2015 01:50:26 +0000 (10:50 +0900)
committerMasahiro Yamada <yamada.masahiro@socionext.com>
Tue, 22 Dec 2015 15:08:27 +0000 (00:08 +0900)
commit6a9f6ba0f9aec784d748d9c30dcee5cd4c2eadd5
tree4f1476b5311f2aaaeef80d607d3b6089abd7e3b4
parent11d6effeae2c0fc40af61fb17ae387c91ebda82a
ARM: uniphier: allow DDR function to return more precise error code

Return different error code depending on the reason so that the
caller can know the cause of the failure.

Signed-off-by: Masahiro Yamada <yamada.masahiro@socionext.com>
arch/arm/mach-uniphier/ddrphy/ddrphy-training.c