From 14ff317825d2b2c1f0d01de67cdb4e4beb484023 Mon Sep 17 00:00:00 2001 From: Philippe Langlais Date: Wed, 29 Feb 2012 14:06:05 +0100 Subject: mach-ux500: video: mcde: add rotbufsize This adds rotbufsize and moves the declaration of the rotbufs from the board-mop500-mcde.c file to the devices-db8500.c file. ST-Ericsson ID: 373680 ST-Ericsson FOSS-OUT ID: Trivial ST-Ericsson Linux next: NA Signed-off-by: Torbjorn Svensson --- arch/arm/mach-ux500/devices-db5500.c | 4 ++++ arch/arm/mach-ux500/devices-db8500.c | 4 ++++ 2 files changed, 8 insertions(+) diff --git a/arch/arm/mach-ux500/devices-db5500.c b/arch/arm/mach-ux500/devices-db5500.c index 6d7764f3d9e..73300e06281 100644 --- a/arch/arm/mach-ux500/devices-db5500.c +++ b/arch/arm/mach-ux500/devices-db5500.c @@ -216,6 +216,10 @@ static struct mcde_platform_data mcde_pdata = { .platform_set_clocks = mcde_platform_set_display_clocks, .platform_enable_dsipll = mcde_platform_enable_dsipll, .platform_disable_dsipll = mcde_platform_disable_dsipll, + /* TODO: Remove rotation buffers once ESRAM driver is completed */ + .rotbuf1 = U8500_ESRAM_BASE + 0x20000 * 4 + 0x2000, + .rotbuf2 = U8500_ESRAM_BASE + 0x20000 * 4 + 0x11000, + .rotbufsize = 0xF000, }; struct platform_device u5500_mcde_device = { diff --git a/arch/arm/mach-ux500/devices-db8500.c b/arch/arm/mach-ux500/devices-db8500.c index b4da60f2f76..e002d04c836 100644 --- a/arch/arm/mach-ux500/devices-db8500.c +++ b/arch/arm/mach-ux500/devices-db8500.c @@ -233,6 +233,10 @@ static struct mcde_platform_data mcde_u8500_pdata = { .platform_set_clocks = mcde_platform_set_display_clocks, .platform_enable_dsipll = mcde_platform_enable_dsipll, .platform_disable_dsipll = mcde_platform_disable_dsipll, + /* TODO: Remove rotation buffers once ESRAM driver is completed */ + .rotbuf1 = U8500_ESRAM_BASE + 0x20000 * 4 + 0x2000, + .rotbuf2 = U8500_ESRAM_BASE + 0x20000 * 4 + 0x11000, + .rotbufsize = 0xF000, }; struct platform_device u8500_mcde_device = { -- cgit v1.2.3