S5PC100: Prints the PLL clock frequencies
A message that is not in the archive (sent off-list or not yet received): NctdU-0006qR-PK
PATCH 2/2 S5PC100: Prints the PLL clock frequencies
From: Naveen Krishna CH <[email protected]>
Prints the frequencies of the 4 PLLs along with CPU Info
--- cpu/arm_cortexa8/s5pc1xx/cpu_info.c | 8 ++++++++ 1 files changed, 8 insertions(+), 0 deletions(-)
cpu/arm_cortexa8/s5pc1xx/cpu_info.c +8 -0
@@ -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#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 )));return 0 ; }
Signature · 1 line
1.6.6
Minkyu Kang
NAKPATCH 2/2 S5PC100: Prints the PLL clock frequencies
Dear Naveen Krishna Ch,
Quoted 17 lines · Naveen Krishna Ch
From: Naveen Krishna CH <[email protected]>
Prints the frequencies of the 4 PLLs along with CPU Info
Signed-off-by Naveen Krishna Ch <[email protected]>---
?cpu/arm_cortexa8/s5pc1xx/cpu_info.c | ? ?8 ++++++++ ?1 files changed, 8 insertions(+), 0 deletions(-)cpu/arm_cortexa8/s5pc1xx/cpu_info.c +0
-0@@ -26,6 +26,10 @@?/* Default is s5pc100 */
?unsigned ints5pc1xx_cpu_id=0xC100;
cpu/arm_cortexa8/s5pc1xx/cpu_info.c
Quoted 4 lines
cpu/arm_cortexa8/s5pc1xx/cpu_info.c +4
-0+#define APLL ? ?0 +#define MPLL ? ?1 +#define EPLL ? ?2 +#define HPLL ? ?3
why you redefine?
you already moved it to clk.h
cpu/arm_cortexa8/s5pc1xx/cpu_info.c int print_cpuinfo(void) · line 61
Quoted 11 lines
?#ifdef
CONFIG_ARCH_CPU_INIT
?intarch_cpu_init(void)cpu/arm_cortexa8/s5pc1xx/cpu_info.c +4
-0@@ -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.
Quoted 11 lines
cpu/arm_cortexa8/s5pc1xx/cpu_info.c +0
-1? ? ? ?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.
Signature · 2 lines
from. prom. www.promsoft.net