diff options
Diffstat (limited to 'meta-fsl-extras/recipes/u-boot/u-boot-fslc/0001-Use-hdmi-as-primary-display-only-if-connected.patch')
-rw-r--r-- | meta-fsl-extras/recipes/u-boot/u-boot-fslc/0001-Use-hdmi-as-primary-display-only-if-connected.patch | 37 |
1 files changed, 0 insertions, 37 deletions
diff --git a/meta-fsl-extras/recipes/u-boot/u-boot-fslc/0001-Use-hdmi-as-primary-display-only-if-connected.patch b/meta-fsl-extras/recipes/u-boot/u-boot-fslc/0001-Use-hdmi-as-primary-display-only-if-connected.patch deleted file mode 100644 index ddd90c6..0000000 --- a/meta-fsl-extras/recipes/u-boot/u-boot-fslc/0001-Use-hdmi-as-primary-display-only-if-connected.patch +++ /dev/null | |||
@@ -1,37 +0,0 @@ | |||
1 | From 734ccf82db363efddb960b1c4f7db4081f2fdd7c Mon Sep 17 00:00:00 2001 | ||
2 | From: Samuli Piippo <samuli.piippo@theqtcompany.com> | ||
3 | Date: Thu, 18 Feb 2016 12:49:01 +0200 | ||
4 | Subject: [PATCH] Use hdmi as primary display only if connected | ||
5 | |||
6 | Test if HDMI display is connected before setting it as primary display. | ||
7 | Otherwise set lvds as primary display. Test can be overridden by | ||
8 | setting video_interfaces env. | ||
9 | --- | ||
10 | include/configs/mx6sabre_common.h | 10 +++++++++- | ||
11 | 1 file changed, 9 insertions(+), 1 deletion(-) | ||
12 | |||
13 | diff --git a/include/configs/mx6sabre_common.h b/include/configs/mx6sabre_common.h | ||
14 | index a8746a4..485f232 100644 | ||
15 | --- a/include/configs/mx6sabre_common.h | ||
16 | +++ b/include/configs/mx6sabre_common.h | ||
17 | @@ -163,8 +163,16 @@ | ||
18 | "video_args_lcd=setenv video_args $video_args " \ | ||
19 | "video=mxcfb${fb}:dev=lcd,CLAA-WVGA,if=RGB666\0" \ | ||
20 | "fb=0\0" \ | ||
21 | - "video_interfaces=hdmi lvds lcd\0" \ | ||
22 | + "video_interfaces=\0" \ | ||
23 | "video_args_script=" \ | ||
24 | + "if test -z \"${video_interfaces}\"; then " \ | ||
25 | + "i2c dev 1; " \ | ||
26 | + "if i2c probe 0x50; then " \ | ||
27 | + "setenv video_interfaces hdmi lvds lcd; " \ | ||
28 | + "else " \ | ||
29 | + "setenv video_interfaces lvds hdmi lcd; " \ | ||
30 | + "fi; " \ | ||
31 | + "fi; " \ | ||
32 | "for v in ${video_interfaces}; do " \ | ||
33 | "run video_args_${v}; " \ | ||
34 | "setexpr fb $fb + 1; " \ | ||
35 | -- | ||
36 | 1.9.1 | ||
37 | |||