mirror of
https://github.com/AsahiLinux/u-boot
synced 2025-03-16 23:07:00 +00:00
Fix the local bus divider mapping
The real clock divider is 4 times of the bits LCRR[CLKDIV], according the latest RevF RM. Signed-off-by: Dave Liu <daveliu@freescale.com> Signed-off-by: Kumar Gala <galak@kernel.crashing.org>
This commit is contained in:
parent
c95d541e4b
commit
0fd2fa6cce
1 changed files with 6 additions and 1 deletions
|
@ -170,7 +170,12 @@ void get_sys_info (sys_info_t * sysInfo)
|
|||
}
|
||||
#endif
|
||||
if (lcrr_div == 2 || lcrr_div == 4 || lcrr_div == 8) {
|
||||
#if !defined(CONFIG_MPC8540) && !defined(CONFIG_MPC8541) && \
|
||||
#if defined(CONFIG_FSL_CORENET)
|
||||
/* If this is corenet based SoC, bit-representation
|
||||
* for four times the clock divider values.
|
||||
*/
|
||||
lcrr_div *= 4;
|
||||
#elif !defined(CONFIG_MPC8540) && !defined(CONFIG_MPC8541) && \
|
||||
!defined(CONFIG_MPC8555) && !defined(CONFIG_MPC8560)
|
||||
/*
|
||||
* Yes, the entire PQ38 family use the same
|
||||
|
|
Loading…
Add table
Reference in a new issue