diff options
author | Kuninori Morimoto <kuninori.morimoto.gx@renesas.com> | 2012-03-12 21:55:23 -0400 |
---|---|---|
committer | Paul Mundt <lethal@linux-sh.org> | 2012-03-15 02:13:05 -0400 |
commit | e9dd7ed2a365b021cdbb35b5cad62f6ab6aeb5d2 (patch) | |
tree | 3b7bd8840e2853f1c54a7270c0da63e593b3c2e2 /arch/arm/mach-shmobile | |
parent | f1cbd03f5eabb75ea8ace23b47d2209f10871c16 (diff) |
ARM: mach-shmobile: ap4evb: Reserve DMA memory for the frame buffer
ap4evb board needs the same fix as
1740d3448012475f6b63172631c60cbcd1994a81
(ARM: mach-shmobile: mackerel: Reserve DMA memory for the frame buffer)
Signed-off-by: Kuninori Morimoto <kuninori.morimoto.gx@renesas.com>
Signed-off-by: Paul Mundt <lethal@linux-sh.org>
Diffstat (limited to 'arch/arm/mach-shmobile')
-rw-r--r-- | arch/arm/mach-shmobile/board-ap4evb.c | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/arch/arm/mach-shmobile/board-ap4evb.c b/arch/arm/mach-shmobile/board-ap4evb.c index b4718b00e827..6e3fab69a5a0 100644 --- a/arch/arm/mach-shmobile/board-ap4evb.c +++ b/arch/arm/mach-shmobile/board-ap4evb.c | |||
@@ -1206,6 +1206,12 @@ static void __init ap4evb_map_io(void) | |||
1206 | { | 1206 | { |
1207 | iotable_init(ap4evb_io_desc, ARRAY_SIZE(ap4evb_io_desc)); | 1207 | iotable_init(ap4evb_io_desc, ARRAY_SIZE(ap4evb_io_desc)); |
1208 | 1208 | ||
1209 | /* | ||
1210 | * DMA memory at 0xff200000 - 0xffdfffff. The default 2MB size isn't | ||
1211 | * enough to allocate the frame buffer memory. | ||
1212 | */ | ||
1213 | init_consistent_dma_size(12 << 20); | ||
1214 | |||
1209 | /* setup early devices and console here as well */ | 1215 | /* setup early devices and console here as well */ |
1210 | sh7372_add_early_devices(); | 1216 | sh7372_add_early_devices(); |
1211 | shmobile_setup_console(); | 1217 | shmobile_setup_console(); |