diff options
Diffstat (limited to 'arch/arm/mach-s3c2440/mach-rx3715.c')
-rw-r--r-- | arch/arm/mach-s3c2440/mach-rx3715.c | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/arch/arm/mach-s3c2440/mach-rx3715.c b/arch/arm/mach-s3c2440/mach-rx3715.c index d2946de3f365..6bb44f75a9ce 100644 --- a/arch/arm/mach-s3c2440/mach-rx3715.c +++ b/arch/arm/mach-s3c2440/mach-rx3715.c | |||
@@ -15,6 +15,7 @@ | |||
15 | #include <linux/types.h> | 15 | #include <linux/types.h> |
16 | #include <linux/interrupt.h> | 16 | #include <linux/interrupt.h> |
17 | #include <linux/list.h> | 17 | #include <linux/list.h> |
18 | #include <linux/memblock.h> | ||
18 | #include <linux/timer.h> | 19 | #include <linux/timer.h> |
19 | #include <linux/init.h> | 20 | #include <linux/init.h> |
20 | #include <linux/tty.h> | 21 | #include <linux/tty.h> |
@@ -191,6 +192,13 @@ static void __init rx3715_map_io(void) | |||
191 | s3c24xx_init_uarts(rx3715_uartcfgs, ARRAY_SIZE(rx3715_uartcfgs)); | 192 | s3c24xx_init_uarts(rx3715_uartcfgs, ARRAY_SIZE(rx3715_uartcfgs)); |
192 | } | 193 | } |
193 | 194 | ||
195 | /* H1940 and RX3715 need to reserve this for suspend */ | ||
196 | static void __init rx3715_reserve(void) | ||
197 | { | ||
198 | memblock_reserve(0x30003000, 0x1000); | ||
199 | memblock_reserve(0x30081000, 0x1000); | ||
200 | } | ||
201 | |||
194 | static void __init rx3715_init_irq(void) | 202 | static void __init rx3715_init_irq(void) |
195 | { | 203 | { |
196 | s3c24xx_init_irq(); | 204 | s3c24xx_init_irq(); |
@@ -214,6 +222,7 @@ MACHINE_START(RX3715, "IPAQ-RX3715") | |||
214 | .io_pg_offst = (((u32)S3C24XX_VA_UART) >> 18) & 0xfffc, | 222 | .io_pg_offst = (((u32)S3C24XX_VA_UART) >> 18) & 0xfffc, |
215 | .boot_params = S3C2410_SDRAM_PA + 0x100, | 223 | .boot_params = S3C2410_SDRAM_PA + 0x100, |
216 | .map_io = rx3715_map_io, | 224 | .map_io = rx3715_map_io, |
225 | .reserve = rx3715_reserve, | ||
217 | .init_irq = rx3715_init_irq, | 226 | .init_irq = rx3715_init_irq, |
218 | .init_machine = rx3715_init_machine, | 227 | .init_machine = rx3715_init_machine, |
219 | .timer = &s3c24xx_timer, | 228 | .timer = &s3c24xx_timer, |