aboutsummaryrefslogtreecommitdiffstats
path: root/arch/arm/mach-exynos
diff options
context:
space:
mode:
authorOlof Johansson <olof@lixom.net>2013-04-26 14:47:45 -0400
committerOlof Johansson <olof@lixom.net>2013-04-26 14:47:45 -0400
commit340fcb5cb4c91e58a5102beb0b86b9c416b8c956 (patch)
treed0e41752e473069f4ec9a065cd1f060c4e91266b /arch/arm/mach-exynos
parent37746c9a2dd28d52790dd84267b848c087a63b2e (diff)
parent4923ee444a39c8b75027ed01a7812e940194dbec (diff)
Merge branch 'samsung/exynos-multiplatform' into next/drivers
This merges in the revert of multiplatform support for exynos. Trivial conflicts on removed code. Also, needed to add "select COMMON_CLK" to the non-multiplatform EXYNOS config option. * samsung/exynos-multiplatform: Revert "ARM: exynos: enable multiplatform support" Signed-off-by: Olof Johansson <olof@lixom.net>
Diffstat (limited to 'arch/arm/mach-exynos')
-rw-r--r--arch/arm/mach-exynos/Kconfig26
-rw-r--r--arch/arm/mach-exynos/Makefile5
-rw-r--r--arch/arm/mach-exynos/common.c6
3 files changed, 6 insertions, 31 deletions
diff --git a/arch/arm/mach-exynos/Kconfig b/arch/arm/mach-exynos/Kconfig
index a77db362a888..b1cdff6f537e 100644
--- a/arch/arm/mach-exynos/Kconfig
+++ b/arch/arm/mach-exynos/Kconfig
@@ -7,21 +7,6 @@
7 7
8# Configuration options for the EXYNOS4 8# Configuration options for the EXYNOS4
9 9
10config ARCH_EXYNOS
11 # TODO: make this visible after all drivers are converted
12 bool "Samsung EXYNOS" if ARCH_MULTI_V7 && BROKEN
13 default ARCH_EXYNOS_SINGLE
14 select ARCH_HAS_CPUFREQ
15 select CLKDEV_LOOKUP
16 select COMMON_CLK
17 select CPU_V7
18 select GENERIC_CLOCKEVENTS
19 select HAVE_CLK
20 select HAVE_S3C2410_I2C if I2C
21 select HAVE_S3C_RTC if RTC_CLASS
22 help
23 Support for SAMSUNG's EXYNOS SoCs (EXYNOS4/5)
24
25if ARCH_EXYNOS 10if ARCH_EXYNOS
26 11
27menu "SAMSUNG EXYNOS SoCs Support" 12menu "SAMSUNG EXYNOS SoCs Support"
@@ -34,9 +19,6 @@ config ARCH_EXYNOS4
34 help 19 help
35 Samsung EXYNOS4 SoCs based systems 20 Samsung EXYNOS4 SoCs based systems
36 21
37config ARCH_EXYNOS4_SINGLE
38 def_bool ARCH_EXYNOS4 && ARCH_EXYNOS_SINGLE
39
40config ARCH_EXYNOS5 22config ARCH_EXYNOS5
41 bool "SAMSUNG EXYNOS5" 23 bool "SAMSUNG EXYNOS5"
42 select HAVE_SMP 24 select HAVE_SMP
@@ -53,7 +35,7 @@ config CPU_EXYNOS4210
53 select PM_GENERIC_DOMAINS 35 select PM_GENERIC_DOMAINS
54 select S5P_PM if PM 36 select S5P_PM if PM
55 select S5P_SLEEP if PM 37 select S5P_SLEEP if PM
56 select SAMSUNG_DMADEV if ARCH_EXYNOS_SINGLE 38 select SAMSUNG_DMADEV
57 help 39 help
58 Enable EXYNOS4210 CPU support 40 Enable EXYNOS4210 CPU support
59 41
@@ -63,7 +45,7 @@ config SOC_EXYNOS4212
63 depends on ARCH_EXYNOS4 45 depends on ARCH_EXYNOS4
64 select S5P_PM if PM 46 select S5P_PM if PM
65 select S5P_SLEEP if PM 47 select S5P_SLEEP if PM
66 select SAMSUNG_DMADEV if ARCH_EXYNOS_SINGLE 48 select SAMSUNG_DMADEV
67 help 49 help
68 Enable EXYNOS4212 SoC support 50 Enable EXYNOS4212 SoC support
69 51
@@ -71,7 +53,7 @@ config SOC_EXYNOS4412
71 bool "SAMSUNG EXYNOS4412" 53 bool "SAMSUNG EXYNOS4412"
72 default y 54 default y
73 depends on ARCH_EXYNOS4 55 depends on ARCH_EXYNOS4
74 select SAMSUNG_DMADEV if ARCH_EXYNOS_SINGLE 56 select SAMSUNG_DMADEV
75 help 57 help
76 Enable EXYNOS4412 SoC support 58 Enable EXYNOS4412 SoC support
77 59
@@ -83,7 +65,7 @@ config SOC_EXYNOS5250
83 select S5P_PM if PM 65 select S5P_PM if PM
84 select S5P_SLEEP if PM 66 select S5P_SLEEP if PM
85 select S5P_DEV_MFC 67 select S5P_DEV_MFC
86 select SAMSUNG_DMADEV if ARCH_EXYNOS_SINGLE 68 select SAMSUNG_DMADEV
87 help 69 help
88 Enable EXYNOS5250 SoC support 70 Enable EXYNOS5250 SoC support
89 71
diff --git a/arch/arm/mach-exynos/Makefile b/arch/arm/mach-exynos/Makefile
index e26d05c5249f..d2f6b362b6dd 100644
--- a/arch/arm/mach-exynos/Makefile
+++ b/arch/arm/mach-exynos/Makefile
@@ -4,7 +4,6 @@
4# http://www.samsung.com/ 4# http://www.samsung.com/
5# 5#
6# Licensed under GPLv2 6# Licensed under GPLv2
7ccflags-$(CONFIG_ARCH_MULTIPLATFORM) += -I$(srctree)/$(src)/include -I$(srctree)/arch/arm/plat-samsung/include
8 7
9obj-y := 8obj-y :=
10obj-m := 9obj-m :=
@@ -43,12 +42,12 @@ obj-$(CONFIG_MACH_EXYNOS5_DT) += mach-exynos5-dt.o
43# device support 42# device support
44 43
45obj-y += dev-uart.o 44obj-y += dev-uart.o
46obj-$(CONFIG_ARCH_EXYNOS4_SINGLE) += dev-audio.o 45obj-$(CONFIG_ARCH_EXYNOS4) += dev-audio.o
47obj-$(CONFIG_EXYNOS4_DEV_AHCI) += dev-ahci.o 46obj-$(CONFIG_EXYNOS4_DEV_AHCI) += dev-ahci.o
48obj-$(CONFIG_EXYNOS_DEV_DMA) += dma.o 47obj-$(CONFIG_EXYNOS_DEV_DMA) += dma.o
49obj-$(CONFIG_EXYNOS4_DEV_USB_OHCI) += dev-ohci.o 48obj-$(CONFIG_EXYNOS4_DEV_USB_OHCI) += dev-ohci.o
50 49
51obj-$(CONFIG_ARCH_EXYNOS_SINGLE) += setup-i2c0.o 50obj-$(CONFIG_ARCH_EXYNOS) += setup-i2c0.o
52obj-$(CONFIG_EXYNOS4_SETUP_FIMC) += setup-fimc.o 51obj-$(CONFIG_EXYNOS4_SETUP_FIMC) += setup-fimc.o
53obj-$(CONFIG_EXYNOS4_SETUP_FIMD0) += setup-fimd0.o 52obj-$(CONFIG_EXYNOS4_SETUP_FIMD0) += setup-fimd0.o
54obj-$(CONFIG_EXYNOS4_SETUP_I2C1) += setup-i2c1.o 53obj-$(CONFIG_EXYNOS4_SETUP_I2C1) += setup-i2c1.o
diff --git a/arch/arm/mach-exynos/common.c b/arch/arm/mach-exynos/common.c
index a3ab0ecc7c6a..939bda77defa 100644
--- a/arch/arm/mach-exynos/common.c
+++ b/arch/arm/mach-exynos/common.c
@@ -361,9 +361,6 @@ static void __init exynos4_map_io(void)
361 else 361 else
362 iotable_init(exynos4_iodesc1, ARRAY_SIZE(exynos4_iodesc1)); 362 iotable_init(exynos4_iodesc1, ARRAY_SIZE(exynos4_iodesc1));
363 363
364 if (!IS_ENABLED(CONFIG_EXYNOS_ATAGS))
365 return
366
367 /* initialize device information early */ 364 /* initialize device information early */
368 exynos4_default_sdhci0(); 365 exynos4_default_sdhci0();
369 exynos4_default_sdhci1(); 366 exynos4_default_sdhci1();
@@ -549,8 +546,6 @@ static void __init exynos4_init_uarts(struct s3c2410_uartcfg *cfg, int no)
549 s3c24xx_init_uartdevs("exynos4210-uart", exynos4_uart_resources, cfg, no); 546 s3c24xx_init_uartdevs("exynos4210-uart", exynos4_uart_resources, cfg, no);
550} 547}
551 548
552
553#ifdef CONFIG_EXYNOS_ATAGS
554static void __iomem *exynos_eint_base; 549static void __iomem *exynos_eint_base;
555 550
556static DEFINE_SPINLOCK(eint_lock); 551static DEFINE_SPINLOCK(eint_lock);
@@ -857,7 +852,6 @@ static int __init exynos_init_irq_eint(void)
857 return 0; 852 return 0;
858} 853}
859arch_initcall(exynos_init_irq_eint); 854arch_initcall(exynos_init_irq_eint);
860#endif
861 855
862static struct resource exynos4_pmu_resource[] = { 856static struct resource exynos4_pmu_resource[] = {
863 DEFINE_RES_IRQ(EXYNOS4_IRQ_PMU), 857 DEFINE_RES_IRQ(EXYNOS4_IRQ_PMU),