diff options
author | Sachin Kamat <sachin.kamat@linaro.org> | 2012-03-09 10:00:35 -0500 |
---|---|---|
committer | Kukjin Kim <kgene.kim@samsung.com> | 2012-03-11 01:32:22 -0500 |
commit | 6ff5d257cedcfbbf1ccf4df224b7a90f347df58f (patch) | |
tree | b30e715568e3367881408ae03582f114a4a202be /arch/arm/mach-s5pv210 | |
parent | c7bf01df608d98d873edc39bd3d8dd2b722a3bf2 (diff) |
ARM: S5PV210: Enable MFC on SMDKC110
Add MFC support on SMDKC110 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-smdkc110.c | 10 |
2 files changed, 11 insertions, 0 deletions
diff --git a/arch/arm/mach-s5pv210/Kconfig b/arch/arm/mach-s5pv210/Kconfig index 1e0131b6bd81..dd9bdab96490 100644 --- a/arch/arm/mach-s5pv210/Kconfig +++ b/arch/arm/mach-s5pv210/Kconfig | |||
@@ -118,6 +118,7 @@ config MACH_SMDKC110 | |||
118 | select S3C_DEV_I2C2 | 118 | select S3C_DEV_I2C2 |
119 | select S3C_DEV_RTC | 119 | select S3C_DEV_RTC |
120 | select S3C_DEV_WDT | 120 | select S3C_DEV_WDT |
121 | select S5P_DEV_MFC | ||
121 | select SAMSUNG_DEV_IDE | 122 | select SAMSUNG_DEV_IDE |
122 | select S5PV210_SETUP_I2C1 | 123 | select S5PV210_SETUP_I2C1 |
123 | select S5PV210_SETUP_I2C2 | 124 | select S5PV210_SETUP_I2C2 |
diff --git a/arch/arm/mach-s5pv210/mach-smdkc110.c b/arch/arm/mach-s5pv210/mach-smdkc110.c index b323983b2c54..7100f7ebe156 100644 --- a/arch/arm/mach-s5pv210/mach-smdkc110.c +++ b/arch/arm/mach-s5pv210/mach-smdkc110.c | |||
@@ -31,6 +31,7 @@ | |||
31 | #include <plat/iic.h> | 31 | #include <plat/iic.h> |
32 | #include <plat/pm.h> | 32 | #include <plat/pm.h> |
33 | #include <plat/s5p-time.h> | 33 | #include <plat/s5p-time.h> |
34 | #include <plat/mfc.h> | ||
34 | 35 | ||
35 | #include "common.h" | 36 | #include "common.h" |
36 | 37 | ||
@@ -94,6 +95,9 @@ static struct platform_device *smdkc110_devices[] __initdata = { | |||
94 | &s3c_device_i2c2, | 95 | &s3c_device_i2c2, |
95 | &s3c_device_rtc, | 96 | &s3c_device_rtc, |
96 | &s3c_device_wdt, | 97 | &s3c_device_wdt, |
98 | &s5p_device_mfc, | ||
99 | &s5p_device_mfc_l, | ||
100 | &s5p_device_mfc_r, | ||
97 | }; | 101 | }; |
98 | 102 | ||
99 | static struct i2c_board_info smdkc110_i2c_devs0[] __initdata = { | 103 | static struct i2c_board_info smdkc110_i2c_devs0[] __initdata = { |
@@ -117,6 +121,11 @@ static void __init smdkc110_map_io(void) | |||
117 | s5p_set_timer_source(S5P_PWM3, S5P_PWM4); | 121 | s5p_set_timer_source(S5P_PWM3, S5P_PWM4); |
118 | } | 122 | } |
119 | 123 | ||
124 | static void __init smdkc110_reserve(void) | ||
125 | { | ||
126 | s5p_mfc_reserve_mem(0x43000000, 8 << 20, 0x51000000, 8 << 20); | ||
127 | } | ||
128 | |||
120 | static void __init smdkc110_machine_init(void) | 129 | static void __init smdkc110_machine_init(void) |
121 | { | 130 | { |
122 | s3c_pm_init(); | 131 | s3c_pm_init(); |
@@ -145,4 +154,5 @@ MACHINE_START(SMDKC110, "SMDKC110") | |||
145 | .init_machine = smdkc110_machine_init, | 154 | .init_machine = smdkc110_machine_init, |
146 | .timer = &s5p_timer, | 155 | .timer = &s5p_timer, |
147 | .restart = s5pv210_restart, | 156 | .restart = s5pv210_restart, |
157 | .reserve = &smdkc110_reserve, | ||
148 | MACHINE_END | 158 | MACHINE_END |