diff options
Diffstat (limited to 'arch/arm/mach-s5pv210/mach-goni.c')
-rw-r--r-- | arch/arm/mach-s5pv210/mach-goni.c | 12 |
1 files changed, 11 insertions, 1 deletions
diff --git a/arch/arm/mach-s5pv210/mach-goni.c b/arch/arm/mach-s5pv210/mach-goni.c index 31d5aa769753..85c2d51a0956 100644 --- a/arch/arm/mach-s5pv210/mach-goni.c +++ b/arch/arm/mach-s5pv210/mach-goni.c | |||
@@ -34,7 +34,6 @@ | |||
34 | 34 | ||
35 | #include <mach/map.h> | 35 | #include <mach/map.h> |
36 | #include <mach/regs-clock.h> | 36 | #include <mach/regs-clock.h> |
37 | #include <mach/regs-fb.h> | ||
38 | 37 | ||
39 | #include <plat/gpio-cfg.h> | 38 | #include <plat/gpio-cfg.h> |
40 | #include <plat/regs-serial.h> | 39 | #include <plat/regs-serial.h> |
@@ -47,6 +46,8 @@ | |||
47 | #include <plat/sdhci.h> | 46 | #include <plat/sdhci.h> |
48 | #include <plat/clock.h> | 47 | #include <plat/clock.h> |
49 | #include <plat/s5p-time.h> | 48 | #include <plat/s5p-time.h> |
49 | #include <plat/mfc.h> | ||
50 | #include <plat/regs-fb-v4.h> | ||
50 | 51 | ||
51 | /* Following are default values for UCON, ULCON and UFCON UART registers */ | 52 | /* Following are default values for UCON, ULCON and UFCON UART registers */ |
52 | #define GONI_UCON_DEFAULT (S3C2410_UCON_TXILEVEL | \ | 53 | #define GONI_UCON_DEFAULT (S3C2410_UCON_TXILEVEL | \ |
@@ -808,6 +809,9 @@ static struct platform_device *goni_devices[] __initdata = { | |||
808 | &goni_i2c_gpio5, | 809 | &goni_i2c_gpio5, |
809 | &mmc2_fixed_voltage, | 810 | &mmc2_fixed_voltage, |
810 | &goni_device_gpiokeys, | 811 | &goni_device_gpiokeys, |
812 | &s5p_device_mfc, | ||
813 | &s5p_device_mfc_l, | ||
814 | &s5p_device_mfc_r, | ||
811 | &s3c_device_i2c0, | 815 | &s3c_device_i2c0, |
812 | &s5p_device_fimc0, | 816 | &s5p_device_fimc0, |
813 | &s5p_device_fimc1, | 817 | &s5p_device_fimc1, |
@@ -841,6 +845,11 @@ static void __init goni_map_io(void) | |||
841 | s5p_set_timer_source(S5P_PWM3, S5P_PWM4); | 845 | s5p_set_timer_source(S5P_PWM3, S5P_PWM4); |
842 | } | 846 | } |
843 | 847 | ||
848 | static void __init goni_reserve(void) | ||
849 | { | ||
850 | s5p_mfc_reserve_mem(0x43000000, 8 << 20, 0x51000000, 8 << 20); | ||
851 | } | ||
852 | |||
844 | static void __init goni_machine_init(void) | 853 | static void __init goni_machine_init(void) |
845 | { | 854 | { |
846 | /* Radio: call before I2C 1 registeration */ | 855 | /* Radio: call before I2C 1 registeration */ |
@@ -893,4 +902,5 @@ MACHINE_START(GONI, "GONI") | |||
893 | .map_io = goni_map_io, | 902 | .map_io = goni_map_io, |
894 | .init_machine = goni_machine_init, | 903 | .init_machine = goni_machine_init, |
895 | .timer = &s5p_timer, | 904 | .timer = &s5p_timer, |
905 | .reserve = &goni_reserve, | ||
896 | MACHINE_END | 906 | MACHINE_END |