summaryrefslogtreecommitdiff
path: root/arch/arm/mach-socfpga/spl.c
diff options
context:
space:
mode:
Diffstat (limited to 'arch/arm/mach-socfpga/spl.c')
-rw-r--r--arch/arm/mach-socfpga/spl.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/arch/arm/mach-socfpga/spl.c b/arch/arm/mach-socfpga/spl.c
index fec4c7a..0064fc8 100644
--- a/arch/arm/mach-socfpga/spl.c
+++ b/arch/arm/mach-socfpga/spl.c
@@ -127,7 +127,8 @@ void board_init_f(ulong dummy)
debug("Reconfigure Clock Manager\n");
/* reconfigure the PLLs */
- cm_basic_init(cm_default_cfg);
+ if (cm_basic_init(cm_default_cfg))
+ hang();
/* Enable bootrom to configure IOs. */
sysmgr_config_warmrstcfgio(1);