diff options
-rw-r--r-- | arch/arm/mach-exynos4/Kconfig | 1 | ||||
-rw-r--r-- | arch/arm/mach-exynos4/mach-smdkv310.c | 11 |
2 files changed, 12 insertions, 0 deletions
diff --git a/arch/arm/mach-exynos4/Kconfig b/arch/arm/mach-exynos4/Kconfig index 2542cebd591e..95ba0cc9f6e1 100644 --- a/arch/arm/mach-exynos4/Kconfig +++ b/arch/arm/mach-exynos4/Kconfig | |||
@@ -139,6 +139,7 @@ config MACH_SMDKV310 | |||
139 | select S3C_DEV_RTC | 139 | select S3C_DEV_RTC |
140 | select S3C_DEV_WDT | 140 | select S3C_DEV_WDT |
141 | select S3C_DEV_I2C1 | 141 | select S3C_DEV_I2C1 |
142 | select S5P_DEV_MFC | ||
142 | select S3C_DEV_HSMMC | 143 | select S3C_DEV_HSMMC |
143 | select S3C_DEV_HSMMC1 | 144 | select S3C_DEV_HSMMC1 |
144 | select S3C_DEV_HSMMC2 | 145 | select S3C_DEV_HSMMC2 |
diff --git a/arch/arm/mach-exynos4/mach-smdkv310.c b/arch/arm/mach-exynos4/mach-smdkv310.c index ea4149556860..5f62b2b3310d 100644 --- a/arch/arm/mach-exynos4/mach-smdkv310.c +++ b/arch/arm/mach-exynos4/mach-smdkv310.c | |||
@@ -32,6 +32,7 @@ | |||
32 | #include <plat/pd.h> | 32 | #include <plat/pd.h> |
33 | #include <plat/gpio-cfg.h> | 33 | #include <plat/gpio-cfg.h> |
34 | #include <plat/backlight.h> | 34 | #include <plat/backlight.h> |
35 | #include <plat/mfc.h> | ||
35 | 36 | ||
36 | #include <mach/map.h> | 37 | #include <mach/map.h> |
37 | 38 | ||
@@ -177,6 +178,9 @@ static struct platform_device *smdkv310_devices[] __initdata = { | |||
177 | &exynos4_device_ac97, | 178 | &exynos4_device_ac97, |
178 | &exynos4_device_i2s0, | 179 | &exynos4_device_i2s0, |
179 | &samsung_device_keypad, | 180 | &samsung_device_keypad, |
181 | &s5p_device_mfc, | ||
182 | &s5p_device_mfc_l, | ||
183 | &s5p_device_mfc_r, | ||
180 | &exynos4_device_pd[PD_MFC], | 184 | &exynos4_device_pd[PD_MFC], |
181 | &exynos4_device_pd[PD_G3D], | 185 | &exynos4_device_pd[PD_G3D], |
182 | &exynos4_device_pd[PD_LCD0], | 186 | &exynos4_device_pd[PD_LCD0], |
@@ -233,6 +237,11 @@ static void __init smdkv310_map_io(void) | |||
233 | s3c24xx_init_uarts(smdkv310_uartcfgs, ARRAY_SIZE(smdkv310_uartcfgs)); | 237 | s3c24xx_init_uarts(smdkv310_uartcfgs, ARRAY_SIZE(smdkv310_uartcfgs)); |
234 | } | 238 | } |
235 | 239 | ||
240 | static void __init smdkv310_reserve(void) | ||
241 | { | ||
242 | s5p_mfc_reserve_mem(0x43000000, 8 << 20, 0x51000000, 8 << 20); | ||
243 | } | ||
244 | |||
236 | static void __init smdkv310_machine_init(void) | 245 | static void __init smdkv310_machine_init(void) |
237 | { | 246 | { |
238 | s3c_i2c1_set_platdata(NULL); | 247 | s3c_i2c1_set_platdata(NULL); |
@@ -250,6 +259,7 @@ static void __init smdkv310_machine_init(void) | |||
250 | samsung_bl_set(&smdkv310_bl_gpio_info, &smdkv310_bl_data); | 259 | samsung_bl_set(&smdkv310_bl_gpio_info, &smdkv310_bl_data); |
251 | 260 | ||
252 | platform_add_devices(smdkv310_devices, ARRAY_SIZE(smdkv310_devices)); | 261 | platform_add_devices(smdkv310_devices, ARRAY_SIZE(smdkv310_devices)); |
262 | s5p_device_mfc.dev.parent = &exynos4_device_pd[PD_MFC].dev; | ||
253 | } | 263 | } |
254 | 264 | ||
255 | MACHINE_START(SMDKV310, "SMDKV310") | 265 | MACHINE_START(SMDKV310, "SMDKV310") |
@@ -260,4 +270,5 @@ MACHINE_START(SMDKV310, "SMDKV310") | |||
260 | .map_io = smdkv310_map_io, | 270 | .map_io = smdkv310_map_io, |
261 | .init_machine = smdkv310_machine_init, | 271 | .init_machine = smdkv310_machine_init, |
262 | .timer = &exynos4_timer, | 272 | .timer = &exynos4_timer, |
273 | .reserve = &smdkv310_reserve, | ||
263 | MACHINE_END | 274 | MACHINE_END |