]> git.ipfire.org Git - people/ms/u-boot.git/blobdiff - board/sunxi/board.c
sunxi: use CONFIG_SYS_CLK_FREQ to set cpu clock
[people/ms/u-boot.git] / board / sunxi / board.c
index e1891d198e4ae37635e2e8f970cbe77e460ca91a..808bf82b65fe3465105286baa52764152d474816 100644 (file)
@@ -215,7 +215,7 @@ void sunxi_board_init(void)
         * assured it's being powered with suitable core voltage
         */
        if (!power_failed)
-               clock_set_pll1(CONFIG_CLK_FULL_SPEED);
+               clock_set_pll1(CONFIG_SYS_CLK_FREQ);
        else
                printf("Failed to set core voltage! Can't set CPU frequency\n");
 }