diff options
author | Arnd Bergmann <arnd@arndb.de> | 2011-10-08 15:07:42 -0400 |
---|---|---|
committer | Arnd Bergmann <arnd@arndb.de> | 2011-10-08 15:07:42 -0400 |
commit | 71f2c153755442c05d15cd025484f676a5f3541f (patch) | |
tree | fe48af6ddc33da7a0aaf1a16ed9feeafa4a8e1e1 /arch/arm/mach-s5p64x0 | |
parent | 8efc59ad6764ade520012cb192cd484e5191cd9c (diff) | |
parent | c825dda905bac330c2da7fabdf5c0ac28758b3cd (diff) |
Merge branch 'depends/rmk/devel-stable' into next/cleanup
Diffstat (limited to 'arch/arm/mach-s5p64x0')
-rw-r--r-- | arch/arm/mach-s5p64x0/cpu.c | 3 | ||||
-rw-r--r-- | arch/arm/mach-s5p64x0/include/mach/memory.h | 1 | ||||
-rw-r--r-- | arch/arm/mach-s5p64x0/mach-smdk6440.c | 2 | ||||
-rw-r--r-- | arch/arm/mach-s5p64x0/mach-smdk6450.c | 2 |
4 files changed, 5 insertions, 3 deletions
diff --git a/arch/arm/mach-s5p64x0/cpu.c b/arch/arm/mach-s5p64x0/cpu.c index a5c00952ea35..8a938542c54d 100644 --- a/arch/arm/mach-s5p64x0/cpu.c +++ b/arch/arm/mach-s5p64x0/cpu.c | |||
@@ -20,6 +20,7 @@ | |||
20 | #include <linux/serial_core.h> | 20 | #include <linux/serial_core.h> |
21 | #include <linux/platform_device.h> | 21 | #include <linux/platform_device.h> |
22 | #include <linux/sched.h> | 22 | #include <linux/sched.h> |
23 | #include <linux/dma-mapping.h> | ||
23 | 24 | ||
24 | #include <asm/mach/arch.h> | 25 | #include <asm/mach/arch.h> |
25 | #include <asm/mach/map.h> | 26 | #include <asm/mach/map.h> |
@@ -111,6 +112,7 @@ void __init s5p6440_map_io(void) | |||
111 | 112 | ||
112 | iotable_init(s5p64x0_iodesc, ARRAY_SIZE(s5p64x0_iodesc)); | 113 | iotable_init(s5p64x0_iodesc, ARRAY_SIZE(s5p64x0_iodesc)); |
113 | iotable_init(s5p6440_iodesc, ARRAY_SIZE(s5p6440_iodesc)); | 114 | iotable_init(s5p6440_iodesc, ARRAY_SIZE(s5p6440_iodesc)); |
115 | init_consistent_dma_size(SZ_8M); | ||
114 | } | 116 | } |
115 | 117 | ||
116 | void __init s5p6450_map_io(void) | 118 | void __init s5p6450_map_io(void) |
@@ -120,6 +122,7 @@ void __init s5p6450_map_io(void) | |||
120 | 122 | ||
121 | iotable_init(s5p64x0_iodesc, ARRAY_SIZE(s5p64x0_iodesc)); | 123 | iotable_init(s5p64x0_iodesc, ARRAY_SIZE(s5p64x0_iodesc)); |
122 | iotable_init(s5p6450_iodesc, ARRAY_SIZE(s5p6450_iodesc)); | 124 | iotable_init(s5p6450_iodesc, ARRAY_SIZE(s5p6450_iodesc)); |
125 | init_consistent_dma_size(SZ_8M); | ||
123 | } | 126 | } |
124 | 127 | ||
125 | /* | 128 | /* |
diff --git a/arch/arm/mach-s5p64x0/include/mach/memory.h b/arch/arm/mach-s5p64x0/include/mach/memory.h index 365a6eb4b88f..b14cbc3f521b 100644 --- a/arch/arm/mach-s5p64x0/include/mach/memory.h +++ b/arch/arm/mach-s5p64x0/include/mach/memory.h | |||
@@ -14,6 +14,5 @@ | |||
14 | #define __ASM_ARCH_MEMORY_H __FILE__ | 14 | #define __ASM_ARCH_MEMORY_H __FILE__ |
15 | 15 | ||
16 | #define PLAT_PHYS_OFFSET UL(0x20000000) | 16 | #define PLAT_PHYS_OFFSET UL(0x20000000) |
17 | #define CONSISTENT_DMA_SIZE SZ_8M | ||
18 | 17 | ||
19 | #endif /* __ASM_ARCH_MEMORY_H */ | 18 | #endif /* __ASM_ARCH_MEMORY_H */ |
diff --git a/arch/arm/mach-s5p64x0/mach-smdk6440.c b/arch/arm/mach-s5p64x0/mach-smdk6440.c index 340f30f4a3da..88857f5a49f7 100644 --- a/arch/arm/mach-s5p64x0/mach-smdk6440.c +++ b/arch/arm/mach-s5p64x0/mach-smdk6440.c | |||
@@ -165,7 +165,7 @@ static void __init smdk6440_machine_init(void) | |||
165 | 165 | ||
166 | MACHINE_START(SMDK6440, "SMDK6440") | 166 | MACHINE_START(SMDK6440, "SMDK6440") |
167 | /* Maintainer: Kukjin Kim <kgene.kim@samsung.com> */ | 167 | /* Maintainer: Kukjin Kim <kgene.kim@samsung.com> */ |
168 | .boot_params = S5P64X0_PA_SDRAM + 0x100, | 168 | .atag_offset = 0x100, |
169 | 169 | ||
170 | .init_irq = s5p6440_init_irq, | 170 | .init_irq = s5p6440_init_irq, |
171 | .map_io = smdk6440_map_io, | 171 | .map_io = smdk6440_map_io, |
diff --git a/arch/arm/mach-s5p64x0/mach-smdk6450.c b/arch/arm/mach-s5p64x0/mach-smdk6450.c index ee0da14665b6..e1b277b94610 100644 --- a/arch/arm/mach-s5p64x0/mach-smdk6450.c +++ b/arch/arm/mach-s5p64x0/mach-smdk6450.c | |||
@@ -184,7 +184,7 @@ static void __init smdk6450_machine_init(void) | |||
184 | 184 | ||
185 | MACHINE_START(SMDK6450, "SMDK6450") | 185 | MACHINE_START(SMDK6450, "SMDK6450") |
186 | /* Maintainer: Kukjin Kim <kgene.kim@samsung.com> */ | 186 | /* Maintainer: Kukjin Kim <kgene.kim@samsung.com> */ |
187 | .boot_params = S5P64X0_PA_SDRAM + 0x100, | 187 | .atag_offset = 0x100, |
188 | 188 | ||
189 | .init_irq = s5p6450_init_irq, | 189 | .init_irq = s5p6450_init_irq, |
190 | .map_io = smdk6450_map_io, | 190 | .map_io = smdk6450_map_io, |