diff options
| author | Arnd Bergmann <arnd@arndb.de> | 2012-03-22 18:02:16 -0400 |
|---|---|---|
| committer | Arnd Bergmann <arnd@arndb.de> | 2012-03-24 15:13:31 -0400 |
| commit | 426f1af947c61dee48a9267f84bff227e503a547 (patch) | |
| tree | adbd2ad224278c58ac483af0b0d77f2c59e54315 | |
| parent | 5cd9eb2736a572a9ef2689829f47ffd4262adc00 (diff) | |
| parent | e9dd7ed2a365b021cdbb35b5cad62f6ab6aeb5d2 (diff) | |
Merge branch 'rmobile-fixes-for-linus' of git://github.com/pmundt/linux-sh into renesas/soc
Conflicts:
arch/arm/mach-shmobile/board-ap4evb.c
This moves the addition of init_consistent_dma_size() from the board
files into the common sh7372_map_io() functions where all the other
contents of the board specific map_io calls have gone.
Signed-off-by: Arnd Bergmann <arnd@arndb.de>
57 files changed, 1708 insertions, 2644 deletions
diff --git a/MAINTAINERS b/MAINTAINERS index 3321d75c6c7f..95e4e43a12b4 100644 --- a/MAINTAINERS +++ b/MAINTAINERS | |||
| @@ -2845,6 +2845,12 @@ S: Maintained | |||
| 2845 | F: drivers/media/video/m5mols/ | 2845 | F: drivers/media/video/m5mols/ |
| 2846 | F: include/media/m5mols.h | 2846 | F: include/media/m5mols.h |
| 2847 | 2847 | ||
| 2848 | FUJITSU TABLET EXTRAS | ||
| 2849 | M: Robert Gerlach <khnz@gmx.de> | ||
| 2850 | L: platform-driver-x86@vger.kernel.org | ||
| 2851 | S: Maintained | ||
| 2852 | F: drivers/platform/x86/fujitsu-tablet.c | ||
| 2853 | |||
| 2848 | FUSE: FILESYSTEM IN USERSPACE | 2854 | FUSE: FILESYSTEM IN USERSPACE |
| 2849 | M: Miklos Szeredi <miklos@szeredi.hu> | 2855 | M: Miklos Szeredi <miklos@szeredi.hu> |
| 2850 | L: fuse-devel@lists.sourceforge.net | 2856 | L: fuse-devel@lists.sourceforge.net |
diff --git a/arch/arm/mach-shmobile/board-ap4evb.c b/arch/arm/mach-shmobile/board-ap4evb.c index 4739f039650a..c92c00527123 100644 --- a/arch/arm/mach-shmobile/board-ap4evb.c +++ b/arch/arm/mach-shmobile/board-ap4evb.c | |||
| @@ -1188,6 +1188,7 @@ static struct i2c_board_info i2c1_devices[] = { | |||
| 1188 | }, | 1188 | }, |
| 1189 | }; | 1189 | }; |
| 1190 | 1190 | ||
| 1191 | |||
| 1191 | #define GPIO_PORT9CR 0xE6051009 | 1192 | #define GPIO_PORT9CR 0xE6051009 |
| 1192 | #define GPIO_PORT10CR 0xE605100A | 1193 | #define GPIO_PORT10CR 0xE605100A |
| 1193 | #define USCCR1 0xE6058144 | 1194 | #define USCCR1 0xE6058144 |
diff --git a/arch/arm/mach-shmobile/board-mackerel.c b/arch/arm/mach-shmobile/board-mackerel.c index 71d279150471..55da7a115912 100644 --- a/arch/arm/mach-shmobile/board-mackerel.c +++ b/arch/arm/mach-shmobile/board-mackerel.c | |||
| @@ -1335,15 +1335,6 @@ static struct i2c_board_info i2c1_devices[] = { | |||
| 1335 | }, | 1335 | }, |
| 1336 | }; | 1336 | }; |
| 1337 | 1337 | ||
| 1338 | static void __init mackerel_map_io(void) | ||
| 1339 | { | ||
| 1340 | sh7372_map_io(); | ||
| 1341 | /* DMA memory at 0xff200000 - 0xffdfffff. The default 2MB size isn't | ||
| 1342 | * enough to allocate the frame buffer memory. | ||
| 1343 | */ | ||
| 1344 | init_consistent_dma_size(12 << 20); | ||
| 1345 | } | ||
| 1346 | |||
| 1347 | #define GPIO_PORT9CR 0xE6051009 | 1338 | #define GPIO_PORT9CR 0xE6051009 |
| 1348 | #define GPIO_PORT10CR 0xE605100A | 1339 | #define GPIO_PORT10CR 0xE605100A |
| 1349 | #define GPIO_PORT167CR 0xE60520A7 | 1340 | #define GPIO_PORT167CR 0xE60520A7 |
| @@ -1563,7 +1554,7 @@ static void __init mackerel_init(void) | |||
| 1563 | } | 1554 | } |
| 1564 | 1555 | ||
| 1565 | MACHINE_START(MACKEREL, "mackerel") | 1556 | MACHINE_START(MACKEREL, "mackerel") |
| 1566 | .map_io = mackerel_map_io, | 1557 | .map_io = sh7372_map_io, |
| 1567 | .init_early = sh7372_add_early_devices, | 1558 | .init_early = sh7372_add_early_devices, |
| 1568 | .init_irq = sh7372_init_irq, | 1559 | .init_irq = sh7372_init_irq, |
| 1569 | .handle_irq = shmobile_handle_irq_intc, | 1560 | .handle_irq = shmobile_handle_irq_intc, |
diff --git a/arch/arm/mach-shmobile/setup-sh7372.c b/arch/arm/mach-shmobile/setup-sh7372.c index c14fb35de47c..0ebbee087b5e 100644 --- a/arch/arm/mach-shmobile/setup-sh7372.c +++ b/arch/arm/mach-shmobile/setup-sh7372.c | |||
| @@ -31,6 +31,7 @@ | |||
| 31 | #include <linux/sh_intc.h> | 31 | #include <linux/sh_intc.h> |
| 32 | #include <linux/sh_timer.h> | 32 | #include <linux/sh_timer.h> |
| 33 | #include <linux/pm_domain.h> | 33 | #include <linux/pm_domain.h> |
| 34 | #include <linux/dma-mapping.h> | ||
| 34 | #include <mach/hardware.h> | 35 | #include <mach/hardware.h> |
| 35 | #include <mach/sh7372.h> | 36 | #include <mach/sh7372.h> |
| 36 | #include <mach/common.h> | 37 | #include <mach/common.h> |
| @@ -54,6 +55,12 @@ static struct map_desc sh7372_io_desc[] __initdata = { | |||
| 54 | void __init sh7372_map_io(void) | 55 | void __init sh7372_map_io(void) |
| 55 | { | 56 | { |
| 56 | iotable_init(sh7372_io_desc, ARRAY_SIZE(sh7372_io_desc)); | 57 | iotable_init(sh7372_io_desc, ARRAY_SIZE(sh7372_io_desc)); |
| 58 | |||
| 59 | /* | ||
| 60 | * DMA memory at 0xff200000 - 0xffdfffff. The default 2MB size isn't | ||
| 61 | * enough to allocate the frame buffer memory. | ||
| 62 | */ | ||
| 63 | init_consistent_dma_size(12 << 20); | ||
| 57 | } | 64 | } |
| 58 | 65 | ||
| 59 | /* SCIFA0 */ | 66 | /* SCIFA0 */ |
diff --git a/arch/sh/kernel/cpu/sh2a/ex.S b/arch/sh/kernel/cpu/sh2a/ex.S index 3ead9e63965a..4568066700cf 100644 --- a/arch/sh/kernel/cpu/sh2a/ex.S +++ b/arch/sh/kernel/cpu/sh2a/ex.S | |||
| @@ -66,6 +66,7 @@ vector = 0 | |||
| 66 | .long exception_entry0 + vector * 6 | 66 | .long exception_entry0 + vector * 6 |
| 67 | vector = vector + 1 | 67 | vector = vector + 1 |
| 68 | .endr | 68 | .endr |
| 69 | vector = 0 | ||
| 69 | .rept 256 | 70 | .rept 256 |
| 70 | .long exception_entry1 + vector * 6 | 71 | .long exception_entry1 + vector * 6 |
| 71 | vector = vector + 1 | ||
