aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBen Dooks <ben-linux@fluff.org>2007-07-22 11:16:51 -0400
committerRussell King <rmk+kernel@arm.linux.org.uk>2007-07-22 11:44:38 -0400
commita45f82616eaa7e7fcd365ced78d3f0974b991800 (patch)
tree4bfc05baa27ea9727c01285aca9bcb629ba80a32
parent1197b4cd5098fb862180f013a086a81507196a69 (diff)
[ARM] 4518/1: S3C: Rename watchdog configuration options
Rename the S3C24XX configuration options for the watchdog boot controls for moving to the arch/arm/plat-s3c moves. Signed-off-by: Ben Dooks <ben-linux@fluff.org> Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
-rw-r--r--arch/arm/configs/s3c2410_defconfig4
-rw-r--r--arch/arm/plat-s3c/Kconfig8
-rw-r--r--include/asm-arm/plat-s3c/uncompress.h6
3 files changed, 9 insertions, 9 deletions
diff --git a/arch/arm/configs/s3c2410_defconfig b/arch/arm/configs/s3c2410_defconfig
index ada89b6c3919..f8a1645b3d4a 100644
--- a/arch/arm/configs/s3c2410_defconfig
+++ b/arch/arm/configs/s3c2410_defconfig
@@ -138,8 +138,8 @@ CONFIG_ARCH_S3C2410=y
138CONFIG_PLAT_S3C24XX=y 138CONFIG_PLAT_S3C24XX=y
139CONFIG_CPU_S3C244X=y 139CONFIG_CPU_S3C244X=y
140CONFIG_PM_SIMTEC=y 140CONFIG_PM_SIMTEC=y
141# CONFIG_S3C2410_BOOT_WATCHDOG is not set 141# CONFIG_S3C_BOOT_WATCHDOG is not set
142# CONFIG_S3C2410_BOOT_ERROR_RESET is not set 142# CONFIG_S3C_BOOT_ERROR_RESET is not set
143# CONFIG_S3C2410_PM_DEBUG is not set 143# CONFIG_S3C2410_PM_DEBUG is not set
144# CONFIG_S3C2410_PM_CHECK is not set 144# CONFIG_S3C2410_PM_CHECK is not set
145CONFIG_S3C_LOWLEVEL_UART_PORT=0 145CONFIG_S3C_LOWLEVEL_UART_PORT=0
diff --git a/arch/arm/plat-s3c/Kconfig b/arch/arm/plat-s3c/Kconfig
index 88d797099bf0..31656c33e05e 100644
--- a/arch/arm/plat-s3c/Kconfig
+++ b/arch/arm/plat-s3c/Kconfig
@@ -42,16 +42,16 @@ config CPU_LLSERIAL_S3C2440
42 42
43comment "Boot options" 43comment "Boot options"
44 44
45config S3C2410_BOOT_WATCHDOG 45config S3C_BOOT_WATCHDOG
46 bool "S3C2410 Initialisation watchdog" 46 bool "S3C Initialisation watchdog"
47 depends on PLAT_S3C && S3C2410_WATCHDOG 47 depends on PLAT_S3C && S3C2410_WATCHDOG
48 help 48 help
49 Say y to enable the watchdog during the kernel decompression 49 Say y to enable the watchdog during the kernel decompression
50 stage. If the kernel fails to uncompress, then the watchdog 50 stage. If the kernel fails to uncompress, then the watchdog
51 will trigger a reset and the system should restart. 51 will trigger a reset and the system should restart.
52 52
53config S3C2410_BOOT_ERROR_RESET 53config S3C_BOOT_ERROR_RESET
54 bool "S3C2410 Reboot on decompression error" 54 bool "S3C Reboot on decompression error"
55 depends on PLAT_S3C 55 depends on PLAT_S3C
56 help 56 help
57 Say y here to use the watchdog to reset the system if the 57 Say y here to use the watchdog to reset the system if the
diff --git a/include/asm-arm/plat-s3c/uncompress.h b/include/asm-arm/plat-s3c/uncompress.h
index bc6817f91e2f..b5e6208175d1 100644
--- a/include/asm-arm/plat-s3c/uncompress.h
+++ b/include/asm-arm/plat-s3c/uncompress.h
@@ -92,13 +92,13 @@ static inline void flush(void)
92 92
93#define __raw_writel(d,ad) do { *((volatile unsigned int *)(ad)) = (d); } while(0) 93#define __raw_writel(d,ad) do { *((volatile unsigned int *)(ad)) = (d); } while(0)
94 94
95/* CONFIG_S3C2410_BOOT_WATCHDOG 95/* CONFIG_S3C_BOOT_WATCHDOG
96 * 96 *
97 * Simple boot-time watchdog setup, to reboot the system if there is 97 * Simple boot-time watchdog setup, to reboot the system if there is
98 * any problem with the boot process 98 * any problem with the boot process
99*/ 99*/
100 100
101#ifdef CONFIG_S3C2410_BOOT_WATCHDOG 101#ifdef CONFIG_S3C_BOOT_WATCHDOG
102 102
103#define WDOG_COUNT (0xff00) 103#define WDOG_COUNT (0xff00)
104 104
@@ -119,7 +119,7 @@ static void arch_decomp_wdog_start(void)
119#define arch_decomp_wdog() 119#define arch_decomp_wdog()
120#endif 120#endif
121 121
122#ifdef CONFIG_S3C2410_BOOT_ERROR_RESET 122#ifdef CONFIG_S3C_BOOT_ERROR_RESET
123 123
124static void arch_decomp_error(const char *x) 124static void arch_decomp_error(const char *x)
125{ 125{