From: Daniel Walker Subject: Re: msm gadget compilation failure with trout Date: Fri, 28 Jan 2011 09:15:00 -0800 Message-ID: <1296234900.32421.2.camel@m0nster> References: <1296162765.22156.4.camel@gnutoo-laptop> <1296163615.28965.16.camel@c-dwalke-linux.qualcomm.com> <4D4269DB.1000700@codeaurora.org> Mime-Version: 1.0 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: 7bit Return-path: Received: from wolverine02.qualcomm.com ([199.106.114.251]:37292 "EHLO wolverine02.qualcomm.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751409Ab1A1Rr0 (ORCPT ); Fri, 28 Jan 2011 12:47:26 -0500 In-Reply-To: <4D4269DB.1000700@codeaurora.org> Sender: linux-arm-msm-owner@vger.kernel.org List-Id: linux-arm-msm@vger.kernel.org To: Pavan Kondeti Cc: Denis 'GNUtoo' Carikli , linux-arm-msm@vger.kernel.org, Greg Kroah-Hartman On Fri, 2011-01-28 at 12:31 +0530, Pavan Kondeti wrote: > Hi Denis, > > On 1/28/2011 2:56 AM, Daniel Walker wrote: > > On Thu, 2011-01-27 at 22:12 +0100, Denis 'GNUtoo' Carikli wrote: > >> Hi, > >> > >> I've that: > >> drivers/usb/gadget/ci13xxx_msm.c: In function > >> 'ci13xxx_msm_notify_event': > >> drivers/usb/gadget/ci13xxx_msm.c:42:3: error: 'USB_AHBBURST' undeclared > >> (first use in this function) > >> drivers/usb/gadget/ci13xxx_msm.c:42:3: note: each undeclared identifier > >> is reported only once for each function it appears in > >> drivers/usb/gadget/ci13xxx_msm.c:43:3: error: 'USB_AHBMODE' undeclared > >> (first use in this function) > >> make[2]: *** [drivers/usb/gadget/ci13xxx_msm.o] Error 1 > >> make[1]: *** [drivers/usb/gadget] Error 2 > >> make[1]: *** Waiting for unfinished jobs.... > >> > >> here's my setup: > >> * linux-next/master > >> ( git://git.kernel.org/pub/scm/linux/kernel/git/next/linux-next.git ) at > >> 47db3d1b0b3d69c6e977158ac354a972b81677bd > >> * trout(also known as htc dream or G1) board > >> > >> Should I include my defconfig? > >> Should I include more details? > >> Am I using the gadget wrong driver? > >> > > AHBMODE register offset is different for trout and AHBBURST register is > not present in trout. > > MSM gadget driver is supported only for QSD8x50 and MSM7x30 boards. USB > support is not added for trout which uses an external PHY unlike the > other targets. Please disable USB support in your defconfig. If it's not supported don't allow it to be compiled, but you need to make some sort of fix for this. btw, if it's not support why is there a 7X01 define used in the header ? Daniel -- Sent by an consultant of the Qualcomm Innovation Center, Inc. The Qualcomm Innovation Center, Inc. is a member of the Code Aurora Forum.