diff options
author | Olof Johansson <olof@lixom.net> | 2013-04-26 14:47:45 -0400 |
---|---|---|
committer | Olof Johansson <olof@lixom.net> | 2013-04-26 14:47:45 -0400 |
commit | 340fcb5cb4c91e58a5102beb0b86b9c416b8c956 (patch) | |
tree | d0e41752e473069f4ec9a065cd1f060c4e91266b /arch/arm/plat-samsung | |
parent | 37746c9a2dd28d52790dd84267b848c087a63b2e (diff) | |
parent | 4923ee444a39c8b75027ed01a7812e940194dbec (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/plat-samsung')
-rw-r--r-- | arch/arm/plat-samsung/Kconfig | 7 | ||||
-rw-r--r-- | arch/arm/plat-samsung/Makefile | 8 | ||||
-rw-r--r-- | arch/arm/plat-samsung/include/plat/pm.h | 5 |
3 files changed, 3 insertions, 17 deletions
diff --git a/arch/arm/plat-samsung/Kconfig b/arch/arm/plat-samsung/Kconfig index 77dd30af32f5..6cb19c6aa9d6 100644 --- a/arch/arm/plat-samsung/Kconfig +++ b/arch/arm/plat-samsung/Kconfig | |||
@@ -13,10 +13,6 @@ config PLAT_SAMSUNG | |||
13 | help | 13 | help |
14 | Base platform code for all Samsung SoC based systems | 14 | Base platform code for all Samsung SoC based systems |
15 | 15 | ||
16 | config PLAT_SAMSUNG_SINGLE | ||
17 | def_bool PLAT_SAMSUNG && !ARCH_MULTIPLATFORM | ||
18 | |||
19 | |||
20 | config PLAT_S5P | 16 | config PLAT_S5P |
21 | bool | 17 | bool |
22 | depends on (ARCH_S5P64X0 || ARCH_S5PC100 || ARCH_S5PV210 || ARCH_EXYNOS) | 18 | depends on (ARCH_S5P64X0 || ARCH_S5PC100 || ARCH_S5PV210 || ARCH_EXYNOS) |
@@ -27,7 +23,7 @@ config PLAT_S5P | |||
27 | select GIC_NON_BANKED if ARCH_EXYNOS4 | 23 | select GIC_NON_BANKED if ARCH_EXYNOS4 |
28 | select NO_IOPORT | 24 | select NO_IOPORT |
29 | select PLAT_SAMSUNG | 25 | select PLAT_SAMSUNG |
30 | select S3C_GPIO_TRACK if PLAT_SAMSUNG_SINGLE | 26 | select S3C_GPIO_TRACK |
31 | select S5P_GPIO_DRVSTR | 27 | select S5P_GPIO_DRVSTR |
32 | select SAMSUNG_CLKSRC if !COMMON_CLK | 28 | select SAMSUNG_CLKSRC if !COMMON_CLK |
33 | select SAMSUNG_GPIOLIB_4BIT | 29 | select SAMSUNG_GPIOLIB_4BIT |
@@ -182,7 +178,6 @@ config S5P_DEV_UART | |||
182 | 178 | ||
183 | config S3C_ADC | 179 | config S3C_ADC |
184 | bool "ADC common driver support" | 180 | bool "ADC common driver support" |
185 | depends on PLAT_SAMSUNG_SINGLE | ||
186 | help | 181 | help |
187 | Core support for the ADC block found in the Samsung SoC systems | 182 | Core support for the ADC block found in the Samsung SoC systems |
188 | for drivers such as the touchscreen and hwmon to use to share | 183 | for drivers such as the touchscreen and hwmon to use to share |
diff --git a/arch/arm/plat-samsung/Makefile b/arch/arm/plat-samsung/Makefile index f38ce8489dfd..a23c460299a1 100644 --- a/arch/arm/plat-samsung/Makefile +++ b/arch/arm/plat-samsung/Makefile | |||
@@ -4,9 +4,6 @@ | |||
4 | # | 4 | # |
5 | # Licensed under GPLv2 | 5 | # Licensed under GPLv2 |
6 | 6 | ||
7 | ccflags-$(CONFIG_ARCH_MULTI_V7) += -I$(srctree)/$(src)/include | ||
8 | ccflags-$(CONFIG_ARCH_EXYNOS) += -I$(srctree)/arch/arm/mach-exynos/include | ||
9 | |||
10 | obj-y := | 7 | obj-y := |
11 | obj-m := | 8 | obj-m := |
12 | obj-n := dummy.o | 9 | obj-n := dummy.o |
@@ -36,7 +33,7 @@ obj-$(CONFIG_S3C_ADC) += adc.o | |||
36 | 33 | ||
37 | obj-y += platformdata.o | 34 | obj-y += platformdata.o |
38 | 35 | ||
39 | obj-$(CONFIG_PLAT_SAMSUNG_SINGLE) += devs.o | 36 | obj-y += devs.o |
40 | obj-y += dev-uart.o | 37 | obj-y += dev-uart.o |
41 | obj-$(CONFIG_S5P_DEV_MFC) += s5p-dev-mfc.o | 38 | obj-$(CONFIG_S5P_DEV_MFC) += s5p-dev-mfc.o |
42 | obj-$(CONFIG_S5P_DEV_UART) += s5p-dev-uart.o | 39 | obj-$(CONFIG_S5P_DEV_UART) += s5p-dev-uart.o |
@@ -53,10 +50,9 @@ obj-$(CONFIG_S3C_DMA) += dma.o s3c-dma-ops.o | |||
53 | obj-$(CONFIG_SAMSUNG_DMADEV) += dma-ops.o | 50 | obj-$(CONFIG_SAMSUNG_DMADEV) += dma-ops.o |
54 | 51 | ||
55 | # PM support | 52 | # PM support |
53 | |||
56 | obj-$(CONFIG_PM) += pm.o | 54 | obj-$(CONFIG_PM) += pm.o |
57 | ifdef CONFIG_PLAT_SAMSUNG_SINGLE | ||
58 | obj-$(CONFIG_PM) += pm-gpio.o | 55 | obj-$(CONFIG_PM) += pm-gpio.o |
59 | endif | ||
60 | obj-$(CONFIG_SAMSUNG_PM_CHECK) += pm-check.o | 56 | obj-$(CONFIG_SAMSUNG_PM_CHECK) += pm-check.o |
61 | 57 | ||
62 | obj-$(CONFIG_SAMSUNG_WAKEMASK) += wakeup-mask.o | 58 | obj-$(CONFIG_SAMSUNG_WAKEMASK) += wakeup-mask.o |
diff --git a/arch/arm/plat-samsung/include/plat/pm.h b/arch/arm/plat-samsung/include/plat/pm.h index 266a4e3e2458..f6fcadeee969 100644 --- a/arch/arm/plat-samsung/include/plat/pm.h +++ b/arch/arm/plat-samsung/include/plat/pm.h | |||
@@ -166,7 +166,6 @@ extern void s3c_pm_check_store(void); | |||
166 | */ | 166 | */ |
167 | extern void s3c_pm_configure_extint(void); | 167 | extern void s3c_pm_configure_extint(void); |
168 | 168 | ||
169 | #ifdef CONFIG_PLAT_SAMSUNG_SINGLE | ||
170 | /** | 169 | /** |
171 | * samsung_pm_restore_gpios() - restore the state of the gpios after sleep. | 170 | * samsung_pm_restore_gpios() - restore the state of the gpios after sleep. |
172 | * | 171 | * |
@@ -182,10 +181,6 @@ extern void samsung_pm_restore_gpios(void); | |||
182 | * Save the GPIO states for resotration on resume. See samsung_pm_restore_gpios(). | 181 | * Save the GPIO states for resotration on resume. See samsung_pm_restore_gpios(). |
183 | */ | 182 | */ |
184 | extern void samsung_pm_save_gpios(void); | 183 | extern void samsung_pm_save_gpios(void); |
185 | #else | ||
186 | #define samsung_pm_restore_gpios() do { } while(0) | ||
187 | #define samsung_pm_save_gpios() do { } while(0) | ||
188 | #endif | ||
189 | 184 | ||
190 | extern void s3c_pm_save_core(void); | 185 | extern void s3c_pm_save_core(void); |
191 | extern void s3c_pm_restore_core(void); | 186 | extern void s3c_pm_restore_core(void); |