Commit e6d5b897 authored by Thomas Schäfer's avatar Thomas Schäfer
Browse files

pitx-imx8m: remove display configurations from board file



- Display configuration is set up in device tree now.

Signed-off-by: Thomas Schäfer's avatarThomas Schaefer <thomas.schaefer@kontron.com>
parent bc2d0541
...@@ -655,52 +655,6 @@ int is_recovery_key_pressing(void) ...@@ -655,52 +655,6 @@ int is_recovery_key_pressing(void)
#endif /*CONFIG_ANDROID_RECOVERY*/ #endif /*CONFIG_ANDROID_RECOVERY*/
#endif /*CONFIG_FSL_FASTBOOT*/ #endif /*CONFIG_FSL_FASTBOOT*/
#if defined(CONFIG_VIDEO_IMXDCSS)
struct display_info_t const displays[] = {{
.bus = 0, /* Unused */
.addr = 0, /* Unused */
.pixfmt = GDF_32BIT_X888RGB,
.detect = NULL,
.enable = NULL,
#ifndef CONFIG_VIDEO_IMXDCSS_1080P
.mode = {
.name = "HDMI", /* 720P60 */
.refresh = 60,
.xres = 1280,
.yres = 720,
.pixclock = 13468, /* 74250 kHz */
.left_margin = 110,
.right_margin = 220,
.upper_margin = 5,
.lower_margin = 20,
.hsync_len = 40,
.vsync_len = 5,
.sync = FB_SYNC_HOR_HIGH_ACT | FB_SYNC_VERT_HIGH_ACT,
.vmode = FB_VMODE_NONINTERLACED
}
#else
.mode = {
.name = "HDMI", /* 1080P60 */
.refresh = 60,
.xres = 1920,
.yres = 1080,
.pixclock = 6734, /* 148500 kHz */
.left_margin = 148,
.right_margin = 88,
.upper_margin = 36,
.lower_margin = 4,
.hsync_len = 44,
.vsync_len = 5,
.sync = FB_SYNC_HOR_HIGH_ACT | FB_SYNC_VERT_HIGH_ACT,
.vmode = FB_VMODE_NONINTERLACED
}
#endif
} };
size_t display_count = ARRAY_SIZE(displays);
#endif /* CONFIG_VIDEO_IMXDCSS */
/* return hard code board id for imx8m_ref */ /* return hard code board id for imx8m_ref */
#if defined(CONFIG_ANDROID_THINGS_SUPPORT) && defined(CONFIG_ARCH_IMX8M) #if defined(CONFIG_ANDROID_THINGS_SUPPORT) && defined(CONFIG_ARCH_IMX8M)
int get_imx8m_baseboard_id(void) int get_imx8m_baseboard_id(void)
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment