diff options
Diffstat (limited to 'meta-fsl-extras/recipes/u-boot/u-boot-script-boundary/0001-Set-screen-resolution-for-ft5x06_ts-based-on-selecte.patch')
-rw-r--r-- | meta-fsl-extras/recipes/u-boot/u-boot-script-boundary/0001-Set-screen-resolution-for-ft5x06_ts-based-on-selecte.patch | 29 |
1 files changed, 29 insertions, 0 deletions
diff --git a/meta-fsl-extras/recipes/u-boot/u-boot-script-boundary/0001-Set-screen-resolution-for-ft5x06_ts-based-on-selecte.patch b/meta-fsl-extras/recipes/u-boot/u-boot-script-boundary/0001-Set-screen-resolution-for-ft5x06_ts-based-on-selecte.patch new file mode 100644 index 0000000..7d8e8ec --- /dev/null +++ b/meta-fsl-extras/recipes/u-boot/u-boot-script-boundary/0001-Set-screen-resolution-for-ft5x06_ts-based-on-selecte.patch | |||
@@ -0,0 +1,29 @@ | |||
1 | From 3fdf74d6934858d04d9e7df7cd24779bf7d9fdbb Mon Sep 17 00:00:00 2001 | ||
2 | From: Samuli Piippo <samuli.piippo@theqtcompany.com> | ||
3 | Date: Wed, 13 Jan 2016 08:55:41 +0200 | ||
4 | Subject: [PATCH] Set screen resolution for ft5x06_ts based on selected display | ||
5 | |||
6 | --- | ||
7 | board/boundary/nitrogen6x/6x_bootscript-yocto-3.14.txt | 6 ++++++ | ||
8 | 1 file changed, 6 insertions(+) | ||
9 | |||
10 | diff --git a/board/boundary/nitrogen6x/6x_bootscript-yocto-3.14.txt b/board/boundary/nitrogen6x/6x_bootscript-yocto-3.14.txt | ||
11 | index 7c11f4c..86242b5 100644 | ||
12 | --- a/board/boundary/nitrogen6x/6x_bootscript-yocto-3.14.txt | ||
13 | +++ b/board/boundary/nitrogen6x/6x_bootscript-yocto-3.14.txt | ||
14 | @@ -105,6 +105,12 @@ else | ||
15 | setenv bootargs "${bootargs} root=/dev/mmcblk${disk}p${bpart}" | ||
16 | fi | ||
17 | |||
18 | +if test "hannstar" = "${fb_lvds}" || test "hannstar" = "${fb_lvds2}" ; then | ||
19 | + setenv bootargs ${bootargs} ft5x06_ts.screenres=1024,600 | ||
20 | +elif test "hannstar7" = "${fb_lvds}" || test "hannstar7" = "${fb_lvds2}" ; then | ||
21 | + setenv bootargs ${bootargs} ft5x06_ts.screenres=1280,800 | ||
22 | +fi | ||
23 | + | ||
24 | if itest.s "x" != "x${disable_giga}" ; then | ||
25 | setenv bootargs ${bootargs} fec.disable_giga=1 | ||
26 | fi | ||
27 | -- | ||
28 | 1.9.1 | ||
29 | |||