]> Git Repo - J-u-boot.git/commitdiff
common: Simplify get_clocks() #ifdef
authorPeng Fan <[email protected]>
Fri, 30 Oct 2015 09:30:02 +0000 (17:30 +0800)
committerTom Rini <[email protected]>
Thu, 12 Nov 2015 23:13:19 +0000 (18:13 -0500)
get_clocks is wrapped by CONFIG_FSL_CLK and CONFIG_M68K in seperate
piece code. They can be merged into one snippet.

Signed-off-by: Peng Fan <[email protected]>
Cc: Tom Rini <[email protected]>
Cc: Simon Glass <[email protected]>
Cc: Bin Meng <[email protected]>
Cc: Alexey Brodkin <[email protected]>
Cc: "[email protected]" <[email protected]>
Cc: Daniel Schwierzeck <[email protected]>
Cc: Stephen Warren <[email protected]>
Cc: "Andreas Bießmann" <[email protected]>
Reviewed-by: Simon Glass <[email protected]>
Acked-by: Angelo Dureghello <[email protected]>
common/board_f.c

index 725eb18427f7296853c499dc41dcac0e79df6972..ed513058ee72bf7d9bb8ce88cd2d3070e793f03a 100644 (file)
@@ -808,10 +808,7 @@ static init_fnc_t init_sequence_f[] = {
 #if defined(CONFIG_BOARD_POSTCLK_INIT)
        board_postclk_init,
 #endif
-#ifdef CONFIG_SYS_FSL_CLK
-       get_clocks,
-#endif
-#ifdef CONFIG_M68K
+#if defined(CONFIG_SYS_FSL_CLK) || defined(CONFIG_M68K)
        get_clocks,
 #endif
        env_init,               /* initialize environment */
This page took 0.036365 seconds and 4 git commands to generate.