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/apalis-imx8 | |
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/apalis-imx8')
-rw-r--r-- | recipes-core/udev/files/apalis-imx8/99-toradex.rules | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/recipes-core/udev/files/apalis-imx8/99-toradex.rules b/recipes-core/udev/files/apalis-imx8/99-toradex.rules index 5cc0c45..09b0770 100644 --- a/recipes-core/udev/files/apalis-imx8/99-toradex.rules +++ b/recipes-core/udev/files/apalis-imx8/99-toradex.rules @@ -8,3 +8,6 @@ ACTION=="add", ATTRS{iomem_base}=="0x5A080010", SYMLINK+="apalis-tty4" ACTION=="add", KERNELS=="watchdog", SYMLINK+="apalis-watchdog" ACTION=="add", SUBSYSTEM=="spidev", KERNELS=="5a000000.lpspi", SYMLINK+="apalis-spi1-cs%n" ACTION=="add", SUBSYSTEM=="spidev", KERNELS=="5a020000.lpspi", SYMLINK+="apalis-spi2-cs%n" +KERNEL=="mmcblk[0-9]", ENV{DEVTYPE}=="disk", KERNELS=="5b010000.usdhc", SYMLINK+="emmc" +KERNEL=="mmcblk[0-9]boot[0-9]", ENV{DEVTYPE}=="disk", KERNELS=="5b010000.usdhc", SYMLINK+="emmc-boot%n" +KERNEL=="mmcblk[0-9]p[0-9]", ENV{DEVTYPE}=="partition", KERNELS=="5b010000.usdhc", SYMLINK+="emmc-part%n" |