meta-digi-arm: enable SPIDEV for ccardimx28js in kernel 3.10

Also remove kernel configuration fragments for kernel 3.10. This is not
needed for 3.10 as all the configuration is done via device-trees.

https://jira.digi.com/browse/DEL-1695

Signed-off-by: Javier Viguera <javier.viguera@digi.com>
(cherry picked from commit b0031915f1c7f3eeba680161827e78bbac9eebb4)
This commit is contained in:
Javier Viguera 2015-07-16 18:50:00 +02:00
parent 80c0eeab42
commit 3c1526ede5
4 changed files with 4 additions and 5 deletions

View File

@ -121,6 +121,7 @@ CONFIG_I2C_MXS=y
CONFIG_SPI=y
CONFIG_SPI_GPIO=y
CONFIG_SPI_MXS=y
CONFIG_SPI_SPIDEV=y
CONFIG_GPIO_SYSFS=y
CONFIG_W1=y
CONFIG_W1_MASTER_DS2482=y

View File

@ -1 +0,0 @@
CONFIG_SPI_SPIDEV=y

View File

@ -4,6 +4,9 @@ require recipes-kernel/linux/linux-imx.inc
LOCALVERSION = "-dey"
# Kernel configuration fragments
KERNEL_CFG_FRAGS ??= ""
SRC_URI_external = "${DIGI_GITHUB_GIT}/yocto-linux.git;protocol=git;nobranch=1"
SRC_URI_internal = "${DIGI_GIT}linux-2.6.git;protocol=git;branch=${SRCBRANCH}"
SRC_URI = " \

View File

@ -17,10 +17,6 @@ SRCREV_internal_mxs = "${AUTOREV}"
SRCREV_internal_mx6 = "${AUTOREV}"
SRCREV = "${@base_conditional('DIGI_INTERNAL_GIT', '1' , '${SRCREV_internal}', '${SRCREV_external}', d)}"
# Kernel configuration fragments
KERNEL_CFG_FRAGS ?= ""
KERNEL_CFG_FRAGS_append = " ${@base_conditional('HAVE_EXAMPLE', '1' , 'file://config-spidev.cfg', '', d)}"
config_dts() {
for DTB in ${KERNEL_DEVICETREE}; do
if [ "${1}" = "enable" ]; then