diff mbox

ARM: sunxi: Select HAVE_ARM_ARCH_TIMER

Message ID 1395934061-5340-1-git-send-email-maxime.ripard@free-electrons.com (mailing list archive)
State New, archived
Headers show

Commit Message

Maxime Ripard March 27, 2014, 3:27 p.m. UTC
In order for the architected timers support to be enabled in the kernel, this
option has to be enabled. Otherwise, the architected timers driver won't be
compiled in, and we will not get to use them.

Signed-off-by: Maxime Ripard <maxime.ripard@free-electrons.com>
---

Hi Arnd, Kevin, Olof,

It would be great if you could apply this patch directly on top of the current
arm-soc for-next.

Thanks!

 arch/arm/mach-sunxi/Kconfig | 1 +
 1 file changed, 1 insertion(+)

Comments

Kevin Hilman March 27, 2014, 9:42 p.m. UTC | #1
Maxime Ripard <maxime.ripard@free-electrons.com> writes:

> In order for the architected timers support to be enabled in the kernel, this
> option has to be enabled. Otherwise, the architected timers driver won't be
> compiled in, and we will not get to use them.
>
> Signed-off-by: Maxime Ripard <maxime.ripard@free-electrons.com>
> ---
>
> Hi Arnd, Kevin, Olof,
>
> It would be great if you could apply this patch directly on top of the current
> arm-soc for-next.

Applied to next/soc, merged into for-next.

With this, merging Emilio's clk pull req in as a dependenency and
upgrading u-boot on my Cubie2 for the proper architected timer init, it
seems all the boot regressions on sunxi have disappeared.

Thanks,

Kevin
diff mbox

Patch

diff --git a/arch/arm/mach-sunxi/Kconfig b/arch/arm/mach-sunxi/Kconfig
index b9d6cad8669b..931adeaf35d2 100644
--- a/arch/arm/mach-sunxi/Kconfig
+++ b/arch/arm/mach-sunxi/Kconfig
@@ -9,6 +9,7 @@  config ARCH_SUNXI
 	select COMMON_CLK
 	select GENERIC_CLOCKEVENTS
 	select GENERIC_IRQ_CHIP
+	select HAVE_ARM_ARCH_TIMER
 	select HAVE_SMP
 	select PINCTRL
 	select PINCTRL_SUNXI