[meta-ti] Denys Dmytriyenko : machine: clean up MACHINE_FEATURES for omap5, dra7, am57
Arago Project git
git at arago-project.org
Fri Aug 29 09:55:36 PDT 2014
Module: meta-ti
Branch: daisy
Commit: 41457c50e21168faf04f3cdd4168954890d6cdab
URL: http://arago-project.org/git/meta-ti.git?a=commit;h=41457c50e21168faf04f3cdd4168954890d6cdab
Author: Denys Dmytriyenko <denys at ti.com>
Date: Tue Aug 26 20:59:58 2014 +0000
machine: clean up MACHINE_FEATURES for omap5, dra7, am57
* Enable "sgx" feature on all - the driver may still be missing, but GLES is
available from omap5-sgx-ddk-linux package
* Enable "touchscreen" feature only on dra7 and am57 - not available on omap5
Signed-off-by: Denys Dmytriyenko <denys at ti.com>
Acked-by: Franklin Cooper Jr. <fcooper at ti.com>
---
conf/machine/am57xx-evm.conf | 6 ++----
conf/machine/dra7xx-evm.conf | 6 ++----
conf/machine/include/omap-a15.inc | 5 ++++-
conf/machine/omap5-evm.conf | 4 ----
4 files changed, 8 insertions(+), 13 deletions(-)
diff --git a/conf/machine/am57xx-evm.conf b/conf/machine/am57xx-evm.conf
index 0beed60..25b1647 100644
--- a/conf/machine/am57xx-evm.conf
+++ b/conf/machine/am57xx-evm.conf
@@ -4,6 +4,8 @@
require conf/machine/include/dra7xx.inc
+MACHINE_FEATURES += "touchscreen"
+
IMAGE_FSTYPES += "ubi tar.gz"
SERIAL_CONSOLE = "115200 ttyO2"
@@ -30,7 +32,3 @@ MKUBIFS_ARGS = "-F -m 2048 -e 126976 -c 3836"
# UBI: sub-page size: 512
# UBI: VID header offset: 2048 (aligned 2048)
UBINIZE_ARGS = "-m 2048 -p 128KiB -s 512 -O 2048"
-
-# Currently removing the sgx machine feature because there is no SGX package
-# available for omap5
-MACHINE_FEATURES = "kernel26 apm usbgadget usbhost vfat ext2 screen touchscreen"
diff --git a/conf/machine/dra7xx-evm.conf b/conf/machine/dra7xx-evm.conf
index 7069b44..ba7b440 100644
--- a/conf/machine/dra7xx-evm.conf
+++ b/conf/machine/dra7xx-evm.conf
@@ -4,6 +4,8 @@
require conf/machine/include/dra7xx.inc
+MACHINE_FEATURES += "touchscreen"
+
IMAGE_FSTYPES += "ubi tar.gz"
SERIAL_CONSOLE = "115200 ttyO0"
@@ -30,7 +32,3 @@ MKUBIFS_ARGS = "-F -m 2048 -e 126976 -c 3836"
# UBI: sub-page size: 512
# UBI: VID header offset: 2048 (aligned 2048)
UBINIZE_ARGS = "-m 2048 -p 128KiB -s 512 -O 2048"
-
-# Currently removing the sgx machine feature because there is no SGX package
-# available for omap5
-MACHINE_FEATURES = "kernel26 apm usbgadget usbhost vfat ext2 screen touchscreen"
diff --git a/conf/machine/include/omap-a15.inc b/conf/machine/include/omap-a15.inc
index 3fef64e..d7ddb62 100644
--- a/conf/machine/include/omap-a15.inc
+++ b/conf/machine/include/omap-a15.inc
@@ -5,7 +5,7 @@ DEFAULTTUNE ?= "cortexa15thf-neon"
require conf/machine/include/tune-cortexa15.inc
# Increase this everytime you change something in the kernel
-MACHINE_KERNEL_PR = "r4"
+MACHINE_KERNEL_PR = "r5"
PREFERRED_PROVIDER_virtual/kernel = "linux-ti-staging"
PREFERRED_PROVIDER_virtual/bootloader = "u-boot-ti-staging"
@@ -29,3 +29,6 @@ GUI_MACHINE_CLASS = "smallscreen"
# Use the expected value of the ubifs filesystem's volume name in the kernel
# and u-boot.
UBI_VOLNAME = "rootfs"
+
+# List common SoC features, may need to add touchscreen for specific machines
+MACHINE_FEATURES = "kernel26 apm usbgadget usbhost vfat ext2 screen alsa ethernet sgx"
diff --git a/conf/machine/omap5-evm.conf b/conf/machine/omap5-evm.conf
index ba60e7c..d21abc1 100644
--- a/conf/machine/omap5-evm.conf
+++ b/conf/machine/omap5-evm.conf
@@ -30,7 +30,3 @@ MKUBIFS_ARGS = "-F -m 2048 -e 126976 -c 3836"
UBINIZE_ARGS = "-m 2048 -p 128KiB -s 512 -O 2048"
UBOOT_MACHINE = "omap5_uevm_config"
-
-# Currently removing the sgx machine feature because there is no SGX package
-# available for omap5
-MACHINE_FEATURES = "kernel26 apm usbgadget usbhost vfat ext2 screen touchscreen"
More information about the meta-ti
mailing list