From mboxrd@z Thu Jan 1 00:00:00 1970 From: Lukasz Majewski Date: Thu, 6 Nov 2014 22:29:03 +0100 Subject: [U-Boot] [PATCH 3/5] usb: s3c-otg: Split out PHY control In-Reply-To: <201411062123.46514.marex@denx.de> References: <1415077654-17181-1-git-send-email-marex@denx.de> <1415077654-17181-3-git-send-email-marex@denx.de> <20141106105917.1607379c@amdc2363> <201411062123.46514.marex@denx.de> Message-ID: <20141106222903.33c33a3b@jawa> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de On Thu, 6 Nov 2014 21:23:46 +0100 Marek Vasut wrote: > On Thursday, November 06, 2014 at 10:59:17 AM, Lukasz Majewski wrote: > > Hi Marek, > > > > > Split the Samsung specific PHY control into a separate file > > > and compile this into the S3C OTG driver only if used on a > > > Samsung system. > > > > > > Signed-off-by: Marek Vasut > > > Cc: Chin Liang See > > > Cc: Dinh Nguyen > > > Cc: Vince Bridgers > > > Cc: Pavel Machek > > > Cc: Stefan Roese > > > Cc: Lukasz Majewski > > [...] > > > Build HW: trats2 (Exynos4412) > > > > CROSS_COMPILE=/home/lukma/work/ptxdist/toolchains/arm/OSELAS.Toolchain-2013 > > .12.0/arm-v7a-linux-gnueabi/gcc-4.8.2-glibc-2.18-binutils-2.24-kernel-3.12- > > sanitized/bin/arm-v7a-linux-gnueabi- > > > > Patches applied on top of v2014.10. > > Try this trivial patch (add missing include): > > diff --git a/drivers/usb/gadget/s3c_udc_otg_phy.c > b/drivers/usb/gadget/s3c_udc_otg_phy.c > index 055fe86..95bd8cf 100644 > --- a/drivers/usb/gadget/s3c_udc_otg_phy.c > +++ b/drivers/usb/gadget/s3c_udc_otg_phy.c > @@ -35,6 +35,8 @@ > #include "regs-otg.h" > #include > > +#include > + Ok, I will apply it and let you know about the result. BTW: I assume that your work is to reuse the USB 2.0 UDC IP block (probably in Altera). I'd be elated if this is true :-). > void otg_phy_init(struct s3c_udc *dev) > { > unsigned int usb_phy_ctrl = dev->pdata->usb_phy_ctrl; > > Best regards, > Marek Vasut > _______________________________________________ > U-Boot mailing list > U-Boot at lists.denx.de > http://lists.denx.de/mailman/listinfo/u-boot Best regards, Lukasz Majewski -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 198 bytes Desc: not available URL: