summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--conf/machine/include/phyam335x.inc4
-rw-r--r--conf/machine/phycore-r2-am335x-1.conf2
-rw-r--r--conf/machine/phycore-r2-am335x-2.conf2
-rw-r--r--conf/machine/phycore-r2-am335x-3.conf2
-rw-r--r--conf/machine/phycore-r2-am335x-4.conf2
-rw-r--r--conf/machine/phycore-r2-am335x-5.conf2
-rw-r--r--recipes-kernel/linux/linux-ti_4.4.15-phy1.bb4
7 files changed, 9 insertions, 9 deletions
diff --git a/conf/machine/include/phyam335x.inc b/conf/machine/include/phyam335x.inc
index 25dc726..62111ce 100644
--- a/conf/machine/include/phyam335x.inc
+++ b/conf/machine/include/phyam335x.inc
@@ -30,10 +30,6 @@ SERIAL_CONSOLES ?= "115200;ttyO0"
RDEPENDS_kernel-base = ""
# dont create legacy tarball of modules
MODULE_TARBALL_DEPLOY = "0"
-# powermanagement firmware for the on-die Cortex M3
-# the newer version makes a lot of problems dont include
-# per default
-#RDEPENDS_kernel-modules_append = " amx3-cm3"
# rootfs images
# register image class for usage
diff --git a/conf/machine/phycore-r2-am335x-1.conf b/conf/machine/phycore-r2-am335x-1.conf
index 0f7dae8..5e67199 100644
--- a/conf/machine/phycore-r2-am335x-1.conf
+++ b/conf/machine/phycore-r2-am335x-1.conf
@@ -16,4 +16,4 @@ BAREBOX_BIN = "images/barebox-am33xx-phytec-phycore.img"
BAREBOX_IPL_BIN = "images/barebox-am33xx-phytec-phycore-r2-mlo-512mb.img"
# touchscreen, the rdk has one attached
-MACHINE_FEATURES += "touchscreen sgx"
+MACHINE_FEATURES += "touchscreen sgx suspend"
diff --git a/conf/machine/phycore-r2-am335x-2.conf b/conf/machine/phycore-r2-am335x-2.conf
index 57bbbb4..35db29a 100644
--- a/conf/machine/phycore-r2-am335x-2.conf
+++ b/conf/machine/phycore-r2-am335x-2.conf
@@ -16,4 +16,4 @@ BAREBOX_BIN = "images/barebox-am33xx-phytec-phycore-no-spi.img"
BAREBOX_IPL_BIN = "images/barebox-am33xx-phytec-phycore-r2-mlo-256mb.img"
# touchscreen, the rdk has one attached
-MACHINE_FEATURES += "touchscreen"
+MACHINE_FEATURES += "touchscreen suspend"
diff --git a/conf/machine/phycore-r2-am335x-3.conf b/conf/machine/phycore-r2-am335x-3.conf
index 24cd2b7..6e28dab 100644
--- a/conf/machine/phycore-r2-am335x-3.conf
+++ b/conf/machine/phycore-r2-am335x-3.conf
@@ -16,4 +16,4 @@ BAREBOX_BIN = "images/barebox-am33xx-phytec-phycore.img"
BAREBOX_IPL_BIN = "images/barebox-am33xx-phytec-phycore-r2-mlo-512mb.img"
# touchscreen, the rdk has one attached
-MACHINE_FEATURES += "touchscreen sgx"
+MACHINE_FEATURES += "touchscreen sgx suspend"
diff --git a/conf/machine/phycore-r2-am335x-4.conf b/conf/machine/phycore-r2-am335x-4.conf
index 2b45b81..e2c6ff8 100644
--- a/conf/machine/phycore-r2-am335x-4.conf
+++ b/conf/machine/phycore-r2-am335x-4.conf
@@ -16,4 +16,4 @@ BAREBOX_BIN = "images/barebox-am33xx-phytec-phycore-no-spi.img"
BAREBOX_IPL_BIN = "images/barebox-am33xx-phytec-phycore-r2-mlo-512mb.img"
# touchscreen, the rdk has one attached
-MACHINE_FEATURES += "touchscreen"
+MACHINE_FEATURES += "touchscreen suspend"
diff --git a/conf/machine/phycore-r2-am335x-5.conf b/conf/machine/phycore-r2-am335x-5.conf
index 4e171d7..7d752f7 100644
--- a/conf/machine/phycore-r2-am335x-5.conf
+++ b/conf/machine/phycore-r2-am335x-5.conf
@@ -16,4 +16,4 @@ BAREBOX_BIN = "images/barebox-am33xx-phytec-phycore.img"
BAREBOX_IPL_BIN = "images/barebox-am33xx-phytec-phycore-r2-mlo-1024mb.img"
# touchscreen, the rdk has one attached
-MACHINE_FEATURES += "touchscreen sgx"
+MACHINE_FEATURES += "touchscreen sgx suspend"
diff --git a/recipes-kernel/linux/linux-ti_4.4.15-phy1.bb b/recipes-kernel/linux/linux-ti_4.4.15-phy1.bb
index e644848..5a5463c 100644
--- a/recipes-kernel/linux/linux-ti_4.4.15-phy1.bb
+++ b/recipes-kernel/linux/linux-ti_4.4.15-phy1.bb
@@ -18,6 +18,10 @@ PR = "${INC_PR}.0"
# NOTE: Keep version in filename in sync with commit id!
SRCREV = "e3fe937f0464bf6b7bd980a909859f3839bd2847"
+RDEPENDS_kernel-modules_ti33x = "\
+ ${@bb.utils.contains('MACHINE_FEATURES', 'suspend', 'amx3-cm3', '', d)} \
+"
+
COMPATIBLE_MACHINE = "beagleboneblack-1"
COMPATIBLE_MACHINE .= "|phyboard-wega-am335x-1"
COMPATIBLE_MACHINE .= "|phyboard-wega-am335x-2"