From: Markus Hubig Date: Thu, 16 Aug 2012 08:22:08 +0000 (+0000) Subject: arm: Adds board_postclk_init to the init_sequence. X-Git-Tag: v2012.10-rc1~2^2~19^2~1 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=e23e5eeeb85e0f98ca51ec8532c02a52a3e8c78b;p=u-boot 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 Cc: Albert ARIBAUD Signed-off-by: Andreas Bießmann --- diff --git a/arch/arm/lib/board.c b/arch/arm/lib/board.c index f1951e883e..109a1ac752 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