summaryrefslogtreecommitdiff
path: root/arch/arm/mach-uniphier/board_early_init_f.c
diff options
context:
space:
mode:
authorMasahiro Yamada <yamada.m@jp.panasonic.com>2015-02-27 02:26:51 +0900
committerMasahiro Yamada <yamada.m@jp.panasonic.com>2015-03-01 00:02:36 +0900
commit198a97a6abe7090109002baea0d2cb46070955aa (patch)
tree4ee4cea278f41d5f16147152028785e3891cf97b /arch/arm/mach-uniphier/board_early_init_f.c
parentf267b81e20da095539c7da7103afbd1e1b39b20b (diff)
downloadu-boot-imx-198a97a6abe7090109002baea0d2cb46070955aa.zip
u-boot-imx-198a97a6abe7090109002baea0d2cb46070955aa.tar.gz
u-boot-imx-198a97a6abe7090109002baea0d2cb46070955aa.tar.bz2
ARM: UniPhier: split clkrst_init() into two functions
Split the current clkrst_init() into two functions: - early_clkrst_init(): called from SPL Deassert the reset signals of the memory controller and some other basic cores. - clkrst_init(): called from main U-boot Deassert the reset signals that are necessary for the access to peripherals etc. Signed-off-by: Masahiro Yamada <yamada.m@jp.panasonic.com>
Diffstat (limited to 'arch/arm/mach-uniphier/board_early_init_f.c')
-rw-r--r--arch/arm/mach-uniphier/board_early_init_f.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/arch/arm/mach-uniphier/board_early_init_f.c b/arch/arm/mach-uniphier/board_early_init_f.c
index bf81345..7108740 100644
--- a/arch/arm/mach-uniphier/board_early_init_f.c
+++ b/arch/arm/mach-uniphier/board_early_init_f.c
@@ -9,6 +9,7 @@
#include <mach/board.h>
void pin_init(void);
+void clkrst_init(void);
int board_early_init_f(void)
{
@@ -18,5 +19,9 @@ int board_early_init_f(void)
led_write(U, 1, , );
+ clkrst_init();
+
+ led_write(U, 2, , );
+
return 0;
}