aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorTom Rini2013-04-25 15:46:04 -0500
committerTom Rini2013-05-10 07:25:56 -0500
commit30bba0175122150c330ff95132e048a39bf978eb (patch)
treec94c760a0023cd69ae58eb013c866335f3643389
parent34fa07063a7f5fc437bcaa71156182bb3bf2f516 (diff)
downloadu-boot-30bba0175122150c330ff95132e048a39bf978eb.tar.gz
u-boot-30bba0175122150c330ff95132e048a39bf978eb.tar.xz
u-boot-30bba0175122150c330ff95132e048a39bf978eb.zip
am33xx: Fix warning with CONFIG_DISPLAY_CPUINFO
The arm_freq and ddr_freq variables are unused, so remove. Fixup whitespace slightly while in here. Reviewed-by: Peter Korsgaard <jacmet@sunsite.dk> Signed-off-by: Tom Rini <trini@ti.com>
-rw-r--r--arch/arm/cpu/armv7/am33xx/sys_info.c6
1 files changed, 1 insertions, 5 deletions
diff --git a/arch/arm/cpu/armv7/am33xx/sys_info.c b/arch/arm/cpu/armv7/am33xx/sys_info.c
index 5fd8b47b2d..ac049ac4f2 100644
--- a/arch/arm/cpu/armv7/am33xx/sys_info.c
+++ b/arch/arm/cpu/armv7/am33xx/sys_info.c
@@ -92,7 +92,6 @@ u32 get_sysboot_value(void)
92int print_cpuinfo(void) 92int print_cpuinfo(void)
93{ 93{
94 char *cpu_s, *sec_s; 94 char *cpu_s, *sec_s;
95 int arm_freq, ddr_freq;
96 95
97 switch (get_cpu_type()) { 96 switch (get_cpu_type()) {
98 case AM335X: 97 case AM335X:
@@ -123,10 +122,7 @@ int print_cpuinfo(void)
123 sec_s = "?"; 122 sec_s = "?";
124 } 123 }
125 124
126 printf("%s-%s rev %d\n", 125 printf("%s-%s rev %d\n", cpu_s, sec_s, get_cpu_rev());
127 cpu_s, sec_s, get_cpu_rev());
128
129 /* TODO: Print ARM and DDR frequencies */
130 126
131 return 0; 127 return 0;
132} 128}