From e13aa11315c57980816d6a68f9c5216b455ee017 Mon Sep 17 00:00:00 2001 From: Oleksandr Suvorov Date: Tue, 23 Jun 2020 11:22:00 +0300 Subject: colibri-imx6: fix (ec)spi rule There are 2 different names for spi use by downstream and upstream kernel. Fix the udev rules to match both variants. Related-to: ELB-2784 Signed-off-by: Oleksandr Suvorov --- recipes-core/udev/files/colibri-imx6/99-toradex.rules | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/recipes-core/udev/files/colibri-imx6/99-toradex.rules b/recipes-core/udev/files/colibri-imx6/99-toradex.rules index 9ba2fdf..06c1945 100644 --- a/recipes-core/udev/files/colibri-imx6/99-toradex.rules +++ b/recipes-core/udev/files/colibri-imx6/99-toradex.rules @@ -5,7 +5,7 @@ ACTION=="add", ATTRS{iomem_base}=="0x2020000", SYMLINK+="colibri-ttya" ACTION=="add", ATTRS{iomem_base}=="0x21E8000", SYMLINK+="colibri-ttyb" ACTION=="add", ATTRS{iomem_base}=="0x21EC000", SYMLINK+="colibri-ttyc" ACTION=="add", KERNELS=="20bc000.wdog", SYMLINK+="colibri-watchdog" -ACTION=="add", SUBSYSTEM=="spidev", KERNELS=="2014000.ecspi", SYMLINK+="colibri-spi-cs%n" +ACTION=="add", SUBSYSTEM=="spidev", KERNELS=="2014000.*spi", SYMLINK+="colibri-spi-cs%n" KERNEL=="mmcblk[0-9]", ENV{DEVTYPE}=="disk", KERNELS=="2198000.usdhc", SYMLINK+="emmc" KERNEL=="mmcblk[0-9]boot[0-9]", ENV{DEVTYPE}=="disk", KERNELS=="2198000.usdhc", SYMLINK+="emmc-boot%n" KERNEL=="mmcblk[0-9]p[0-9]", ENV{DEVTYPE}=="partition", KERNELS=="2198000.usdhc", SYMLINK+="emmc-part%n" -- cgit v1.2.3