aboutsummaryrefslogtreecommitdiffstats
path: root/arch/arm/mach-shmobile/board-mackerel.c
diff options
context:
space:
mode:
authorArnd Bergmann <arnd@arndb.de>2012-03-15 13:26:43 -0400
committerArnd Bergmann <arnd@arndb.de>2012-03-15 13:33:38 -0400
commit5cd9eb2736a572a9ef2689829f47ffd4262adc00 (patch)
tree380bcc1d77acc968e9ae9c8da9215b8b04edba1f /arch/arm/mach-shmobile/board-mackerel.c
parenta6e24019468009a21b674e392d74283a90f415dd (diff)
parente49d603c181b6004e2f6b5ad6d86daab84f22fe6 (diff)
Merge branch 'renesas/fixes' into renesas/soc
The fixes branch was merged into mainline just after v3.3-rc7, I'm merging it into this branch to fix up a nontrivial merge conflict. Unfortunately this means that we are now based on a commit between -rc releases, which we normally try to avoid. Conflicts: arch/arm/mach-shmobile/board-mackerel.c Resolution suggested by Laurent Pinchart <laurent.pinchart@ideasonboard.com> Signed-off-by: Arnd Bergmann <arnd@arndb.de>
Diffstat (limited to 'arch/arm/mach-shmobile/board-mackerel.c')
-rw-r--r--arch/arm/mach-shmobile/board-mackerel.c11
1 files changed, 10 insertions, 1 deletions
diff --git a/arch/arm/mach-shmobile/board-mackerel.c b/arch/arm/mach-shmobile/board-mackerel.c
index 55da7a115912..71d279150471 100644
--- a/arch/arm/mach-shmobile/board-mackerel.c
+++ b/arch/arm/mach-shmobile/board-mackerel.c
@@ -1335,6 +1335,15 @@ static struct i2c_board_info i2c1_devices[] = {
1335 }, 1335 },
1336}; 1336};
1337 1337
1338static 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
1338#define GPIO_PORT9CR 0xE6051009 1347#define GPIO_PORT9CR 0xE6051009
1339#define GPIO_PORT10CR 0xE605100A 1348#define GPIO_PORT10CR 0xE605100A
1340#define GPIO_PORT167CR 0xE60520A7 1349#define GPIO_PORT167CR 0xE60520A7
@@ -1554,7 +1563,7 @@ static void __init mackerel_init(void)
1554} 1563}
1555 1564
1556MACHINE_START(MACKEREL, "mackerel") 1565MACHINE_START(MACKEREL, "mackerel")
1557 .map_io = sh7372_map_io, 1566 .map_io = mackerel_map_io,
1558 .init_early = sh7372_add_early_devices, 1567 .init_early = sh7372_add_early_devices,
1559 .init_irq = sh7372_init_irq, 1568 .init_irq = sh7372_init_irq,
1560 .handle_irq = shmobile_handle_irq_intc, 1569 .handle_irq = shmobile_handle_irq_intc,