diff options
author | Philippe Schenker <philippe.schenker@toradex.com> | 2020-04-27 11:17:45 +0200 |
---|---|---|
committer | Philippe Schenker <philippe.schenker@toradex.com> | 2020-04-27 11:28:20 +0200 |
commit | ac32e59f1f961070189e1a038644f87ce9e7c152 (patch) | |
tree | 9fcb6b3bc975be5229eefec355aa0db8c777bef9 /recipes-core/udev/files/verdin-imx8mm/99-toradex.rules | |
parent | bd072a5fc62dd7f29a94d682de2346257344ea35 (diff) |
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 <philippe.schenker@toradex.com>
Diffstat (limited to 'recipes-core/udev/files/verdin-imx8mm/99-toradex.rules')
-rw-r--r-- | recipes-core/udev/files/verdin-imx8mm/99-toradex.rules | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/recipes-core/udev/files/verdin-imx8mm/99-toradex.rules b/recipes-core/udev/files/verdin-imx8mm/99-toradex.rules index cb046a8..35e4761 100644 --- a/recipes-core/udev/files/verdin-imx8mm/99-toradex.rules +++ b/recipes-core/udev/files/verdin-imx8mm/99-toradex.rules @@ -7,3 +7,6 @@ ACTION=="add", ATTRS{iomem_base}=="0x30880000", SYMLINK+="verdin-tty2" ACTION=="add", ATTRS{iomem_base}=="0x30860000", SYMLINK+="verdin-tty3" ACTION=="add", KERNELS=="watchdog", SYMLINK+="verdin-watchdog" ACTION=="add", SUBSYSTEM=="spidev", KERNELS=="30830000.ecspi", SYMLINK+="verdin-spi-cs%n" +KERNEL=="mmcblk[0-9]", ENV{DEVTYPE}=="disk", KERNELS=="30b40000.mmc", SYMLINK+="emmc" +KERNEL=="mmcblk[0-9]boot[0-9]", ENV{DEVTYPE}=="disk", KERNELS=="30b40000.mmc", SYMLINK+="emmc-boot%n" +KERNEL=="mmcblk[0-9]p[0-9]", ENV{DEVTYPE}=="partition", KERNELS=="30b40000.mmc", SYMLINK+="emmc-part%n" |