From 84e4cfe4c0d3986a5c7ad58ce87d316624bcc4b3 Mon Sep 17 00:00:00 2001 From: Jae Hyun Yoo Date: Fri, 17 Dec 2021 12:35:23 -0800 Subject: meta-qualcomm: linux-aspeed: enable Qualcomm specific kernel configs Enable USB virtual HUB, HID and Mass Storage gadget configs. Disable USB host feature configs. Enable Micrel PHY support. Tested: Above Kernel features were enabled as expected. Signed-off-by: Jae Hyun Yoo Signed-off-by: Graeme Gregory Change-Id: Icefe69542d82666d1df3c198b3c1e00d32392842 --- .../recipes-kernel/linux/linux-aspeed/qualcomm.cfg | 19 +++++++++++++++++++ .../recipes-kernel/linux/linux-aspeed_%.bbappend | 3 +++ 2 files changed, 22 insertions(+) create mode 100644 meta-qualcomm/recipes-kernel/linux/linux-aspeed/qualcomm.cfg create mode 100644 meta-qualcomm/recipes-kernel/linux/linux-aspeed_%.bbappend (limited to 'meta-qualcomm/recipes-kernel/linux') diff --git a/meta-qualcomm/recipes-kernel/linux/linux-aspeed/qualcomm.cfg b/meta-qualcomm/recipes-kernel/linux/linux-aspeed/qualcomm.cfg new file mode 100644 index 0000000000..a97684f9ab --- /dev/null +++ b/meta-qualcomm/recipes-kernel/linux/linux-aspeed/qualcomm.cfg @@ -0,0 +1,19 @@ +CONFIG_MICREL_PHY=y +CONFIG_USB_GADGET_VBUS_DRAW=2 +CONFIG_USB_GADGET_STORAGE_NUM_BUFFERS=2 +CONFIG_USB_LIBCOMPOSITE=y +CONFIG_USB_F_HID=y +CONFIG_USB_GADGET=y +CONFIG_U_SERIAL_CONSOLE=y +CONFIG_USB_ASPEED_VHUB=y +CONFIG_USB_MASS_STORAGE=y +CONFIG_USB_CONFIGFS=y +CONFIG_USB_CONFIGFS_MASS_STORAGE=y +CONFIG_USB_CONFIGFS_F_FS=y +CONFIG_USB_CONFIGFS_F_HID=y +CONFIG_USB=n +CONFIG_USB_ANNOUNCE_NEW_DEVICES=n +CONFIG_USB_DYNAMIC_MINORS=n +CONFIG_USB_EHCI_HCD=n +CONFIG_USB_EHCI_ROOT_HUB_TT=n +CONFIG_USB_EHCI_HCD_PLATFORM=n diff --git a/meta-qualcomm/recipes-kernel/linux/linux-aspeed_%.bbappend b/meta-qualcomm/recipes-kernel/linux/linux-aspeed_%.bbappend new file mode 100644 index 0000000000..d354d72ae7 --- /dev/null +++ b/meta-qualcomm/recipes-kernel/linux/linux-aspeed_%.bbappend @@ -0,0 +1,3 @@ +FILESEXTRAPATHS:prepend := "${THISDIR}/linux-aspeed:" + +SRC_URI:append = " file://qualcomm.cfg" -- cgit v1.2.3