Add a formfactor configuration file for the i9300 to enable
touchscreen calibration on startup.

Signed-off-by: Bob Ham <bob....@collabora.com>
---
 meta-samsung/conf/machine/i9300.conf                            | 4 ----
 meta-samsung/recipes-bsp/formfactor/formfactor/i9300/machconfig | 5 +++++
 2 files changed, 5 insertions(+), 4 deletions(-)
 create mode 100755 
meta-samsung/recipes-bsp/formfactor/formfactor/i9300/machconfig

diff --git a/meta-samsung/conf/machine/i9300.conf 
b/meta-samsung/conf/machine/i9300.conf
index 8792a4f..ea8c35d 100644
--- a/meta-samsung/conf/machine/i9300.conf
+++ b/meta-samsung/conf/machine/i9300.conf
@@ -9,10 +9,6 @@ TARGET_ARCH = "arm"
 PREFERRED_PROVIDER_virtual/kernel ?= "linux-samsung-i9300"
 
 MACHINE_FEATURES = "apm alsa bluetooth gps usbgadget usbhost phone wifi vfat 
ext2 keyboard"
-MACHINE_DISPLAY_WIDTH_PIXELS = "720"
-MACHINE_DISPLAY_HEIGHT_PIXELS = "1280"
-MACHINE_DISPLAY_ORIENTATION = "0"
-MACHINE_DISPLAY_PPI = "306"
 
 MACHINE_EXTRA_RDEPENDS = " \
     kernel-module-autofs4 \
diff --git a/meta-samsung/recipes-bsp/formfactor/formfactor/i9300/machconfig 
b/meta-samsung/recipes-bsp/formfactor/formfactor/i9300/machconfig
new file mode 100755
index 0000000..a682e03
--- /dev/null
+++ b/meta-samsung/recipes-bsp/formfactor/formfactor/i9300/machconfig
@@ -0,0 +1,5 @@
+HAVE_TOUCHSCREEN=1
+DISPLAY_ORIENTATION=0
+DISPLAY_WIDTH_PIXELS=720
+DISPLAY_HEIGHT_PIXELS=1280
+DISPLAY_PPI=306
-- 
2.1.4

_______________________________________________
Shr-devel mailing list
Shr-devel@lists.shr-project.org
http://lists.shr-project.org/mailman/listinfo/shr-devel

Reply via email to