mirror of
https://github.com/AsahiLinux/u-boot
synced 2025-03-17 23:37:01 +00:00
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>
This commit is contained in:
parent
34fa07063a
commit
30bba01751
1 changed files with 1 additions and 5 deletions
|
@ -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;
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue