From 975fe1faa654b33db19b155fa5df88cc7e5c9d93 Mon Sep 17 00:00:00 2001 From: Koen Kooi Date: Mon, 17 Oct 2011 09:56:46 +0200 Subject: [PATCH] linux-am335x-joel 3.1: lower gadget power budget, enable usb-test and uas Signed-off-by: Koen Kooi --- recipes-kernel/linux/linux-am335x-joel-3.1/defconfig | 9 +++++---- recipes-kernel/linux/linux-am335x-joel_3.1.bb | 2 +- 2 files changed, 6 insertions(+), 5 deletions(-) diff --git a/recipes-kernel/linux/linux-am335x-joel-3.1/defconfig b/recipes-kernel/linux/linux-am335x-joel-3.1/defconfig index 5d419765..f3a0a9e0 100644 --- a/recipes-kernel/linux/linux-am335x-joel-3.1/defconfig +++ b/recipes-kernel/linux/linux-am335x-joel-3.1/defconfig @@ -2521,8 +2521,8 @@ CONFIG_USB_STORAGE=y # CONFIG_USB_STORAGE_KARMA is not set # CONFIG_USB_STORAGE_CYPRESS_ATACB is not set # CONFIG_USB_STORAGE_ENE_UB6250 is not set -# CONFIG_USB_UAS is not set -# CONFIG_USB_LIBUSUAL is not set +CONFIG_USB_UAS=y +CONFIG_USB_LIBUSUAL=y # # USB Imaging devices @@ -2557,14 +2557,14 @@ CONFIG_USB_SISUSBVGA_CON=y # CONFIG_USB_LD is not set # CONFIG_USB_TRANCEVIBRATOR is not set # CONFIG_USB_IOWARRIOR is not set -# CONFIG_USB_TEST is not set +CONFIG_USB_TEST=m # CONFIG_USB_ISIGHTFW is not set # CONFIG_USB_YUREX is not set CONFIG_USB_GADGET=y # CONFIG_USB_GADGET_DEBUG is not set # CONFIG_USB_GADGET_DEBUG_FILES is not set # CONFIG_USB_GADGET_DEBUG_FS is not set -CONFIG_USB_GADGET_VBUS_DRAW=200 +CONFIG_USB_GADGET_VBUS_DRAW=2 CONFIG_USB_GADGET_STORAGE_NUM_BUFFERS=2 # CONFIG_USB_FUSB300 is not set # CONFIG_USB_OMAP is not set @@ -2586,6 +2586,7 @@ CONFIG_USB_FUNCTIONFS=m CONFIG_USB_FUNCTIONFS_RNDIS=y # CONFIG_USB_FUNCTIONFS_GENERIC is not set CONFIG_USB_FILE_STORAGE=m +# CONFIG_USB_FILE_STORAGE_TEST is not set CONFIG_USB_MASS_STORAGE=m CONFIG_USB_G_SERIAL=m CONFIG_USB_MIDI_GADGET=m diff --git a/recipes-kernel/linux/linux-am335x-joel_3.1.bb b/recipes-kernel/linux/linux-am335x-joel_3.1.bb index 30e4eb9f..b1ac2a89 100644 --- a/recipes-kernel/linux/linux-am335x-joel_3.1.bb +++ b/recipes-kernel/linux/linux-am335x-joel_3.1.bb @@ -8,7 +8,7 @@ COMPATIBLE_MACHINE = "beaglebone" SRCREV = "d3a2a2a1426ec59fcba80bf400e3261b2a3108c2" # The main PR is now using MACHINE_KERNEL_PR, for omap3 see conf/machine/include/omap3.inc -MACHINE_KERNEL_PR_append = "e+gitr${SRCREV}" +MACHINE_KERNEL_PR_append = "f+gitr${SRCREV}" SRC_URI = "git://github.com/joelagnel/linux-omap-2.6.git;branch=kernel-3.1-psp \ file://0001-f_rndis-HACK-around-undefined-variables.patch \