summaryrefslogtreecommitdiff
path: root/common
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
parent5757e06c69a02fe95208a503504756b7d422e64f (diff)
downloadu-boot-imx-18fb0e3cae64b03c51db7ba8b607e9031a844b99.zip
u-boot-imx-18fb0e3cae64b03c51db7ba8b607e9031a844b99.tar.gz
u-boot-imx-18fb0e3cae64b03c51db7ba8b607e9031a844b99.tar.bz2
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.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/common/board_f.c b/common/board_f.c
index 486e828..7632041 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