diff options
author | Arnd Bergmann <arnd@arndb.de> | 2011-10-31 23:58:59 -0400 |
---|---|---|
committer | Arnd Bergmann <arnd@arndb.de> | 2011-10-31 23:58:59 -0400 |
commit | cfaf8fc5b59527281e9ddc2e0e04e1127936e17f (patch) | |
tree | 975700d72e51f02c3c816a04fc5f141cdc4f6361 /arch/arm/mach-s3c64xx | |
parent | c6c3a3a03e6de52866bc81a32fc551733625d553 (diff) | |
parent | 0cdc8b921d68817b687755b4f6ae20cd8ff1d026 (diff) |
Merge branch 'depends/rmk/memory_h' into next/cleanup2
There are lots of conflicts between the omap and exynos cleanups
and the memory.h remove series.
Conflicts:
arch/arm/mach-exynos4/mach-smdkc210.c
arch/arm/mach-exynos4/mach-smdkv310.c
arch/arm/mach-imx/mach-cpuimx27.c
arch/arm/mach-omap1/board-ams-delta.c
arch/arm/mach-omap1/board-generic.c
arch/arm/mach-omap1/board-h2.c
arch/arm/mach-omap1/board-h3.c
arch/arm/mach-omap1/board-nokia770.c
arch/arm/mach-omap1/board-osk.c
arch/arm/mach-omap1/board-palmte.c
arch/arm/mach-omap1/board-palmtt.c
arch/arm/mach-omap1/board-palmz71.c
arch/arm/mach-omap1/board-sx1.c
arch/arm/mach-omap1/board-voiceblue.c
arch/arm/mach-omap1/io.c
arch/arm/mach-omap2/board-generic.c
arch/arm/mach-omap2/io.c
arch/arm/plat-omap/io.c
Signed-off-by: Arnd Bergmann <arnd@arndb.de>
Diffstat (limited to 'arch/arm/mach-s3c64xx')
-rw-r--r-- | arch/arm/mach-s3c64xx/cpu.c | 2 | ||||
-rw-r--r-- | arch/arm/mach-s3c64xx/include/mach/debug-macro.S | 2 | ||||
-rw-r--r-- | arch/arm/mach-s3c64xx/include/mach/memory.h | 20 | ||||
-rw-r--r-- | arch/arm/mach-s3c64xx/mach-anw6410.c | 2 | ||||
-rw-r--r-- | arch/arm/mach-s3c64xx/mach-crag6410.c | 2 | ||||
-rw-r--r-- | arch/arm/mach-s3c64xx/mach-hmt.c | 2 | ||||
-rw-r--r-- | arch/arm/mach-s3c64xx/mach-mini6410.c | 2 | ||||
-rw-r--r-- | arch/arm/mach-s3c64xx/mach-ncp.c | 2 | ||||
-rw-r--r-- | arch/arm/mach-s3c64xx/mach-real6410.c | 2 | ||||
-rw-r--r-- | arch/arm/mach-s3c64xx/mach-smartq5.c | 2 | ||||
-rw-r--r-- | arch/arm/mach-s3c64xx/mach-smartq7.c | 2 | ||||
-rw-r--r-- | arch/arm/mach-s3c64xx/mach-smdk6400.c | 2 | ||||
-rw-r--r-- | arch/arm/mach-s3c64xx/mach-smdk6410.c | 2 |
13 files changed, 13 insertions, 31 deletions
diff --git a/arch/arm/mach-s3c64xx/cpu.c b/arch/arm/mach-s3c64xx/cpu.c index cefd7f6dd4f3..de085b798aa4 100644 --- a/arch/arm/mach-s3c64xx/cpu.c +++ b/arch/arm/mach-s3c64xx/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/io.h> | 22 | #include <linux/io.h> |
23 | #include <linux/dma-mapping.h> | ||
23 | 24 | ||
24 | #include <mach/hardware.h> | 25 | #include <mach/hardware.h> |
25 | #include <mach/map.h> | 26 | #include <mach/map.h> |
@@ -143,6 +144,7 @@ void __init s3c64xx_init_io(struct map_desc *mach_desc, int size) | |||
143 | /* initialise the io descriptors we need for initialisation */ | 144 | /* initialise the io descriptors we need for initialisation */ |
144 | iotable_init(s3c_iodesc, ARRAY_SIZE(s3c_iodesc)); | 145 | iotable_init(s3c_iodesc, ARRAY_SIZE(s3c_iodesc)); |
145 | iotable_init(mach_desc, size); | 146 | iotable_init(mach_desc, size); |
147 | init_consistent_dma_size(SZ_8M); | ||
146 | 148 | ||
147 | /* detect cpu id */ | 149 | /* detect cpu id */ |
148 | s3c64xx_init_cpu(); | 150 | s3c64xx_init_cpu(); |
diff --git a/arch/arm/mach-s3c64xx/include/mach/debug-macro.S b/arch/arm/mach-s3c64xx/include/mach/debug-macro.S index a29e70550c70..c0c076a90f27 100644 --- a/arch/arm/mach-s3c64xx/include/mach/debug-macro.S +++ b/arch/arm/mach-s3c64xx/include/mach/debug-macro.S | |||
@@ -21,7 +21,7 @@ | |||
21 | * aligned and add in the offset when we load the value here. | 21 | * aligned and add in the offset when we load the value here. |
22 | */ | 22 | */ |
23 | 23 | ||
24 | .macro addruart, rp, rv | 24 | .macro addruart, rp, rv, tmp |
25 | ldr \rp, = S3C_PA_UART | 25 | ldr \rp, = S3C_PA_UART |
26 | ldr \rv, = (S3C_VA_UART + S3C_PA_UART & 0xfffff) | 26 | ldr \rv, = (S3C_VA_UART + S3C_PA_UART & 0xfffff) |
27 | #if CONFIG_DEBUG_S3C_UART != 0 | 27 | #if CONFIG_DEBUG_S3C_UART != 0 |
diff --git a/arch/arm/mach-s3c64xx/include/mach/memory.h b/arch/arm/mach-s3c64xx/include/mach/memory.h deleted file mode 100644 index 4760cdae1eb6..000000000000 --- a/arch/arm/mach-s3c64xx/include/mach/memory.h +++ /dev/null | |||
@@ -1,20 +0,0 @@ | |||
1 | /* arch/arm/mach-s3c6400/include/mach/memory.h | ||
2 | * | ||
3 | * Copyright 2008 Openmoko, Inc. | ||
4 | * Copyright 2008 Simtec Electronics | ||
5 | * Ben Dooks <ben@simtec.co.uk> | ||
6 | * http://armlinux.simtec.co.uk/ | ||
7 | * | ||
8 | * This program is free software; you can redistribute it and/or modify | ||
9 | * it under the terms of the GNU General Public License version 2 as | ||
10 | * published by the Free Software Foundation. | ||
11 | */ | ||
12 | |||
13 | #ifndef __ASM_ARCH_MEMORY_H | ||
14 | #define __ASM_ARCH_MEMORY_H | ||
15 | |||
16 | #define PLAT_PHYS_OFFSET UL(0x50000000) | ||
17 | |||
18 | #define CONSISTENT_DMA_SIZE SZ_8M | ||
19 | |||
20 | #endif | ||
diff --git a/arch/arm/mach-s3c64xx/mach-anw6410.c b/arch/arm/mach-s3c64xx/mach-anw6410.c index d2a68d22eda9..8eba88e7209e 100644 --- a/arch/arm/mach-s3c64xx/mach-anw6410.c +++ b/arch/arm/mach-s3c64xx/mach-anw6410.c | |||
@@ -233,7 +233,7 @@ static void __init anw6410_machine_init(void) | |||
233 | 233 | ||
234 | MACHINE_START(ANW6410, "A&W6410") | 234 | MACHINE_START(ANW6410, "A&W6410") |
235 | /* Maintainer: Kwangwoo Lee <kwangwoo.lee@gmail.com> */ | 235 | /* Maintainer: Kwangwoo Lee <kwangwoo.lee@gmail.com> */ |
236 | .boot_params = S3C64XX_PA_SDRAM + 0x100, | 236 | .atag_offset = 0x100, |
237 | 237 | ||
238 | .init_irq = s3c6410_init_irq, | 238 | .init_irq = s3c6410_init_irq, |
239 | .map_io = anw6410_map_io, | 239 | .map_io = anw6410_map_io, |
diff --git a/arch/arm/mach-s3c64xx/mach-crag6410.c b/arch/arm/mach-s3c64xx/mach-crag6410.c index fb3d9cd18156..d04b65448510 100644 --- a/arch/arm/mach-s3c64xx/mach-crag6410.c +++ b/arch/arm/mach-s3c64xx/mach-crag6410.c | |||
@@ -709,7 +709,7 @@ static void __init crag6410_machine_init(void) | |||
709 | 709 | ||
710 | MACHINE_START(WLF_CRAGG_6410, "Wolfson Cragganmore 6410") | 710 | MACHINE_START(WLF_CRAGG_6410, "Wolfson Cragganmore 6410") |
711 | /* Maintainer: Mark Brown <broonie@opensource.wolfsonmicro.com> */ | 711 | /* Maintainer: Mark Brown <broonie@opensource.wolfsonmicro.com> */ |
712 | .boot_params = S3C64XX_PA_SDRAM + 0x100, | 712 | .atag_offset = 0x100, |
713 | .init_irq = s3c6410_init_irq, | 713 | .init_irq = s3c6410_init_irq, |
714 | .map_io = crag6410_map_io, | 714 | .map_io = crag6410_map_io, |
715 | .init_machine = crag6410_machine_init, | 715 | .init_machine = crag6410_machine_init, |
diff --git a/arch/arm/mach-s3c64xx/mach-hmt.c b/arch/arm/mach-s3c64xx/mach-hmt.c index 61f4fde088e9..952f75ff5deb 100644 --- a/arch/arm/mach-s3c64xx/mach-hmt.c +++ b/arch/arm/mach-s3c64xx/mach-hmt.c | |||
@@ -265,7 +265,7 @@ static void __init hmt_machine_init(void) | |||
265 | 265 | ||
266 | MACHINE_START(HMT, "Airgoo-HMT") | 266 | MACHINE_START(HMT, "Airgoo-HMT") |
267 | /* Maintainer: Peter Korsgaard <jacmet@sunsite.dk> */ | 267 | /* Maintainer: Peter Korsgaard <jacmet@sunsite.dk> */ |
268 | .boot_params = S3C64XX_PA_SDRAM + 0x100, | 268 | .atag_offset = 0x100, |
269 | .init_irq = s3c6410_init_irq, | 269 | .init_irq = s3c6410_init_irq, |
270 | .map_io = hmt_map_io, | 270 | .map_io = hmt_map_io, |
271 | .init_machine = hmt_machine_init, | 271 | .init_machine = hmt_machine_init, |
diff --git a/arch/arm/mach-s3c64xx/mach-mini6410.c b/arch/arm/mach-s3c64xx/mach-mini6410.c index 5abb6d442523..1bc85c359498 100644 --- a/arch/arm/mach-s3c64xx/mach-mini6410.c +++ b/arch/arm/mach-s3c64xx/mach-mini6410.c | |||
@@ -343,7 +343,7 @@ static void __init mini6410_machine_init(void) | |||
343 | 343 | ||
344 | MACHINE_START(MINI6410, "MINI6410") | 344 | MACHINE_START(MINI6410, "MINI6410") |
345 | /* Maintainer: Darius Augulis <augulis.darius@gmail.com> */ | 345 | /* Maintainer: Darius Augulis <augulis.darius@gmail.com> */ |
346 | .boot_params = S3C64XX_PA_SDRAM + 0x100, | 346 | .atag_offset = 0x100, |
347 | .init_irq = s3c6410_init_irq, | 347 | .init_irq = s3c6410_init_irq, |
348 | .map_io = mini6410_map_io, | 348 | .map_io = mini6410_map_io, |
349 | .init_machine = mini6410_machine_init, | 349 | .init_machine = mini6410_machine_init, |
diff --git a/arch/arm/mach-s3c64xx/mach-ncp.c b/arch/arm/mach-s3c64xx/mach-ncp.c index 0f4316a2dc0b..cb13cba98b3d 100644 --- a/arch/arm/mach-s3c64xx/mach-ncp.c +++ b/arch/arm/mach-s3c64xx/mach-ncp.c | |||
@@ -97,7 +97,7 @@ static void __init ncp_machine_init(void) | |||
97 | 97 | ||
98 | MACHINE_START(NCP, "NCP") | 98 | MACHINE_START(NCP, "NCP") |
99 | /* Maintainer: Samsung Electronics */ | 99 | /* Maintainer: Samsung Electronics */ |
100 | .boot_params = S3C64XX_PA_SDRAM + 0x100, | 100 | .atag_offset = 0x100, |
101 | .init_irq = s3c6410_init_irq, | 101 | .init_irq = s3c6410_init_irq, |
102 | .map_io = ncp_map_io, | 102 | .map_io = ncp_map_io, |
103 | .init_machine = ncp_machine_init, | 103 | .init_machine = ncp_machine_init, |
diff --git a/arch/arm/mach-s3c64xx/mach-real6410.c b/arch/arm/mach-s3c64xx/mach-real6410.c index 1073d8105bab..87281e4b8471 100644 --- a/arch/arm/mach-s3c64xx/mach-real6410.c +++ b/arch/arm/mach-s3c64xx/mach-real6410.c | |||
@@ -323,7 +323,7 @@ static void __init real6410_machine_init(void) | |||
323 | 323 | ||
324 | MACHINE_START(REAL6410, "REAL6410") | 324 | MACHINE_START(REAL6410, "REAL6410") |
325 | /* Maintainer: Darius Augulis <augulis.darius@gmail.com> */ | 325 | /* Maintainer: Darius Augulis <augulis.darius@gmail.com> */ |
326 | .boot_params = S3C64XX_PA_SDRAM + 0x100, | 326 | .atag_offset = 0x100, |
327 | 327 | ||
328 | .init_irq = s3c6410_init_irq, | 328 | .init_irq = s3c6410_init_irq, |
329 | .map_io = real6410_map_io, | 329 | .map_io = real6410_map_io, |
diff --git a/arch/arm/mach-s3c64xx/mach-smartq5.c b/arch/arm/mach-s3c64xx/mach-smartq5.c index 30e906b842ea..94c831d88365 100644 --- a/arch/arm/mach-s3c64xx/mach-smartq5.c +++ b/arch/arm/mach-s3c64xx/mach-smartq5.c | |||
@@ -146,7 +146,7 @@ static void __init smartq5_machine_init(void) | |||
146 | 146 | ||
147 | MACHINE_START(SMARTQ5, "SmartQ 5") | 147 | MACHINE_START(SMARTQ5, "SmartQ 5") |
148 | /* Maintainer: Maurus Cuelenaere <mcuelenaere AT gmail DOT com> */ | 148 | /* Maintainer: Maurus Cuelenaere <mcuelenaere AT gmail DOT com> */ |
149 | .boot_params = S3C64XX_PA_SDRAM + 0x100, | 149 | .atag_offset = 0x100, |
150 | .init_irq = s3c6410_init_irq, | 150 | .init_irq = s3c6410_init_irq, |
151 | .map_io = smartq_map_io, | 151 | .map_io = smartq_map_io, |
152 | .init_machine = smartq5_machine_init, | 152 | .init_machine = smartq5_machine_init, |
diff --git a/arch/arm/mach-s3c64xx/mach-smartq7.c b/arch/arm/mach-s3c64xx/mach-smartq7.c index 9a71c2bf610d..f112547ce80a 100644 --- a/arch/arm/mach-s3c64xx/mach-smartq7.c +++ b/arch/arm/mach-s3c64xx/mach-smartq7.c | |||
@@ -162,7 +162,7 @@ static void __init smartq7_machine_init(void) | |||
162 | 162 | ||
163 | MACHINE_START(SMARTQ7, "SmartQ 7") | 163 | MACHINE_START(SMARTQ7, "SmartQ 7") |
164 | /* Maintainer: Maurus Cuelenaere <mcuelenaere AT gmail DOT com> */ | 164 | /* Maintainer: Maurus Cuelenaere <mcuelenaere AT gmail DOT com> */ |
165 | .boot_params = S3C64XX_PA_SDRAM + 0x100, | 165 | .atag_offset = 0x100, |
166 | .init_irq = s3c6410_init_irq, | 166 | .init_irq = s3c6410_init_irq, |
167 | .map_io = smartq_map_io, | 167 | .map_io = smartq_map_io, |
168 | .init_machine = smartq7_machine_init, | 168 | .init_machine = smartq7_machine_init, |
diff --git a/arch/arm/mach-s3c64xx/mach-smdk6400.c b/arch/arm/mach-s3c64xx/mach-smdk6400.c index fc7cb03e188d..73450c2b530a 100644 --- a/arch/arm/mach-s3c64xx/mach-smdk6400.c +++ b/arch/arm/mach-s3c64xx/mach-smdk6400.c | |||
@@ -85,7 +85,7 @@ static void __init smdk6400_machine_init(void) | |||
85 | 85 | ||
86 | MACHINE_START(SMDK6400, "SMDK6400") | 86 | MACHINE_START(SMDK6400, "SMDK6400") |
87 | /* Maintainer: Ben Dooks <ben-linux@fluff.org> */ | 87 | /* Maintainer: Ben Dooks <ben-linux@fluff.org> */ |
88 | .boot_params = S3C64XX_PA_SDRAM + 0x100, | 88 | .atag_offset = 0x100, |
89 | 89 | ||
90 | .init_irq = s3c6400_init_irq, | 90 | .init_irq = s3c6400_init_irq, |
91 | .map_io = smdk6400_map_io, | 91 | .map_io = smdk6400_map_io, |
diff --git a/arch/arm/mach-s3c64xx/mach-smdk6410.c b/arch/arm/mach-s3c64xx/mach-smdk6410.c index a817d629c0e9..8bc8edd85e5a 100644 --- a/arch/arm/mach-s3c64xx/mach-smdk6410.c +++ b/arch/arm/mach-s3c64xx/mach-smdk6410.c | |||
@@ -697,7 +697,7 @@ static void __init smdk6410_machine_init(void) | |||
697 | 697 | ||
698 | MACHINE_START(SMDK6410, "SMDK6410") | 698 | MACHINE_START(SMDK6410, "SMDK6410") |
699 | /* Maintainer: Ben Dooks <ben-linux@fluff.org> */ | 699 | /* Maintainer: Ben Dooks <ben-linux@fluff.org> */ |
700 | .boot_params = S3C64XX_PA_SDRAM + 0x100, | 700 | .atag_offset = 0x100, |
701 | 701 | ||
702 | .init_irq = s3c6410_init_irq, | 702 | .init_irq = s3c6410_init_irq, |
703 | .map_io = smdk6410_map_io, | 703 | .map_io = smdk6410_map_io, |