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>
Showing
- Kconfig 1 addition, 1 deletionKconfig
- arch/arm/cpu/armv7/sunxi/psci.S 1 addition, 1 deletionarch/arm/cpu/armv7/sunxi/psci.S
- board/sunxi/Kconfig 4 additions, 0 deletionsboard/sunxi/Kconfig
- board/sunxi/board.c 1 addition, 1 deletionboard/sunxi/board.c
- include/configs/sun4i.h 0 additions, 1 deletioninclude/configs/sun4i.h
- include/configs/sun5i.h 0 additions, 1 deletioninclude/configs/sun5i.h
- include/configs/sun6i.h 0 additions, 1 deletioninclude/configs/sun6i.h
- include/configs/sun7i.h 1 addition, 3 deletionsinclude/configs/sun7i.h
- include/configs/sun8i.h 0 additions, 1 deletioninclude/configs/sun8i.h
Loading
Please register or sign in to comment