meta-quanta: olympus-nuvoton: console: add udev support
Listing tty mapped to UART2
Tested: Verified for Olympus platform with ttyS2
Signed-off-by: Joseph Liu <kwliu@nuvoton.com>
Change-Id: I80bda3f82cc2c867fe7eebd80f8c4a4c7b7b62e2
diff --git a/meta-olympus-nuvoton/recipes-phosphor/console/obmc-console/80-olympus-nuvoton-sol.rules b/meta-olympus-nuvoton/recipes-phosphor/console/obmc-console/80-olympus-nuvoton-sol.rules
new file mode 100644
index 0000000..0a73f0c
--- /dev/null
+++ b/meta-olympus-nuvoton/recipes-phosphor/console/obmc-console/80-olympus-nuvoton-sol.rules
@@ -0,0 +1 @@
+SUBSYSTEM=="tty", ATTRS{iomem_base}=="0xF0003000", ENV{SYSTEMD_WANTS}="obmc-console@ttyS2" SYMLINK+="ttyS2", TAG+="systemd"