video: dcu: make sure memory size aligns to section size
authorStefan Agner <stefan.agner@toradex.com>
Thu, 23 Apr 2015 15:01:50 +0000 (17:01 +0200)
committerStefan Agner <stefan.agner@toradex.com>
Thu, 23 Apr 2015 15:18:46 +0000 (17:18 +0200)
commitf51c0c368c45a55f3eb41b1fa4206b87165f8661
treeef421918ef0f81486db606222441b7d885d98e8b
parent156c0200a96611e35fc4e2bd82e238676e2b95fb
video: dcu: make sure memory size aligns to section size

Align the reported memory size to 1MiB, which is the section size
in the Linux memory managment system. This avoids triggering an
issue which leads to freeze the Linux kernel very early:
http://thread.gmane.org/gmane.linux.ports.arm.kernel/408378
drivers/video/fsl_dcu_fb.c