Skip to contentSkip to conversation

am33xx: Fix warning with CONFIG_DISPLAY_CPUINFO

PATCH New Tom Rini 2 participants 3 messages Apr 25, 2013 – Apr 29, 2013 Arm (32-bit)

lore
Share & tools
lore

Tom Rini

author
#0 lore raw

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.

---
 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
index 5fd8b47..ac049ac 100644
@@ -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
author
#2 lore raw

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_freq and ddr_freq variables are unused, so remove. Fixup Tom> whitespace slightly while in here.

Tom> Signed-off-by: Tom Rini <[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>