85xx: Fix the wrong SYS_CLK_IN for 8569MDS
PATCH 1/1 85xx: Fix the wrong SYS_CLK_IN for 8569MDS
The SYS_CLK_IN of MPC8569MDS is 66.66MHz,
The DDR_CLK_IN is same with SYS_CLK_IN in 8569 processor. so, change the SYS_CLK_IN from 66MHz to 66.66MHz.
--- include/configs/MPC8569MDS.h | 4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-)
include/configs/MPC8569MDS.h +2 -2
@@ -55,8 +55,8 @@extern unsigned long get_clock_freq (void );#endif /* Replace a call to get_clock_freq (after it is implemented)*/ -#define CONFIG_SYS_CLK_FREQ 66000000 -#define CONFIG_DDR_CLK_FREQ 66000000 +#define CONFIG_SYS_CLK_FREQ 66666666 +#define CONFIG_DDR_CLK_FREQ CONFIG_SYS_CLK_FREQ/* * These can be toggled for performance analysis, otherwise use default.
Signature · 1 line
1.5.4
PATCH 1/1 85xx: Fix the wrong SYS_CLK_IN for 8569MDS
Quoted 15 lines
The
SYS_CLK_INof MPC8569MDS is 66.66MHz,
TheDDR_CLK_INis same withSYS_CLK_INin 8569 processor. so, change theSYS_CLK_INfrom 66MHz to 66.66MHz.Signed-off-by Dave Liu <[email protected]>--- include/configs/MPC8569MDS.h | 4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-)include/configs/MPC8569MDS.h +0
-0
include/configs/MPC8569MDS.h line 59
Quoted 7 lines
include/configs/MPC8569MDS.h +2
-2@@ -55,8 +55,8 @@extern unsigned long get_clock_freq (void );#endif /* Replace a call to get_clock_freq (after it is implemented)*/ -#define CONFIG_SYS_CLK_FREQ 66000000 -#define CONFIG_DDR_CLK_FREQ 66000000 +#define CONFIG_SYS_CLK_FREQ 66666666 +#define CONFIG_DDR_CLK_FREQ CONFIG_SYS_CLK_FREQ
Is the clock really 66.666666 MHz? Our clock is 66.666000 MHz and pretending it is 66.666666 will show up as RTC drift.
Jocke
Andy Fleming
AppliedPATCH 1/1 85xx: Fix the wrong SYS_CLK_IN for 8569MDS
In reply to Dave LiuQuoted 5 lines · Dave Liu
The
SYS_CLK_INof MPC8569MDS is 66.66MHz,
TheDDR_CLK_INis same withSYS_CLK_INin 8569 processor. so, change theSYS_CLK_INfrom 66MHz to 66.66MHz.Signed-off-by Dave Liu <[email protected]>
Applied to HEAD, thanks!
Andy