]> git.kernelconcepts.de Git - karo-tx-uboot.git/blobdiff - arch/arm/imx-common/cpu.c
Revert "imx: drop warning: unused variable 'max_freq'"
[karo-tx-uboot.git] / arch / arm / imx-common / cpu.c
index e69c23cc2d4308f83f0b537d276c46d7f96a4a87..ba1150501198d3988974ef66694c336483df92d7 100644 (file)
@@ -145,12 +145,11 @@ const char *get_imx_type(u32 imxtype)
 
 int print_cpuinfo(void)
 {
-       u32 cpurev;
+       u32 cpurev, max_freq;
 
 #if defined(CONFIG_SOC_MX6) && defined(CONFIG_IMX6_THERMAL)
        struct udevice *thermal_dev;
        int cpu_tmp, minc, maxc, ret;
-       u32 max_freq;
 #endif
 
        cpurev = get_cpu_rev();