]> git.kernelconcepts.de Git - karo-tx-uboot.git/blobdiff - arch/powerpc/cpu/mpc8xx/speed.c
Merge branch 'master' of /home/wd/git/u-boot/master
[karo-tx-uboot.git] / arch / powerpc / cpu / mpc8xx / speed.c
index f309f29c0493422c2c09b73c319b1f2b2efe7729..6e13e5de028b800a4bb2721938aba056cc5b97ee 100644 (file)
@@ -266,7 +266,7 @@ int get_clocks_866 (void)
        long              cpuclk = 0;
        long              sccr_reg;
 
-       if (getenv_("cpuclk", tmp, sizeof (tmp)) > 0)
+       if (getenv_f("cpuclk", tmp, sizeof (tmp)) > 0)
                cpuclk = simple_strtoul (tmp, NULL, 10) * 1000000;
 
        if ((CONFIG_SYS_8xx_CPUCLK_MIN > cpuclk) || (CONFIG_SYS_8xx_CPUCLK_MAX < cpuclk))