aboutsummaryrefslogtreecommitdiffstats
path: root/arch/arm/mach-exynos4/mach-universal_c210.c
diff options
context:
space:
mode:
Diffstat (limited to 'arch/arm/mach-exynos4/mach-universal_c210.c')
-rw-r--r--arch/arm/mach-exynos4/mach-universal_c210.c13
1 files changed, 13 insertions, 0 deletions
diff --git a/arch/arm/mach-exynos4/mach-universal_c210.c b/arch/arm/mach-exynos4/mach-universal_c210.c
index 5d8b097bb69..0e280d12301 100644
--- a/arch/arm/mach-exynos4/mach-universal_c210.c
+++ b/arch/arm/mach-exynos4/mach-universal_c210.c
@@ -31,7 +31,9 @@
31#include <plat/devs.h> 31#include <plat/devs.h>
32#include <plat/iic.h> 32#include <plat/iic.h>
33#include <plat/gpio-cfg.h> 33#include <plat/gpio-cfg.h>
34#include <plat/mfc.h>
34#include <plat/sdhci.h> 35#include <plat/sdhci.h>
36#include <plat/pd.h>
35 37
36#include <mach/map.h> 38#include <mach/map.h>
37 39
@@ -717,6 +719,10 @@ static struct platform_device *universal_devices[] __initdata = {
717 &i2c_gpio12, 719 &i2c_gpio12,
718 &universal_gpio_keys, 720 &universal_gpio_keys,
719 &s5p_device_onenand, 721 &s5p_device_onenand,
722 &s5p_device_mfc,
723 &s5p_device_mfc_l,
724 &s5p_device_mfc_r,
725 &exynos4_device_pd[PD_MFC],
720}; 726};
721 727
722static void __init universal_map_io(void) 728static void __init universal_map_io(void)
@@ -726,6 +732,11 @@ static void __init universal_map_io(void)
726 s3c24xx_init_uarts(universal_uartcfgs, ARRAY_SIZE(universal_uartcfgs)); 732 s3c24xx_init_uarts(universal_uartcfgs, ARRAY_SIZE(universal_uartcfgs));
727} 733}
728 734
735static void __init universal_reserve(void)
736{
737 s5p_mfc_reserve_mem(0x43000000, 8 << 20, 0x51000000, 8 << 20);
738}
739
729static void __init universal_machine_init(void) 740static void __init universal_machine_init(void)
730{ 741{
731 universal_sdhci_init(); 742 universal_sdhci_init();
@@ -746,6 +757,7 @@ static void __init universal_machine_init(void)
746 757
747 /* Last */ 758 /* Last */
748 platform_add_devices(universal_devices, ARRAY_SIZE(universal_devices)); 759 platform_add_devices(universal_devices, ARRAY_SIZE(universal_devices));
760 s5p_device_mfc.dev.parent = &exynos4_device_pd[PD_MFC].dev;
749} 761}
750 762
751MACHINE_START(UNIVERSAL_C210, "UNIVERSAL_C210") 763MACHINE_START(UNIVERSAL_C210, "UNIVERSAL_C210")
@@ -755,4 +767,5 @@ MACHINE_START(UNIVERSAL_C210, "UNIVERSAL_C210")
755 .map_io = universal_map_io, 767 .map_io = universal_map_io,
756 .init_machine = universal_machine_init, 768 .init_machine = universal_machine_init,
757 .timer = &exynos4_timer, 769 .timer = &exynos4_timer,
770 .reserve = &universal_reserve,
758MACHINE_END 771MACHINE_END