summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMarkus Hubig <mhubig@imko.de>2012-08-16 08:22:08 +0000
committerAndreas Bießmann <andreas.devel@googlemail.com>2012-09-04 22:05:55 +0200
commite23e5eeeb85e0f98ca51ec8532c02a52a3e8c78b (patch)
tree74d63044304fff4f93e7a5c82ed83ce1cb15cea6
parent503e159b3e276a2d90f93c24177df353333135d4 (diff)
downloadu-boot-imx-e23e5eeeb85e0f98ca51ec8532c02a52a3e8c78b.zip
u-boot-imx-e23e5eeeb85e0f98ca51ec8532c02a52a3e8c78b.tar.gz
u-boot-imx-e23e5eeeb85e0f98ca51ec8532c02a52a3e8c78b.tar.bz2
arm: Adds board_postclk_init to the init_sequence.
The board_postclk_init() function can be used to perform operations that requires a working timer early within the U-Boot init_sequence. Signed-off-by: Markus Hubig <mhubig@imko.de> Cc: Albert ARIBAUD <albert.u.boot@aribaud.net> Signed-off-by: Andreas Bießmann <andreas.devel@googlemail.com>
-rw-r--r--arch/arm/lib/board.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/arch/arm/lib/board.c b/arch/arm/lib/board.c
index f1951e8..109a1ac 100644
--- a/arch/arm/lib/board.c
+++ b/arch/arm/lib/board.c
@@ -241,6 +241,9 @@ init_fnc_t *init_sequence[] = {
fdtdec_check_fdt,
#endif
timer_init, /* initialize timer */
+#ifdef CONFIG_BOARD_POSTCLK_INIT
+ board_postclk_init,
+#endif
#ifdef CONFIG_FSL_ESDHC
get_clocks,
#endif