diff options
author | Gong Qianyu <Qianyu.Gong@freescale.com> | 2015-10-26 19:47:42 +0800 |
---|---|---|
committer | York Sun <yorksun@freescale.com> | 2015-10-29 10:33:58 -0700 |
commit | 18fb0e3cae64b03c51db7ba8b607e9031a844b99 (patch) | |
tree | 2955bce234b6be39ffe08d407aab773e68302a7b /common | |
parent | 5757e06c69a02fe95208a503504756b7d422e64f (diff) |
common/board_f.c: change the macro name and remove it for PPC platforms
For most PPC platforms, they will call the first get_clocks() in
init_sequence_f[] as they define CONFIG_PPC. CONFIG_SYS_FSL_CLK is
then defined to call the second get_clocks(), which should be
redundant for PPC.
Signed-off-by: Gong Qianyu <Qianyu.Gong@freescale.com>
Reviewed-by: York Sun <yorksun@freescale.com>
Diffstat (limited to 'common')
-rw-r--r-- | common/board_f.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/common/board_f.c b/common/board_f.c index 486e828fe8..7632041b73 100644 --- a/common/board_f.c +++ b/common/board_f.c @@ -806,7 +806,7 @@ static init_fnc_t init_sequence_f[] = { #if defined(CONFIG_BOARD_POSTCLK_INIT) board_postclk_init, #endif -#ifdef CONFIG_FSL_CLK +#ifdef CONFIG_SYS_FSL_CLK get_clocks, #endif #ifdef CONFIG_M68K |