diff options
author | Patrick Williams <patrick@stwcx.xyz> | 2016-09-16 23:56:32 +0300 |
---|---|---|
committer | Patrick Williams <patrick@stwcx.xyz> | 2016-09-21 20:11:08 +0300 |
commit | 1ba238171965c7d4773f5726b3a02c114b6f1831 (patch) | |
tree | 3121f21288c608b1d587ea1f0a73f75bc31b0ac1 /meta-openbmc-bsp | |
parent | 0820373ebfdc8c50de42299883cc8eebdd88a3a7 (diff) | |
download | openbmc-1ba238171965c7d4773f5726b3a02c114b6f1831.tar.xz |
meta-aspeed: udev rules for vuart
Added 61-aspeed-vuart.rules with the AST2400/AST2500 VUART
udev rules. Chose '61' because the basic serial support from
upstream is in '60'.
Fixes openbmc/openbmc#528.
Change-Id: Id7832bd3b421d6ffa6918e12654f9b74833384d6
Signed-off-by: Patrick Williams <patrick@stwcx.xyz>
Diffstat (limited to 'meta-openbmc-bsp')
2 files changed, 16 insertions, 0 deletions
diff --git a/meta-openbmc-bsp/meta-aspeed/common/recipes-core/udev-aspeed-vuart/udev-aspeed-vuart.bb b/meta-openbmc-bsp/meta-aspeed/common/recipes-core/udev-aspeed-vuart/udev-aspeed-vuart.bb new file mode 100644 index 000000000..c0ee6771e --- /dev/null +++ b/meta-openbmc-bsp/meta-aspeed/common/recipes-core/udev-aspeed-vuart/udev-aspeed-vuart.bb @@ -0,0 +1,15 @@ +SUMMARY = "udev rules for Aspeed VUART" +DESCRIPTION = "udev rules for Aspeed VUART" +PR = "r1" +LICENSE = "Apache-2.0" +LIC_FILES_CHKSUM = "file://${COREBASE}/meta/files/common-licenses/Apache-2.0;md5=89aea4e17d99a7cacdbeed46a0096b10" + +S = "${WORKDIR}" +SRC_URI += "file://61-aspeed-vuart.rules" + +RDEPENDS_${PN} += "udev" + +do_install() { + install -d ${D}/lib/udev/rules.d + install -m 0644 ${WORKDIR}/61-aspeed-vuart.rules ${D}/lib/udev/rules.d +} diff --git a/meta-openbmc-bsp/meta-aspeed/common/recipes-core/udev-aspeed-vuart/udev-aspeed-vuart/61-aspeed-vuart.rules b/meta-openbmc-bsp/meta-aspeed/common/recipes-core/udev-aspeed-vuart/udev-aspeed-vuart/61-aspeed-vuart.rules new file mode 100644 index 000000000..98ac36d3a --- /dev/null +++ b/meta-openbmc-bsp/meta-aspeed/common/recipes-core/udev-aspeed-vuart/udev-aspeed-vuart/61-aspeed-vuart.rules @@ -0,0 +1 @@ +SUBSYSTEM=="tty", DRIVERS=="aspeed-vuart",ATTRS{lpc_address}=="0x3f8", SYMLINK+="ttyVUART0", TAG+="systemd" |