summaryrefslogtreecommitdiff
path: root/recipes-core/udev/files/colibri-imx6ull
diff options
context:
space:
mode:
authorPhilippe Schenker <philippe.schenker@toradex.com>2021-05-15 12:31:17 +0200
committerPhilippe Schenker <philippe.schenker@toradex.com>2021-05-17 20:49:20 +0200
commitf5af6cd7e39e0eee75cca7f89ac81b5601267794 (patch)
tree1dd1710832d3e4351b7ce79128576b1902e7694e /recipes-core/udev/files/colibri-imx6ull
parent943f7da5a1cbbf695c3385b59e33aaea0c87904c (diff)
recipes-core: udev: add hardware stable symlinks for sd-card
Signed-off-by: Philippe Schenker <philippe.schenker@toradex.com>
Diffstat (limited to 'recipes-core/udev/files/colibri-imx6ull')
-rw-r--r--recipes-core/udev/files/colibri-imx6ull/99-toradex.rules2
1 files changed, 2 insertions, 0 deletions
diff --git a/recipes-core/udev/files/colibri-imx6ull/99-toradex.rules b/recipes-core/udev/files/colibri-imx6ull/99-toradex.rules
index c91f750..8ce0fd6 100644
--- a/recipes-core/udev/files/colibri-imx6ull/99-toradex.rules
+++ b/recipes-core/udev/files/colibri-imx6ull/99-toradex.rules
@@ -6,3 +6,5 @@ ACTION=="add", ATTRS{iomem_base}=="0x21F4000", SYMLINK+="colibri-uartc"
ACTION=="add", KERNELS=="20bc000.wdog", SYMLINK+="colibri-watchdog"
ACTION=="add", SUBSYSTEM=="spidev", KERNELS=="2008000.*spi", SYMLINK+="colibri-spi-cs%n"
SUBSYSTEM=="iio", KERNELS=="iio:device0", RUN+="/etc/udev/scripts/toradex-adc.sh"
+ACTION=="add|change", KERNEL=="mmcblk[0-9]", KERNELS=="2190000.usdhc", SYMLINK+="colibri-sd"
+ACTION=="add|change", KERNEL=="mmcblk[0-9]p[0-9]*", KERNELS=="2190000.usdhc", SYMLINK+="colibri-sd-p$attr{partition}"