Skip to contentSkip to conversation

ARM: shmobile: Update HAVE_ARM_ARCH_TIMER Kconfig bits

PATCH In review Magnus Damm 3 participants 3 messages Jun 21, 2015 – Jun 24, 2015 SuperH

lore
Share & tools
lore
#0 lore raw

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

Tested-by on the v1 series
#1 lore raw

Hi Magnus,

Quoted 8 lines · Magnus Damm

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.

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_TIMER in such case.

In case only older SoCs with Cortex-A9 are enabled then the arch timer does not have to be enabled.

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

#2 lore raw
In reply to Magnus Damm
Quoted 18 lines · Geert Uytterhoeven

Hi Magnus,

Quoted 15 lines · Magnus Damm

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.

Quoted 6 lines
Quoted 1 line

on sh73a0/kzm9g, r8a7740/armadillo, r8a73a4/ape6evm, r8a7791/koelsch, using individual .configs (i.e. HAVE_ARM_ARCH_TIMER is set/unset depending on SoC).

Thanks for testing. I have queued these up.