summaryrefslogtreecommitdiffstats
path: root/common/board_f.c
diff options
context:
space:
mode:
authorGong Qianyu <Qianyu.Gong@freescale.com>2015-10-26 19:47:42 +0800
committerYork Sun <yorksun@freescale.com>2015-10-29 10:33:58 -0700
commit18fb0e3cae64b03c51db7ba8b607e9031a844b99 (patch)
tree2955bce234b6be39ffe08d407aab773e68302a7b /common/board_f.c
parent5757e06c69a02fe95208a503504756b7d422e64f (diff)
downloadblackbird-obmc-uboot-18fb0e3cae64b03c51db7ba8b607e9031a844b99.tar.gz
blackbird-obmc-uboot-18fb0e3cae64b03c51db7ba8b607e9031a844b99.zip
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/board_f.c')
-rw-r--r--common/board_f.c2
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
OpenPOWER on IntegriCloud