diff options
author | mb <mb@3c298f89-4303-0410-b956-a3cf2f4a3e73> | 2010-08-19 11:22:15 +0000 |
---|---|---|
committer | mb <mb@3c298f89-4303-0410-b956-a3cf2f4a3e73> | 2010-08-19 11:22:15 +0000 |
commit | 29b3784209ebed22c88f8988584c407404d589bb (patch) | |
tree | d71fd9ee2788b55e7148e37cc1a06e02ab59a24d | |
parent | fb8dd8b41b58e9772e1998fd0a7b5485142ec089 (diff) |
Add Tahvo USB support
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@22712 3c298f89-4303-0410-b956-a3cf2f4a3e73
-rw-r--r-- | package/kernel/modules/usb.mk | 20 | ||||
-rw-r--r-- | target/linux/omap24xx/config-2.6.35 | 62 |
2 files changed, 73 insertions, 9 deletions
diff --git a/package/kernel/modules/usb.mk b/package/kernel/modules/usb.mk index e47e084a7..714483315 100644 --- a/package/kernel/modules/usb.mk +++ b/package/kernel/modules/usb.mk @@ -68,6 +68,26 @@ endef $(eval $(call KernelPackage,usb-ohci,1)) +define KernelPackage/usb-tahvo + TITLE:=Support for Tahvo (Nokia n810) USB + KCONFIG:= \ + CONFIG_CBUS_TAHVO_USB \ + CONFIG_CBUS_TAHVO_USB_HOST_BY_DEFAULT=y \ + CONFIG_USB_OHCI_HCD_OMAP1=y \ + CONFIG_USB_GADGET_DEBUG_FS=n + DEPENDS:=@TARGET_omap24xx +kmod-usb-ohci + FILES:=$(LINUX_DIR)/drivers/cbus/tahvo-usb.ko + AUTOLOAD:=$(call AutoLoad,51,tahvo-usb) + $(call AddDepends/usb) +endef + +define KernelPackage/usb-tahvo/description + Kernel support for Nokia n810 USB OHCI controller. +endef + +$(eval $(call KernelPackage,usb-tahvo)) + + define KernelPackage/usb-isp116x-hcd TITLE:=Support for the ISP116x USB Host Controller DEPENDS:=@TARGET_ppc40x diff --git a/target/linux/omap24xx/config-2.6.35 b/target/linux/omap24xx/config-2.6.35 index cf1fb7e88..e844ad80b 100644 --- a/target/linux/omap24xx/config-2.6.35 +++ b/target/linux/omap24xx/config-2.6.35 @@ -49,7 +49,6 @@ CONFIG_BLK_DEV_RAM=y CONFIG_BLK_DEV_RAM_COUNT=16 CONFIG_BLK_DEV_RAM_SIZE=4096 CONFIG_BLK_DEV_SD=y -# CONFIG_BRANCH_PROFILE_NONE is not set CONFIG_BRIDGE=m CONFIG_BRIDGE_NETFILTER=y # CONFIG_BSD_PROCESS_ACCT is not set @@ -70,6 +69,7 @@ CONFIG_CBUS_RETU_RTC=y CONFIG_CBUS_RETU_USER=y CONFIG_CBUS_RETU_WDT=y CONFIG_CBUS_TAHVO=y +# CONFIG_CBUS_TAHVO_USB is not set CONFIG_CBUS_TAHVO_USER=y CONFIG_CC_OPTIMIZE_FOR_SIZE=y CONFIG_CMDLINE="root=/dev/mmcblk0p1 rootfstype=ext3,ext2,squashfs,jffs2 console=tty0 console=ttyS2,115200n8" @@ -85,11 +85,6 @@ CONFIG_CPU_CACHE_VIPT=y CONFIG_CPU_COPY_V6=y CONFIG_CPU_CP15=y CONFIG_CPU_CP15_MMU=y -# CONFIG_CPU_FREQ_DEFAULT_GOV_CONSERVATIVE is not set -# CONFIG_CPU_FREQ_DEFAULT_GOV_ONDEMAND is not set -# CONFIG_CPU_FREQ_DEFAULT_GOV_PERFORMANCE is not set -# CONFIG_CPU_FREQ_DEFAULT_GOV_POWERSAVE is not set -# CONFIG_CPU_FREQ_DEFAULT_GOV_USERSPACE is not set CONFIG_CPU_HAS_ASID=y CONFIG_CPU_HAS_PMU=y # CONFIG_CPU_ICACHE_DISABLE is not set @@ -133,6 +128,7 @@ CONFIG_DEFAULT_TCP_CONG="cubic" CONFIG_DEVKMEM=y CONFIG_DEVTMPFS=y CONFIG_DEVTMPFS_MOUNT=y +# CONFIG_DM9000 is not set CONFIG_DNOTIFY=y CONFIG_DUMMY_CONSOLE=y CONFIG_ELF_CORE=y @@ -272,6 +268,7 @@ CONFIG_IP_NF_FILTER=y CONFIG_IP_NF_IPTABLES=y CONFIG_IR_CORE=m # CONFIG_ISDN is not set +# CONFIG_ISP1301_OMAP is not set CONFIG_JBD=y CONFIG_JFFS2_LZO=y CONFIG_JFFS2_ZLIB=y @@ -355,7 +352,6 @@ CONFIG_NAMESPACES=y CONFIG_NEED_DMA_MAP_STATE=y CONFIG_NETDEV_10000=y CONFIG_NETFILTER_XTABLES=y -# CONFIG_NET_ETHERNET is not set # CONFIG_NET_NS is not set # CONFIG_NET_SCHED is not set CONFIG_NLS=y @@ -401,8 +397,6 @@ CONFIG_PREEMPT=y # CONFIG_PREEMPT_NONE is not set CONFIG_PRINTK_TIME=y CONFIG_PROC_PAGE_MONITOR=y -# CONFIG_PROFILE_ALL_BRANCHES is not set -# CONFIG_PROFILE_ANNOTATED_BRANCHES is not set CONFIG_RAMZSWAP=m CONFIG_RAMZSWAP_STATS=y CONFIG_SCSI=y @@ -473,15 +467,65 @@ CONFIG_TOUCHSCREEN_TSC2005=y CONFIG_TREE_RCU=y CONFIG_TUN=m CONFIG_UID16=y +CONFIG_USB=m # CONFIG_USB_ARCH_HAS_EHCI is not set +# CONFIG_USB_AUDIO is not set +# CONFIG_USB_CDC_COMPOSITE is not set +CONFIG_USB_ETH=y +# CONFIG_USB_ETH_EEM is not set +CONFIG_USB_ETH_RNDIS=y +# CONFIG_USB_FILE_STORAGE is not set +# CONFIG_USB_FUNCTIONFS is not set +CONFIG_USB_GADGET=y +# CONFIG_USB_GADGETFS is not set +# CONFIG_USB_GADGET_AMD5536UDC is not set +# CONFIG_USB_GADGET_AT91 is not set +# CONFIG_USB_GADGET_ATMEL_USBA is not set +# CONFIG_USB_GADGET_CI13XXX is not set +# CONFIG_USB_GADGET_DEBUG_FILES is not set +# CONFIG_USB_GADGET_DUALSPEED is not set +# CONFIG_USB_GADGET_DUMMY_HCD is not set +# CONFIG_USB_GADGET_FSL_QE is not set +# CONFIG_USB_GADGET_FSL_USB2 is not set +# CONFIG_USB_GADGET_GOKU is not set +# CONFIG_USB_GADGET_IMX is not set +# CONFIG_USB_GADGET_LANGWELL is not set +# CONFIG_USB_GADGET_LH7A40X is not set +# CONFIG_USB_GADGET_M66592 is not set +# CONFIG_USB_GADGET_MUSB_HDRC is not set +# CONFIG_USB_GADGET_NET2280 is not set +CONFIG_USB_GADGET_OMAP=y +# CONFIG_USB_GADGET_PXA25X is not set +# CONFIG_USB_GADGET_PXA27X is not set +# CONFIG_USB_GADGET_R8A66597 is not set +# CONFIG_USB_GADGET_S3C2410 is not set +# CONFIG_USB_GADGET_S3C_HSOTG is not set +CONFIG_USB_GADGET_SELECTED=y +CONFIG_USB_GADGET_VBUS_DRAW=50 +# CONFIG_USB_G_HID is not set +# CONFIG_USB_G_PRINTER is not set +# CONFIG_USB_G_SERIAL is not set +# CONFIG_USB_G_WEBCAM is not set +# CONFIG_USB_MIDI_GADGET is not set +# CONFIG_USB_OHCI_BIG_ENDIAN_DESC is not set +# CONFIG_USB_OHCI_BIG_ENDIAN_MMIO is not set +CONFIG_USB_OHCI_HCD=m +CONFIG_USB_OHCI_HCD_OMAP1=y +CONFIG_USB_OMAP=y +CONFIG_USB_OTG=y +CONFIG_USB_OTG_UTILS=y +# CONFIG_USB_PWC is not set CONFIG_USB_SUPPORT=y +# CONFIG_USB_ZERO is not set # CONFIG_USER_NS is not set +CONFIG_V4L_USB_DRIVERS=y CONFIG_VECTORS_BASE=0xffff0000 CONFIG_VFAT_FS=y CONFIG_VFP=y # CONFIG_VGA_CONSOLE is not set CONFIG_VIDEO_ALLOW_V4L1=y CONFIG_VIDEO_CAPTURE_DRIVERS=y +# CONFIG_VIDEO_CPIA2 is not set CONFIG_VIDEO_DEV=m CONFIG_VIDEO_IR=m CONFIG_VIDEO_IR_I2C=m |