diff options
author | Iain Paton <ipaton0@gmail.com> | 2015-03-28 13:26:38 +0300 |
---|---|---|
committer | Hans de Goede <hdegoede@redhat.com> | 2015-03-29 14:36:03 +0300 |
commit | e71b422bd71b03868abfc5e2087281710a0d52ee (patch) | |
tree | e395f5f51781a177a8c5a05d6fe048eb757cfb64 /include/configs/sun4i.h | |
parent | 7a140117ef5081e8dfef95150c788c93dabb8124 (diff) | |
download | u-boot-e71b422bd71b03868abfc5e2087281710a0d52ee.tar.xz |
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>
Diffstat (limited to 'include/configs/sun4i.h')
-rw-r--r-- | include/configs/sun4i.h | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/include/configs/sun4i.h b/include/configs/sun4i.h index 1537e536f9..7cd5c69d3a 100644 --- a/include/configs/sun4i.h +++ b/include/configs/sun4i.h @@ -11,7 +11,6 @@ /* * A10 specific configuration */ -#define CONFIG_CLK_FULL_SPEED 1008000000 #ifdef CONFIG_USB_EHCI #define CONFIG_USB_EHCI_SUNXI |