From: Sekhar Nori Date: Fri, 25 Nov 2016 11:16:20 +0530 Subject: [U-Boot] [PATCH v2 1/3] board: ti: am57xx-evm: fix build warnings In-Reply-To: References: <20161124133650.20835-1-nsekhar@ti.com> <20161124133650.20835-2-nsekhar@ti.com> Message-ID: <8ec2d6c3-d355-531d-49a1-8945881fdafa@ti.com> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de On Friday 25 November 2016 09:11 AM, Lokesh Vutla wrote: > > > On Thursday 24 November 2016 07:06 PM, Sekhar Nori wrote: >> USB1 is not used on AM57xx GP EVM in device mode. >> Enabling DWC3 USB support for AM57xx EVM gives >> the following warnings: >> >> CC board/ti/am57xx/board.o >> ../board/ti/am57xx/board.c:448:27: warning: 'usb_otg_ss1' defined but not used [-Wunused-variable] >> static struct dwc3_device usb_otg_ss1 = { >> ^ >> ../board/ti/am57xx/board.c:455:32: warning: 'usb_otg_ss1_glue' defined but not used [-Wunused-variable] >> static struct dwc3_omap_device usb_otg_ss1_glue = { >> ^ >> ../board/ti/am57xx/board.c:461:33: warning: 'usb_phy1_device' defined but not used [-Wunused-variable] >> static struct ti_usb_phy_device usb_phy1_device = { >> >> Fix it by getting rid of USB1 related structures from >> board.c. They can be added back if there is a need for >> them. >> >> Signed-off-by: Sekhar Nori >> Reviewed-by: Lokesh Vutla > > hmm.. Isn't this already taken care by commit ca39bd8ce1343 ("am57xx: > Remove unused variable warnings) ? You are right. I sent these based off v2016.11. I will rebase to latest u-boot/master and resend. Thanks, Sekhar