diff options
author | Arnd Bergmann <arnd@arndb.de> | 2013-06-18 12:36:56 -0400 |
---|---|---|
committer | Kukjin Kim <kgene.kim@samsung.com> | 2013-06-18 12:37:53 -0400 |
commit | 564d06b1266ee62c9b47eab8305755e5ff6e38d5 (patch) | |
tree | 1b2c2eb445fe1ae3af50eedeb19d4e0558535e6e | |
parent | 87107d89052bcec1fe91b309631de4ed294a5171 (diff) |
ARM: EXYNOS: Remove remaining dead code after non-DT support removal
This patch removes remaining small bits of unused code that was left
after removing non-DT support.
Signed-off-by: Arnd Bergmann <arnd@arndb.de>
Signed-off-by: Tomasz Figa <t.figa@samsung.com>
Signed-off-by: Kyungmin Park <kyungmin.park@samsung.com>
Signed-off-by: Kukjin Kim <kgene.kim@samsung.com>
-rw-r--r-- | arch/arm/mach-exynos/Kconfig | 17 | ||||
-rw-r--r-- | arch/arm/mach-exynos/common.c | 4 | ||||
-rw-r--r-- | arch/arm/mach-exynos/include/mach/pm-core.h | 7 |
3 files changed, 2 insertions, 26 deletions
diff --git a/arch/arm/mach-exynos/Kconfig b/arch/arm/mach-exynos/Kconfig index 1f356790a4f4..46c8332476f8 100644 --- a/arch/arm/mach-exynos/Kconfig +++ b/arch/arm/mach-exynos/Kconfig | |||
@@ -115,23 +115,6 @@ config MACH_EXYNOS5_DT | |||
115 | Machine support for Samsung EXYNOS5 machine with device tree enabled. | 115 | Machine support for Samsung EXYNOS5 machine with device tree enabled. |
116 | Select this if a fdt blob is available for the EXYNOS5 SoC based board. | 116 | Select this if a fdt blob is available for the EXYNOS5 SoC based board. |
117 | 117 | ||
118 | if ARCH_EXYNOS4 | ||
119 | |||
120 | comment "Configuration for HSMMC 8-bit bus width" | ||
121 | |||
122 | config EXYNOS4_SDHCI_CH0_8BIT | ||
123 | bool "Channel 0 with 8-bit bus" | ||
124 | help | ||
125 | Support HSMMC Channel 0 8-bit bus. | ||
126 | If selected, Channel 1 is disabled. | ||
127 | |||
128 | config EXYNOS4_SDHCI_CH2_8BIT | ||
129 | bool "Channel 2 with 8-bit bus" | ||
130 | help | ||
131 | Support HSMMC Channel 2 8-bit bus. | ||
132 | If selected, Channel 3 is disabled. | ||
133 | endif | ||
134 | |||
135 | endmenu | 118 | endmenu |
136 | 119 | ||
137 | endif | 120 | endif |
diff --git a/arch/arm/mach-exynos/common.c b/arch/arm/mach-exynos/common.c index e886154f7f0b..81e6320ca091 100644 --- a/arch/arm/mach-exynos/common.c +++ b/arch/arm/mach-exynos/common.c | |||
@@ -60,8 +60,6 @@ static void exynos5_map_io(void); | |||
60 | static void exynos5440_map_io(void); | 60 | static void exynos5440_map_io(void); |
61 | static int exynos_init(void); | 61 | static int exynos_init(void); |
62 | 62 | ||
63 | unsigned long xxti_f = 0, xusbxti_f = 0; | ||
64 | |||
65 | static struct cpu_table cpu_ids[] __initdata = { | 63 | static struct cpu_table cpu_ids[] __initdata = { |
66 | { | 64 | { |
67 | .idcode = EXYNOS4210_CPU_ID, | 65 | .idcode = EXYNOS4210_CPU_ID, |
@@ -322,7 +320,7 @@ void __init exynos_init_late(void) | |||
322 | exynos_pm_late_initcall(); | 320 | exynos_pm_late_initcall(); |
323 | } | 321 | } |
324 | 322 | ||
325 | int __init exynos_fdt_map_chipid(unsigned long node, const char *uname, | 323 | static int __init exynos_fdt_map_chipid(unsigned long node, const char *uname, |
326 | int depth, void *data) | 324 | int depth, void *data) |
327 | { | 325 | { |
328 | struct map_desc iodesc; | 326 | struct map_desc iodesc; |
diff --git a/arch/arm/mach-exynos/include/mach/pm-core.h b/arch/arm/mach-exynos/include/mach/pm-core.h index 71e6b89719ab..2b00833b6641 100644 --- a/arch/arm/mach-exynos/include/mach/pm-core.h +++ b/arch/arm/mach-exynos/include/mach/pm-core.h | |||
@@ -34,12 +34,7 @@ static inline void s3c_pm_debug_init_uart(void) | |||
34 | 34 | ||
35 | static inline void s3c_pm_arch_prepare_irqs(void) | 35 | static inline void s3c_pm_arch_prepare_irqs(void) |
36 | { | 36 | { |
37 | u32 eintmask = s3c_irqwake_eintmask; | 37 | __raw_writel(exynos_get_eint_wake_mask(), S5P_EINT_WAKEUP_MASK); |
38 | |||
39 | if (of_have_populated_dt()) | ||
40 | eintmask = exynos_get_eint_wake_mask(); | ||
41 | |||
42 | __raw_writel(eintmask, S5P_EINT_WAKEUP_MASK); | ||
43 | __raw_writel(s3c_irqwake_intmask & ~(1 << 31), S5P_WAKEUP_MASK); | 38 | __raw_writel(s3c_irqwake_intmask & ~(1 << 31), S5P_WAKEUP_MASK); |
44 | } | 39 | } |
45 | 40 | ||