am33xx: Fix warning with CONFIG_DISPLAY_CPUINFO
PATCH 1/1 am33xx: Fix warning with CONFIG_DISPLAY_CPUINFO
The arm_freq and ddr_freq variables are unused, so remove. Fixup whitespace slightly while in here.
Signed-off-by Tom Rini <[email protected]>
--- arch/arm/cpu/armv7/am33xx/sys_info.c | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-)
arch/arm/cpu/armv7/am33xx/sys_info.c +1 -5
@@ -92,7 +92,6 @@ u32 get_sysboot_value(void)int print_cpuinfo (void ) {char *cpu_s, *sec_s; -int arm_freq, ddr_freq;switch (get_cpu_type ()) {case AM335X :
@@ -123,10 +122,7 @@ int print_cpuinfo(void) sec_s ="?" ; } -printf ("%s-%s rev %d\n" , - cpu_s, sec_s,get_cpu_rev ()); - -/* TODO: Print ARM and DDR frequencies */ +printf ("%s-%s rev %d\n" , cpu_s, sec_s,get_cpu_rev ());return 0 ; }
Signature · 1 line
1.7.9.5
PATCH 1/1 am33xx: Fix warning with CONFIG_DISPLAY_CPUINFO
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
"Tom" == Tom Rini <[email protected]> writes:
Tom> The arm_freq and ddr_freq variables are unused, so remove. Fixup Tom> whitespace slightly while in here.
Tom> Signed-off-by: Tom Rini <[email protected]>
Reviewed-by Peter Korsgaard <[email protected]>
Signature · 1 line
Bye, Peter Korsgaard
PATCH 1/1 am33xx: Fix warning with CONFIG_DISPLAY_CPUINFO
Quoted 8 lines · Peter Korsgaard
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
"Tom" == Tom Rini <[email protected]> writes:
Tom> The
arm_freqandddr_freqvariables are unused, so remove. Fixup Tom> whitespace slightly while in here.Tom> Signed-off-by: Tom Rini <[email protected]>
Reviewed-by Peter Korsgaard <[email protected]>
Applied to u-boot-ti/master, thanks!
Signature · 8 lines
Tom -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: application/pgp-signature Size: 836 bytes Desc: Digital signature URL: <http://lists.denx.de/pipermail/u-boot/attachments/20130429/373c1aa0/attachment.pgp>