Skip to contentSkip to conversation

ARM: SAMSUNG: Make WDT driver dependency SoC specific instead of machine specific

PATCH Superseded Kukjin Kim 2 participants 2 messages Jun 2, 2010 – Jun 3, 2010

Subsystems (3)

v1 of 2 Superseded Latest is v2 →

lore
Share & tools
lore

Kukjin Kim

author
#0 lore raw

PATCH 1/1 ARM: SAMSUNG: Make WDT driver dependency SoC specific instead of machine specific

From: Banajit Goswami <[email protected]>

This patch moves the dependency of watchdog timer driver from MACH_XXX(board) to ARCH_XXX(SoC). This will enable all machines using Samsung S3C64XX, S5P6440 and S5PV210/S5PC110 SoCs to use the WDT driver by default.

---
 arch/arm/Kconfig              |    3 +++
 arch/arm/mach-s3c64xx/Kconfig |    1 -
 arch/arm/mach-s5p6440/Kconfig |    1 -
 arch/arm/mach-s5pv210/Kconfig |    2 --
 4 files changed, 3 insertions(+), 4 deletions(-)
arch/arm/Kconfig +3 -0
index 1f254bd..40c90bd 100644
@@ -663,6 +663,7 @@ config ARCH_S3C64XX
 	select S3C_DEV_NAND
 	select USB_ARCH_HAS_OHCI
 	select SAMSUNG_GPIOLIB_4BIT
+	select HAVE_S3C2410_WATCHDOG
 	help
 	  Samsung S3C64XX series based systems
 
@@ -672,6 +673,7 @@ config ARCH_S5P6440
 	select GENERIC_GPIO
 	select HAVE_CLK
 	select ARCH_USES_GETTIMEOFFSET
+	select HAVE_S3C2410_WATCHDOG
 	help
 	  Samsung S5P6440 CPU based systems
 
@@ -701,6 +703,7 @@ config ARCH_S5PV210
 	select HAVE_CLK
 	select ARM_L1_CACHE_SHIFT_6
 	select ARCH_USES_GETTIMEOFFSET
+	select HAVE_S3C2410_WATCHDOG
 	help
 	  Samsung S5PV210/S5PC110 series based systems
 
arch/arm/mach-s3c64xx/Kconfig +0 -1
index f5a5972..915cb47 100644
@@ -100,7 +100,6 @@ config MACH_SMDK6410
 	select S3C_DEV_USB_HOST
 	select S3C_DEV_USB_HSOTG
 	select S3C_DEV_WDT
-	select HAVE_S3C2410_WATCHDOG
 	select S3C64XX_SETUP_SDHCI
 	select S3C64XX_SETUP_I2C1
 	select S3C64XX_SETUP_FB_24BPP
arch/arm/mach-s5p6440/Kconfig +0 -1
index f066fae..084c0bc 100644
@@ -19,7 +19,6 @@ config MACH_SMDK6440
 	select SAMSUNG_DEV_TS
 	select SAMSUNG_DEV_ADC
 	select S3C_DEV_WDT
-	select HAVE_S3C2410_WATCHDOG
 	help
 	  Machine support for the Samsung SMDK6440
 
arch/arm/mach-s5pv210/Kconfig +0 -2
index 0761eac..2e3ed18 100644
@@ -74,7 +74,6 @@ config MACH_SMDKV210
 	select SAMSUNG_DEV_ADC
 	select SAMSUNG_DEV_TS
 	select S3C_DEV_WDT
-	select HAVE_S3C2410_WATCHDOG
 	help
 	  Machine support for Samsung SMDKV210
 
@@ -83,7 +82,6 @@ config MACH_SMDKC110
 	select CPU_S5PV210
 	select ARCH_SPARSEMEM_ENABLE
 	select S3C_DEV_WDT
-	select HAVE_S3C2410_WATCHDOG
 	help
 	  Machine support for Samsung SMDKC110
 	  S5PC110(MCP) is one of package option of S5PV210
Signature · 1 line
1.6.2.5
#1 lore raw

PATCH 1/1 ARM: SAMSUNG: Make WDT driver dependency SoC specific instead of machine specific

Quoted 11 lines · Kukjin Kim

From: Banajit Goswami <[email protected]>

This patch moves the dependency of watchdog timer driver from MACH_XXX(board) to ARCH_XXX(SoC). This will enable all machines using Samsung S3C64XX, S5P6440 and S5PV210/S5PC110 SoCs to use the WDT driver by default.

---
 arch/arm/Kconfig              |    3 +++

you'll be better off changing the arch/arm/mach-xxx/Kconfig files to avoid having to change arch/arm/Kconfig and thus make the merge dependant on Russell.

Signature · 4 lines
Ben

Q:      What's a light-year?
A:      One-third less calories than a regular year.