summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLiu Ying <Ying.Liu@freescale.com>2012-02-24 16:17:49 +0800
committerLiu Ying <Ying.Liu@freescale.com>2012-02-24 16:24:12 +0800
commitcbda2535bee5ba7c719b4688ce569c9c777d034e (patch)
tree4c52906f726fd6e4edf1761b0a7814c2525df2c9
parentff11d2ffeebd5de08a1f0771a9794ea8996baf4c (diff)
ENGR00175356 MX6Q SabreSD:Do not reserve IPUv3 ov fb mem
This patch removes the IPUv3 overlay framebuffer reservation. Signed-off-by: Liu Ying <Ying.Liu@freescale.com>
-rw-r--r--arch/arm/mach-mx6/board-mx6q_sabresd.c8
1 files changed, 0 insertions, 8 deletions
diff --git a/arch/arm/mach-mx6/board-mx6q_sabresd.c b/arch/arm/mach-mx6/board-mx6q_sabresd.c
index aace18c9910b..3fb01004a8ce 100644
--- a/arch/arm/mach-mx6/board-mx6q_sabresd.c
+++ b/arch/arm/mach-mx6/board-mx6q_sabresd.c
@@ -1352,7 +1352,6 @@ static struct sys_timer mx6_sabresd_timer = {
.init = mx6_sabresd_timer_init,
};
-#define SZ_TRIPLE_1080P ALIGN((1920*ALIGN(1080, 128)*2*3), SZ_4K)
static void __init mx6q_sabresd_reserve(void)
{
phys_addr_t phys;
@@ -1390,13 +1389,6 @@ static void __init mx6q_sabresd_reserve(void)
memblock_free(phys, sabresd_fb_data[i].res_size[0]);
memblock_remove(phys, sabresd_fb_data[i].res_size[0]);
sabresd_fb_data[i].res_base[0] = phys;
-
- /* reserve for overlay buffer */
- phys = memblock_alloc(SZ_TRIPLE_1080P, SZ_4K);
- memblock_free(phys, SZ_TRIPLE_1080P);
- memblock_remove(phys, SZ_TRIPLE_1080P);
- sabresd_fb_data[i].res_base[1] = phys;
- sabresd_fb_data[i].res_size[1] = SZ_TRIPLE_1080P;
}
}