ARM: shmobile: Update HAVE_ARM_ARCH_TIMER Kconfig bits
cover ARM: shmobile: Update HAVE_ARM_ARCH_TIMER Kconfig bits
ARM: shmobile: Update HAVE_ARM_ARCH_TIMER Kconfig bits
[PATCH 01/02] ARM: shmobile: Select HAVE_ARM_ARCH_TIMER from Kconfig [PATCH 02/02] ARM: shmobile: Drop HAVE_ARM_ARCH_TIMER from defconfig
Convert ARM mach-shmobile to select HAVE_ARM_ARCH_TIMER from Kconfig based on if the enabled SoC contains ARM arch timer IP or not.
Recent SoCs like R-Car Gen2 series and r8a73a4 include Cortex-A7 and/or Cortex-A15 hardware including arch timer, so select HAVE_ARM_ARCH_TIMER in such case.
In case only older SoCs with Cortex-A9 are enabled then the arch timer does not have to be enabled.
---
Written against renesas-devel-20150619-v4.1-rc8
arch/arm/configs/shmobile_defconfig | 1 - arch/arm/mach-shmobile/Kconfig | 2 ++ 2 files changed, 2 insertions(+), 1 deletion(-)
--
To unsubscribe from this list: send the line "unsubscribe linux-sh" in
Hi Magnus,
Quoted 8 lines · Magnus Damm
ARM: shmobile: Update
HAVE_ARM_ARCH_TIMERKconfigbits[PATCH 01/02] ARM: shmobile: Select
HAVE_ARM_ARCH_TIMERfromKconfig[PATCH 02/02] ARM: shmobile: DropHAVE_ARM_ARCH_TIMERfrom defconfigConvert ARM mach-shmobile to select
HAVE_ARM_ARCH_TIMERfromKconfigbased on if the enabled SoC contains ARM arch timer IP or not.
Quoted 8 lines
Recent SoCs like R-Car Gen2 series and r8a73a4 include Cortex-A7 and/or Cortex-A15 hardware including arch timer, so select
HAVE_ARM_ARCH_TIMERin such case.In case only older SoCs with Cortex-A9 are enabled then the arch timer does not have to be enabled.
Signed-off-by Magnus Damm <[email protected]>
on sh73a0/kzm9g, r8a7740/armadillo, r8a73a4/ape6evm, r8a7791/koelsch, using individual .configs (i.e. HAVE_ARM_ARCH_TIMER is set/unset depending on SoC).
Gr{oetje,eeting}s,
Geert
--
Geert Uytterhoeven -- There's lots of Linux beyond ia32 -- [email protected]
In personal conversations with technical people, I call myself a hacker. But when I'm talking to journalists I just say "programmer" or something like that.
-- Linus Torvalds
--
To unsubscribe from this list: send the line "unsubscribe linux-sh" in
Quoted 18 lines · Geert Uytterhoeven
Hi Magnus,
Quoted 15 lines · Magnus Damm
ARM: shmobile: Update
HAVE_ARM_ARCH_TIMERKconfigbits[PATCH 01/02] ARM: shmobile: Select
HAVE_ARM_ARCH_TIMERfromKconfig[PATCH 02/02] ARM: shmobile: DropHAVE_ARM_ARCH_TIMERfrom defconfigConvert ARM mach-shmobile to select
HAVE_ARM_ARCH_TIMERfromKconfigbased on if the enabled SoC contains ARM arch timer IP or not.Recent SoCs like R-Car Gen2 series and r8a73a4 include Cortex-A7 and/or Cortex-A15 hardware including arch timer, so select
HAVE_ARM_ARCH_TIMERin such case.In case only older SoCs with Cortex-A9 are enabled then the arch timer does not have to be enabled.
Quoted 6 lines
Quoted 1 line
Signed-off-by Magnus Damm <[email protected]>Tested-by Geert Uytterhoeven <[email protected]>on sh73a0/kzm9g, r8a7740/armadillo, r8a73a4/ape6evm, r8a7791/koelsch, using individual .configs (i.e.
HAVE_ARM_ARCH_TIMERis set/unset depending on SoC).
Thanks for testing. I have queued these up.