summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorXinyu Chen <xinyu.chen@freescale.com>2012-04-13 10:40:19 +0800
committerXinyu Chen <xinyu.chen@freescale.com>2012-04-13 11:03:16 +0800
commit5327f3f9288fc2682650b5afda44e2512ce865f3 (patch)
treec7611d5b7c61ff4b25932e2184c6924c0a5da957
parent7e3c740e81ea39074bcc34fbb99a81792ea9d395 (diff)
ENGR00179594 mx6dl sabresd: register second framebuffer deviceimx-android-r13.2.1
Though mx6dl only has one IPU, it can still support two DIs. So two LVDS or LVDS+HDMI should be supported. Signed-off-by: Xinyu Chen <xinyu.chen@freescale.com>
-rw-r--r--arch/arm/mach-mx6/board-mx6q_sabresd.c9
1 files changed, 3 insertions, 6 deletions
diff --git a/arch/arm/mach-mx6/board-mx6q_sabresd.c b/arch/arm/mach-mx6/board-mx6q_sabresd.c
index da2208119467..3f81e1526aa5 100644
--- a/arch/arm/mach-mx6/board-mx6q_sabresd.c
+++ b/arch/arm/mach-mx6/board-mx6q_sabresd.c
@@ -1534,13 +1534,10 @@ static void __init mx6_sabresd_board_init(void)
imx6q_add_mxc_hdmi_core(&hdmi_core_data);
imx6q_add_ipuv3(0, &ipu_data[0]);
- if (cpu_is_mx6q()) {
+ if (cpu_is_mx6q())
imx6q_add_ipuv3(1, &ipu_data[1]);
- for (i = 0; i < ARRAY_SIZE(sabresd_fb_data); i++)
- imx6q_add_ipuv3fb(i, &sabresd_fb_data[i]);
- } else
- for (i = 0; i < (ARRAY_SIZE(sabresd_fb_data) + 1) / 2; i++)
- imx6q_add_ipuv3fb(i, &sabresd_fb_data[i]);
+ for (i = 0; i < ARRAY_SIZE(sabresd_fb_data); i++)
+ imx6q_add_ipuv3fb(i, &sabresd_fb_data[i]);
imx6q_add_vdoa();
imx6q_add_lcdif(&lcdif_data);