From 904110c7ac801b99029b2bca4765c792c9eac582 Mon Sep 17 00:00:00 2001 From: Hou Zhiqiang Date: Tue, 10 Jan 2017 16:44:15 +0800 Subject: armv8/fsl-lsch2: refactor the clock system initialization Up to now, there are 3 kind of SoCs under Layerscape Chassis 2, like LS1043A, LS1046A and LS1012A. But the clocks tree has a lot of differences, for instance, the IP modules have different dividers to derive its clock from Platform PLL. And the core cluster PLL and platform PLL maybe have different reference clocks, such as LS1012A. Another problem is which clock/PLL should be described by sys_info->freq_systembus, it is confused in Layerscape Chissis 2. This patch is to bind the sys_info->freq_systembus to the Platform PLL, and handle the different divider of IP modules separately between different SoCs, and separate reference clocks of core cluster PLL and platform PLL. Signed-off-by: Hou Zhiqiang Reviewed-by: York Sun --- include/configs/ls2080aqds.h | 2 -- 1 file changed, 2 deletions(-) (limited to 'include/configs/ls2080aqds.h') diff --git a/include/configs/ls2080aqds.h b/include/configs/ls2080aqds.h index 5a54c1f..c39e9cf 100644 --- a/include/configs/ls2080aqds.h +++ b/include/configs/ls2080aqds.h @@ -14,8 +14,6 @@ unsigned long get_board_sys_clk(void); unsigned long get_board_ddr_clk(void); #endif -#define CONFIG_SYS_FSL_CLK - #ifdef CONFIG_FSL_QSPI #define CONFIG_SYS_NO_FLASH #undef CONFIG_CMD_IMLS -- cgit v1.1