[U-Boot] [PATCH 2/2] S5PC100: Prints the PLL clock frequencies
Minkyu Kang
promsoft at gmail.com
Thu Feb 4 08:56:00 CET 2010
Dear Naveen Krishna Ch,
On 4 February 2010 14:24, Naveen Krishna Ch <ch.naveen at samsung.com> wrote:
> From: Naveen Krishna CH <ch.naveen at samsung.com>
>
> Prints the frequencies of the 4 PLLs along with CPU Info
>
> Signed-off-by: Naveen Krishna Ch <ch.naveen at samsung.com>
> ---
> cpu/arm_cortexa8/s5pc1xx/cpu_info.c | 8 ++++++++
> 1 files changed, 8 insertions(+), 0 deletions(-)
>
> diff --git a/cpu/arm_cortexa8/s5pc1xx/cpu_info.c b/cpu/arm_cortexa8/s5pc1xx/cpu_info.c
> index f16c0ff..ab99284 100644
> --- a/cpu/arm_cortexa8/s5pc1xx/cpu_info.c
> +++ b/cpu/arm_cortexa8/s5pc1xx/cpu_info.c
> @@ -26,6 +26,10 @@
>
> /* Default is s5pc100 */
> unsigned int s5pc1xx_cpu_id = 0xC100;
> +#define APLL 0
> +#define MPLL 1
> +#define EPLL 2
> +#define HPLL 3
why you redefine?
you already moved it to clk.h
>
> #ifdef CONFIG_ARCH_CPU_INIT
> int arch_cpu_init(void)
> @@ -51,6 +55,10 @@ int print_cpuinfo(void)
>
> printf("CPU:\tS5P%X@%sMHz\n",
> s5pc1xx_cpu_id, strmhz(buf, get_arm_clk()));
> + printf("APLL:\t%sMHz \t", strmhz(buf, get_pll_clk(APLL)));
> + printf("MPLL:\t%sMHz \n", strmhz(buf, get_pll_clk(MPLL)));
> + printf("EPLL:\t%sMHz \t", strmhz(buf, get_pll_clk(EPLL)));
> + printf("HPLL:\t%sMHz \n", strmhz(buf, get_pll_clk(HPLL)));
NAK.
This information is not useful information to users.
>
> return 0;
> }
> --
> 1.6.6
>
> _______________________________________________
> U-Boot mailing list
> U-Boot at lists.denx.de
> http://lists.denx.de/mailman/listinfo/u-boot
>
Thanks,
Minkyu Kang.
--
from. prom.
www.promsoft.net
More information about the U-Boot
mailing list