]> git.ipfire.org Git - people/ms/u-boot.git/commit - Kconfig
sunxi: use CONFIG_SYS_CLK_FREQ to set cpu clock
authorIain Paton <ipaton0@gmail.com>
Sat, 28 Mar 2015 10:26:38 +0000 (10:26 +0000)
committerHans de Goede <hdegoede@redhat.com>
Sun, 29 Mar 2015 11:36:03 +0000 (13:36 +0200)
commite71b422bd71b03868abfc5e2087281710a0d52ee
treee395f5f51781a177a8c5a05d6fe048eb757cfb64
parent7a140117ef5081e8dfef95150c788c93dabb8124
sunxi: use CONFIG_SYS_CLK_FREQ to set cpu clock

make the CPU clock selectable via Kconfig

this removes the sunxi specific CONFIG_CLK_FULL_SPEED defined in each
soc header and replaces it's use in board/sunxi/board.c with
CONFIG_SYS_CLK_FREQ from Kconfig which allows us to configure board
specific frequency on boot

Signed-off-by: Iain Paton <ipaton0@gmail.com>
[hdegoede@redhat.com s/CONFIG_SYS_CLK_FREQ/CONFIG_TIMER_CLK_FREQ/ for the
 arch-timer clk speed on sun7i to fix mis-compile on sun7i]
Acked-by: Hans de Goede <hdegoede@redhat.com>
Signed-off-by: Hans de Goede <hdegoede@redhat.com>
Kconfig
arch/arm/cpu/armv7/sunxi/psci.S
board/sunxi/Kconfig
board/sunxi/board.c
include/configs/sun4i.h
include/configs/sun5i.h
include/configs/sun6i.h
include/configs/sun7i.h
include/configs/sun8i.h