diff options
author | Matt Ranostay <matt.ranostay@konsulko.com> | 2017-08-22 23:18:06 +0300 |
---|---|---|
committer | Jan-Simon Moeller <jsmoeller@linuxfoundation.org> | 2017-08-30 16:31:29 +0000 |
commit | 45974dfa6c7bc30d9ea4a4f067268981783366f2 (patch) | |
tree | 24fdb7865aed57e62a141112394c5b01e94f013f /meta-agl-bsp/recipes-kernel | |
parent | 8f0aed0582269bf38b0ed47be4b6c287c1d098aa (diff) |
linux: kernel: add USB serial support and ACM class
To allow for USB GPS devices the USB serial + ACM class need to
be enabled in the kernel.
Change-Id: I1b23b7d47bc49a3a61d5df5d964110023f91d481
Bug-AGL: SPEC-831
Signed-off-by: Matt Ranostay <matt.ranostay@konsulko.com>
Reviewed-on: https://gerrit.automotivelinux.org/gerrit/10681
Tested-by: Jenkins Job builder account <agl-jobbuilder@automotivelinux.org>
ci-image-build: Jenkins Job builder account <agl-jobbuilder@automotivelinux.org>
Reviewed-by: Matt Porter <mporter@konsulko.com>
Reviewed-by: José Bollo <jobol@nonadev.net>
Reviewed-by: Martin Kelly <mkelly@xevo.com>
Reviewed-by: Jan-Simon Moeller <jsmoeller@linuxfoundation.org>
Diffstat (limited to 'meta-agl-bsp/recipes-kernel')
-rw-r--r-- | meta-agl-bsp/recipes-kernel/linux/linux-%.bbappend | 1 | ||||
-rw-r--r-- | meta-agl-bsp/recipes-kernel/linux/linux/usb.cfg | 3 |
2 files changed, 4 insertions, 0 deletions
diff --git a/meta-agl-bsp/recipes-kernel/linux/linux-%.bbappend b/meta-agl-bsp/recipes-kernel/linux/linux-%.bbappend index 7915001f1..f5e01e2f3 100644 --- a/meta-agl-bsp/recipes-kernel/linux/linux-%.bbappend +++ b/meta-agl-bsp/recipes-kernel/linux/linux-%.bbappend @@ -2,4 +2,5 @@ FILESEXTRAPATHS_prepend := "${THISDIR}/linux:" # Extra configuration options for the AGL kernel SRC_URI_append = " file://can-bus.cfg \ + file://usb.cfg \ " diff --git a/meta-agl-bsp/recipes-kernel/linux/linux/usb.cfg b/meta-agl-bsp/recipes-kernel/linux/linux/usb.cfg new file mode 100644 index 000000000..db2efcb7b --- /dev/null +++ b/meta-agl-bsp/recipes-kernel/linux/linux/usb.cfg @@ -0,0 +1,3 @@ +CONFIG_USB_SERIAL=m +CONFIG_USB_SERIAL_GENERIC=y +CONFIG_USB_ACM=m |