aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJuro Bystricky <juro.bystricky@intel.com>2015-05-06 10:25:02 -0700
committerBrendan Le Foll <brendan.le.foll@intel.com>2015-05-22 17:53:14 +0100
commit19127585ee3af29915decd8ae722fb929ea2b574 (patch)
tree184e8cdc482e31fe966b9a0116a72680dd8d380d
parent49291f6369c8eb03b74409a8b1392949edf431ca (diff)
downloadmeta-intel-quark-19127585ee3af29915decd8ae722fb929ea2b574.tar.gz
meta-intel-quark-19127585ee3af29915decd8ae722fb929ea2b574.tar.bz2
meta-intel-quark-19127585ee3af29915decd8ae722fb929ea2b574.zip
linux-yocto-quark_3.8.bb: New Yocto syntax
Use KERNEL_MODULE_AUTOLOAD, KERNEL_MODULE_PROBECONF. The "module_autoload_foo = foo" is deprecated, use KERNEL_MODULE_AUTOLOAD += "foo" instead. Also modules that are loaded with options, using syntax module_conf_foo = "options foo ..." should be added to KERNEL_MODULE_PROBECONF: KERNEL_MODULE_PROBECONF += "foo" Signed-off-by: Juro Bystricky <juro.bystricky@intel.com> Signed-off-by: Brendan Le Foll <brendan.le.foll@intel.com>
-rw-r--r--recipes-kernel/linux/linux-yocto-quark_3.8.bb37
1 files changed, 21 insertions, 16 deletions
diff --git a/recipes-kernel/linux/linux-yocto-quark_3.8.bb b/recipes-kernel/linux/linux-yocto-quark_3.8.bb
index 1093f5d..3ff10ed 100644
--- a/recipes-kernel/linux/linux-yocto-quark_3.8.bb
+++ b/recipes-kernel/linux/linux-yocto-quark_3.8.bb
@@ -102,27 +102,32 @@ SRC_URI += "file://uart-1.0.patch"
# character seperator.
# USB Host
-module_autoload_ehci-hcd = "ehci-hcd"
-module_autoload_ehci-pci = "ehci-pci"
-module_autoload_ohci-hcd = "ohci-hcd"
-module_autoload_usb-storage = "usb-storage"
-module_autoload_usbhid = "usbhid"
-module_autoload_evdev = "evdev"
+KERNEL_MODULE_AUTOLOAD += "ehci-hcd"
+KERNEL_MODULE_AUTOLOAD += "ehci-pci"
+KERNEL_MODULE_AUTOLOAD += "ohci-hcd"
+KERNEL_MODULE_AUTOLOAD += "usb-storage"
+KERNEL_MODULE_AUTOLOAD += "usbhid"
+KERNEL_MODULE_AUTOLOAD += "evdev"
+
# USB Device (pch_udc is required for g_serial to load)
-module_autoload_pch_udc = "pch_udc g_serial"
+KERNEL_MODULE_AUTOLOAD += "pch_udc g_serial"
+
+KERNEL_MODULE_PROBECONF += "g_serial"
module_conf_g_serial = "options g_serial vendor=0x8086 product=0xBABE"
+
+
# SDHC
-module_autoload_sdhci-pci = "sdhci-pci"
-module_autoload_mmc-block = "mmc_block"
+KERNEL_MODULE_AUTOLOAD += "sdhci-pci"
+KERNEL_MODULE_AUTOLOAD += "mmc_block"
# SPI
-module_autoload_spidev = "spidev"
-module_autoload_spi-pxa2xx = "spi-pxa2xx"
-module_autoload_spi-pxa2xx-pci = "spi-pxa2xx-pci"
+KERNEL_MODULE_AUTOLOAD += "spidev"
+KERNEL_MODULE_AUTOLOAD += "spi-pxa2xx"
+KERNEL_MODULE_AUTOLOAD += "spi-pxa2xx-pci"
# GPIO
-module_autoload_gpio-sch = "gpio-sch"
+KERNEL_MODULE_AUTOLOAD += "gpio-sch"
# Ethernet
-module_autoload_stmmac = "stmmac"
+KERNEL_MODULE_AUTOLOAD += "stmmac"
# EEPROM Access
-module_autoload_at24 = "at24"
+KERNEL_MODULE_AUTOLOAD += "at24"
# efivars
-module_autoload_efivars = "efivars"
+KERNEL_MODULE_AUTOLOAD += "efivars"