[U-Boot] [PATCH] 85xx: Fix the wrong SYS_CLK_IN for 8569MDS

Joakim Tjernlund joakim.tjernlund at transmode.se
Mon May 18 12:04:01 CEST 2009


>
> 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.
>
> Signed-off-by: Dave Liu <daveliu at freescale.com>
> ---
>  include/configs/MPC8569MDS.h |    4 ++--
>  1 files changed, 2 insertions(+), 2 deletions(-)
>
> diff --git a/include/configs/MPC8569MDS.h b/include/configs/MPC8569MDS.h
> index 7fd2b56..c501b17 100644
> --- a/include/configs/MPC8569MDS.h
> +++ b/include/configs/MPC8569MDS.h
> @@ -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



More information about the U-Boot mailing list