From mboxrd@z Thu Jan 1 00:00:00 1970 From: Jean-Christophe PLAGNIOL-VILLARD Date: Sun, 22 Feb 2009 16:59:40 +0100 Subject: [U-Boot] [PATCH 6/7 v2] OMAP3: Add OMAP3 core changes for MUSB In-Reply-To: <1234464946-20400-7-git-send-email-dirk.behme@googlemail.com> References: <1234464946-20400-1-git-send-email-dirk.behme@googlemail.com> <1234464946-20400-2-git-send-email-dirk.behme@googlemail.com> <1234464946-20400-3-git-send-email-dirk.behme@googlemail.com> <1234464946-20400-4-git-send-email-dirk.behme@googlemail.com> <1234464946-20400-5-git-send-email-dirk.behme@googlemail.com> <1234464946-20400-6-git-send-email-dirk.behme@googlemail.com> <1234464946-20400-7-git-send-email-dirk.behme@googlemail.com> Message-ID: <20090222155940.GD9867@game.jcrosoft.org> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de On 19:55 Thu 12 Feb , Dirk Behme wrote: > OMAP3 core changes necessary for MUSB > > Signed-off-by: Dirk Behme > > --- > Note: OMAP3 USB code will be sent later to USB maintainer, so > CONFIG_MUSB isn't used anywhere yet. This will avoid > USB maintainer to change OMAP3 core files. > > cpu/arm_cortexa8/omap3/clock.c | 5 +++++ > include/asm-arm/arch-omap3/cpu.h | 2 ++ > include/asm-arm/arch-omap3/omap3.h | 11 +++++++++++ > 3 files changed, 18 insertions(+) > > Index: u-boot-main/cpu/arm_cortexa8/omap3/clock.c > =================================================================== > --- u-boot-main.orig/cpu/arm_cortexa8/omap3/clock.c > +++ u-boot-main/cpu/arm_cortexa8/omap3/clock.c > @@ -377,5 +377,10 @@ void per_clocks_enable(void) > sr32(&prcm_base->fclken_per, 0, 32, FCK_PER_ON); > sr32(&prcm_base->iclken_per, 0, 32, ICK_PER_ON); > > +#ifdef CONFIG_MUSB > + /* Enable the MUSB interface clock */ > + sr32(&prcm_base->iclken1_core, 4, 1, 0x1); > +#endif the design of u-boot is to enagle the IP only when he use it so please do not enable the clock every time just when you want to use (in the USB driver init) Best Regards, J.