diff options
author | Sachin Kamat <sachin.kamat@linaro.org> | 2012-03-09 10:00:31 -0500 |
---|---|---|
committer | Kukjin Kim <kgene.kim@samsung.com> | 2012-03-11 01:32:21 -0500 |
commit | c7bf01df608d98d873edc39bd3d8dd2b722a3bf2 (patch) | |
tree | e66769e64a7c9669dd625c558cafb1f9277ad5cc /arch/arm/mach-s5pv210 | |
parent | b3421f97b3d7d6993a770977ca4ceeb175de32c9 (diff) |
ARM: S5PV210: Enable MFC on SMDKV210
Add MFC support on SMDKV210 board.
Signed-off-by: Sachin Kamat <sachin.kamat@linaro.org>
Signed-off-by: Kukjin Kim <kgene.kim@samsung.com>
Diffstat (limited to 'arch/arm/mach-s5pv210')
-rw-r--r-- | arch/arm/mach-s5pv210/Kconfig | 1 | ||||
-rw-r--r-- | arch/arm/mach-s5pv210/mach-smdkv210.c | 10 |
2 files changed, 11 insertions, 0 deletions
diff --git a/arch/arm/mach-s5pv210/Kconfig b/arch/arm/mach-s5pv210/Kconfig index 2cdc42e838b8..1e0131b6bd81 100644 --- a/arch/arm/mach-s5pv210/Kconfig +++ b/arch/arm/mach-s5pv210/Kconfig | |||
@@ -142,6 +142,7 @@ config MACH_SMDKV210 | |||
142 | select S3C_DEV_I2C2 | 142 | select S3C_DEV_I2C2 |
143 | select S3C_DEV_RTC | 143 | select S3C_DEV_RTC |
144 | select S3C_DEV_WDT | 144 | select S3C_DEV_WDT |
145 | select S5P_DEV_MFC | ||
145 | select SAMSUNG_DEV_ADC | 146 | select SAMSUNG_DEV_ADC |
146 | select SAMSUNG_DEV_BACKLIGHT | 147 | select SAMSUNG_DEV_BACKLIGHT |
147 | select SAMSUNG_DEV_IDE | 148 | select SAMSUNG_DEV_IDE |
diff --git a/arch/arm/mach-s5pv210/mach-smdkv210.c b/arch/arm/mach-s5pv210/mach-smdkv210.c index dff9ea7b5bba..0b0d65db6a0a 100644 --- a/arch/arm/mach-s5pv210/mach-smdkv210.c +++ b/arch/arm/mach-s5pv210/mach-smdkv210.c | |||
@@ -46,6 +46,7 @@ | |||
46 | #include <plat/s5p-time.h> | 46 | #include <plat/s5p-time.h> |
47 | #include <plat/backlight.h> | 47 | #include <plat/backlight.h> |
48 | #include <plat/regs-fb-v4.h> | 48 | #include <plat/regs-fb-v4.h> |
49 | #include <plat/mfc.h> | ||
49 | 50 | ||
50 | #include "common.h" | 51 | #include "common.h" |
51 | 52 | ||
@@ -223,6 +224,9 @@ static struct platform_device *smdkv210_devices[] __initdata = { | |||
223 | &s3c_device_rtc, | 224 | &s3c_device_rtc, |
224 | &s3c_device_ts, | 225 | &s3c_device_ts, |
225 | &s3c_device_wdt, | 226 | &s3c_device_wdt, |
227 | &s5p_device_mfc, | ||
228 | &s5p_device_mfc_l, | ||
229 | &s5p_device_mfc_r, | ||
226 | &s5pv210_device_ac97, | 230 | &s5pv210_device_ac97, |
227 | &s5pv210_device_iis0, | 231 | &s5pv210_device_iis0, |
228 | &s5pv210_device_spdif, | 232 | &s5pv210_device_spdif, |
@@ -282,6 +286,11 @@ static void __init smdkv210_map_io(void) | |||
282 | s5p_set_timer_source(S5P_PWM2, S5P_PWM4); | 286 | s5p_set_timer_source(S5P_PWM2, S5P_PWM4); |
283 | } | 287 | } |
284 | 288 | ||
289 | static void __init smdkv210_reserve(void) | ||
290 | { | ||
291 | s5p_mfc_reserve_mem(0x43000000, 8 << 20, 0x51000000, 8 << 20); | ||
292 | } | ||
293 | |||
285 | static void __init smdkv210_machine_init(void) | 294 | static void __init smdkv210_machine_init(void) |
286 | { | 295 | { |
287 | s3c_pm_init(); | 296 | s3c_pm_init(); |
@@ -319,4 +328,5 @@ MACHINE_START(SMDKV210, "SMDKV210") | |||
319 | .init_machine = smdkv210_machine_init, | 328 | .init_machine = smdkv210_machine_init, |
320 | .timer = &s5p_timer, | 329 | .timer = &s5p_timer, |
321 | .restart = s5pv210_restart, | 330 | .restart = s5pv210_restart, |
331 | .reserve = &smdkv210_reserve, | ||
322 | MACHINE_END | 332 | MACHINE_END |