From 9668cae0bdf9a9454c2bd6be1e70d7931edd930e Mon Sep 17 00:00:00 2001 From: Philippe Schenker Date: Mon, 27 Apr 2020 11:17:45 +0200 Subject: recipes-core: udev: move emmc rules from torizon to bsp This adds udev rules for symlinking eMMC devices consitently. Related-to: ELB-2380, ELB-2696 Signed-off-by: Philippe Schenker (cherry picked from commit ac32e59f1f961070189e1a038644f87ce9e7c152) --- recipes-core/udev/files/colibri-imx7-emmc/99-toradex.rules | 3 +++ 1 file changed, 3 insertions(+) (limited to 'recipes-core/udev/files/colibri-imx7-emmc') diff --git a/recipes-core/udev/files/colibri-imx7-emmc/99-toradex.rules b/recipes-core/udev/files/colibri-imx7-emmc/99-toradex.rules index ba70bdd..cbbfb40 100644 --- a/recipes-core/udev/files/colibri-imx7-emmc/99-toradex.rules +++ b/recipes-core/udev/files/colibri-imx7-emmc/99-toradex.rules @@ -5,3 +5,6 @@ ACTION=="add", ATTRS{iomem_base}=="0x30890000", SYMLINK+="colibri-ttyb" ACTION=="add", ATTRS{iomem_base}=="0x30880000", SYMLINK+="colibri-ttyc" ACTION=="add", KERNEL=="watchdog", DRIVERS=="rn5t618-wdt", SYMLINK+="colibri-watchdog" ACTION=="add", SUBSYSTEM=="spidev", KERNELS=="30840000.ecspi", SYMLINK+="colibri-spi-cs%n" +KERNEL=="mmcblk[0-9]", ENV{DEVTYPE}=="disk", KERNELS=="30b60000.usdhc", SYMLINK+="emmc" +KERNEL=="mmcblk[0-9]boot[0-9]", ENV{DEVTYPE}=="disk", KERNELS=="30b60000.usdhc", SYMLINK+="emmc-boot%n" +KERNEL=="mmcblk[0-9]p[0-9]", ENV{DEVTYPE}=="partition", KERNELS=="30b60000.usdhc", SYMLINK+="emmc-part%n" -- cgit v1.2.3