aboutsummaryrefslogtreecommitdiffstats
path: root/arch/sh/boards
diff options
context:
space:
mode:
authorMagnus Damm <damm@igel.co.jp>2008-12-19 01:34:50 -0500
committerPaul Mundt <lethal@linux-sh.org>2008-12-22 04:44:49 -0500
commitb5868e8cdeb35cd9ddc3a541f81f318b0f6772b3 (patch)
tree01fe85b2dc7f1c57589f81a9fc9f6629f142cc1a /arch/sh/boards
parent8564557a03c12adb9c4b76ae1e86db4113a04d13 (diff)
sh: enable deferred io LCDC on Migo-R
Enable LCDC deferred io on Migo-R using 1s delay. As with other deferred io frame buffers user space code should use fsync() on the frame buffer device to trigger an update. Signed-off-by: Magnus Damm <damm@igel.co.jp> Signed-off-by: Paul Mundt <lethal@linux-sh.org>
Diffstat (limited to 'arch/sh/boards')
-rw-r--r--arch/sh/boards/mach-migor/setup.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/arch/sh/boards/mach-migor/setup.c b/arch/sh/boards/mach-migor/setup.c
index 3e37fb25ef92..cc1408119c24 100644
--- a/arch/sh/boards/mach-migor/setup.c
+++ b/arch/sh/boards/mach-migor/setup.c
@@ -262,6 +262,8 @@ static struct sh_mobile_lcdc_info sh_mobile_lcdc_info = {
262 .sys_bus_cfg = { 262 .sys_bus_cfg = {
263 .ldmt2r = 0x06000a09, 263 .ldmt2r = 0x06000a09,
264 .ldmt3r = 0x180e3418, 264 .ldmt3r = 0x180e3418,
265 /* set 1s delay to encourage fsync() */
266 .deferred_io_msec = 1000,
265 }, 267 },
266 } 268 }
267#endif 269#endif