projects
/
openwrt
/
staging
/
blogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
f1cbd03
)
ARM: mach-shmobile: ap4evb: Reserve DMA memory for the frame buffer
author
Kuninori Morimoto
<
[email protected]
>
Tue, 13 Mar 2012 01:55:23 +0000
(18:55 -0700)
committer
Paul Mundt
<
[email protected]
>
Thu, 15 Mar 2012 06:13:05 +0000
(15:13 +0900)
ap4evb board needs the same fix as
1740d3448012475f6b63172631c60cbcd1994a81
(ARM: mach-shmobile: mackerel: Reserve DMA memory for the frame buffer)
Signed-off-by: Kuninori Morimoto <
[email protected]
>
Signed-off-by: Paul Mundt <
[email protected]
>
arch/arm/mach-shmobile/board-ap4evb.c
patch
|
blob
|
history
diff --git
a/arch/arm/mach-shmobile/board-ap4evb.c
b/arch/arm/mach-shmobile/board-ap4evb.c
index b4718b00e827b90e73edf01b252379cca75e4bcc..6e3fab69a5a08b071f2d9e055900cc838a834487 100644
(file)
--- 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)
{
iotable_init(ap4evb_io_desc, ARRAY_SIZE(ap4evb_io_desc));
+ /*
+ * DMA memory at 0xff200000 - 0xffdfffff. The default 2MB size isn't
+ * enough to allocate the frame buffer memory.
+ */
+ init_consistent_dma_size(12 << 20);
+
/* setup early devices and console here as well */
sh7372_add_early_devices();
shmobile_setup_console();