Skip to contentSkip to conversation

ARM: Kconfig: Select clocksource in STM32 entry

PATCH Applied Maxime Coquelin 2 participants 4 messages May 22, 2015 – Jun 1, 2015 Arm (32-bit)

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 ARM: Kconfig: Select clocksource in STM32 entry

STM32 clocksource driver needs to be selected if ARCH_STM32.

---
Hi Arnd,

This patch applies on top of arm-soc's next/soc branch, so that you don't
get conflicts with Stefan's ARM_SINGLE_ARMV7M patch.

Regards,
Maxime

---
 arch/arm/Kconfig | 1 +
 1 file changed, 1 insertion(+)
arch/arm/Kconfig +1 -0
index b7a7d15..1cb59af 100644
@@ -978,6 +978,7 @@ config ARCH_STM32
 	depends on ARM_SINGLE_ARMV7M
 	select ARCH_HAS_RESET_CONTROLLER
 	select ARMV7M_SYSTICK
+	select CLKSRC_STM32
 	select RESET_CONTROLLER
 	help
 	  Support for STMicroelectronics STM32 processors.
Signature · 1 line
1.9.1
#1 lore raw

Hi Arnd,

Quoted 20 lines · Maxime Coquelin

STM32 clocksource driver needs to be selected if ARCH_STM32.

---
Hi Arnd,

This patch applies on top of arm-soc's next/soc branch, so that you don't
get conflicts with Stefan's ARM_SINGLE_ARMV7M patch.Hi

Regards,
Maxime

---
  arch/arm/Kconfig | 1 +
  1 file changed, 1 insertion(+)
arch/arm/Kconfig +0 -0
index b7a7d15..1cb59af 100644

arch/arm/Kconfig config ARCH_STM32 · line 984

Quoted 7 lines
arch/arm/Kconfig +1 -0
@@ -978,6 +978,7 @@ config ARCH_STM32
  	depends on ARM_SINGLE_ARMV7M
  	select ARCH_HAS_RESET_CONTROLLER
  	select ARMV7M_SYSTICK
+	select CLKSRC_STM32
  	select RESET_CONTROLLER
  	help
  	  Support for STMicroelectronics STM32 processors.

This patch is needed for STM32 to boot.
Can you pick it for v4.2?

Thanks,
Maxime

#2 lore raw

With Daniel's valid address.

Quoted 37 lines · Maxime Coquelin

Hi Arnd,

Quoted 21 lines · Maxime Coquelin

STM32 clocksource driver needs to be selected if ARCH_STM32.

---
Hi Arnd,

This patch applies on top of arm-soc's next/soc branch, so that
you don't
get conflicts with Stefan's ARM_SINGLE_ARMV7M patch.Hi

Regards,
Maxime

---
  arch/arm/Kconfig | 1 +
  1 file changed, 1 insertion(+)
arch/arm/Kconfig +0 -0
index b7a7d15..1cb59af 100644

arch/arm/Kconfig config ARCH_STM32 · line 984

Quoted 7 lines
arch/arm/Kconfig +1 -0
@@ -978,6 +978,7 @@ config ARCH_STM32
      depends on ARM_SINGLE_ARMV7M
      select ARCH_HAS_RESET_CONTROLLER
      select ARMV7M_SYSTICK
+    select CLKSRC_STM32
      select RESET_CONTROLLER
      help
        Support for STMicroelectronics STM32 processors.

This patch is needed for STM32 to boot.
Can you pick it for v4.2?

Thanks,
Maxime

#3 lore raw
Quoted 17 lines · On Saturday 30 May 2015 10:16:12 Maxime Coquelin wrote:

With Daniel's valid address.

Quoted 13 lines · Maxime Coquelin

Hi Arnd,

Quoted 10 lines · Maxime Coquelin

STM32 clocksource driver needs to be selected if ARCH_STM32.

---
Hi Arnd,

This patch applies on top of arm-soc's next/soc branch, so that
you don't
get conflicts with Stefan's ARM_SINGLE_ARMV7M patch.Hi

Applied to next/soc, thanks!

Arnd