]> git.kernelconcepts.de Git - karo-tx-uboot.git/commit
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)
committerLothar Waßmann <LW@KARO-electronics.de>
Tue, 1 Sep 2015 12:35:12 +0000 (14:35 +0200)
commite85c00bc3b97521cac3cf1cacf60525ab2f085a4
tree18b20c4647816d6950cfcf7984f8fbcad228bc85
parentd3a34ff69c112f032311274cb1e6792fd1142a40
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