diff options
Diffstat (limited to 'arch/arm/mach-shmobile')
-rw-r--r-- | arch/arm/mach-shmobile/board-ap4evb.c | 1 | ||||
-rw-r--r-- | arch/arm/mach-shmobile/board-mackerel.c | 11 | ||||
-rw-r--r-- | arch/arm/mach-shmobile/setup-sh7372.c | 7 |
3 files changed, 9 insertions, 10 deletions
diff --git a/arch/arm/mach-shmobile/board-ap4evb.c b/arch/arm/mach-shmobile/board-ap4evb.c index 262f8def5577..b56dde2732bb 100644 --- a/arch/arm/mach-shmobile/board-ap4evb.c +++ b/arch/arm/mach-shmobile/board-ap4evb.c | |||
@@ -1186,6 +1186,7 @@ static struct i2c_board_info i2c1_devices[] = { | |||
1186 | }, | 1186 | }, |
1187 | }; | 1187 | }; |
1188 | 1188 | ||
1189 | |||
1189 | #define GPIO_PORT9CR 0xE6051009 | 1190 | #define GPIO_PORT9CR 0xE6051009 |
1190 | #define GPIO_PORT10CR 0xE605100A | 1191 | #define GPIO_PORT10CR 0xE605100A |
1191 | #define USCCR1 0xE6058144 | 1192 | #define USCCR1 0xE6058144 |
diff --git a/arch/arm/mach-shmobile/board-mackerel.c b/arch/arm/mach-shmobile/board-mackerel.c index bd4253ba05b6..ca609502d6cd 100644 --- a/arch/arm/mach-shmobile/board-mackerel.c +++ b/arch/arm/mach-shmobile/board-mackerel.c | |||
@@ -1327,15 +1327,6 @@ static struct i2c_board_info i2c1_devices[] = { | |||
1327 | }, | 1327 | }, |
1328 | }; | 1328 | }; |
1329 | 1329 | ||
1330 | static void __init mackerel_map_io(void) | ||
1331 | { | ||
1332 | sh7372_map_io(); | ||
1333 | /* DMA memory at 0xff200000 - 0xffdfffff. The default 2MB size isn't | ||
1334 | * enough to allocate the frame buffer memory. | ||
1335 | */ | ||
1336 | init_consistent_dma_size(12 << 20); | ||
1337 | } | ||
1338 | |||
1339 | #define GPIO_PORT9CR 0xE6051009 | 1330 | #define GPIO_PORT9CR 0xE6051009 |
1340 | #define GPIO_PORT10CR 0xE605100A | 1331 | #define GPIO_PORT10CR 0xE605100A |
1341 | #define GPIO_PORT167CR 0xE60520A7 | 1332 | #define GPIO_PORT167CR 0xE60520A7 |
@@ -1555,7 +1546,7 @@ static void __init mackerel_init(void) | |||
1555 | } | 1546 | } |
1556 | 1547 | ||
1557 | MACHINE_START(MACKEREL, "mackerel") | 1548 | MACHINE_START(MACKEREL, "mackerel") |
1558 | .map_io = mackerel_map_io, | 1549 | .map_io = sh7372_map_io, |
1559 | .init_early = sh7372_add_early_devices, | 1550 | .init_early = sh7372_add_early_devices, |
1560 | .init_irq = sh7372_init_irq, | 1551 | .init_irq = sh7372_init_irq, |
1561 | .handle_irq = shmobile_handle_irq_intc, | 1552 | .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 5375325d7ca7..4e818b7de781 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 */ |