From mboxrd@z Thu Jan 1 00:00:00 1970 From: Vagrant Cascadian Date: Fri, 08 Jun 2018 00:31:56 -0700 Subject: [U-Boot] [U-Boot, v3, 1/4] sunxi: clock: Fix EHCI and OHCI clocks on A64 In-Reply-To: <20180608022341.27225-1-anarsoul@gmail.com> References: <20180608022341.27225-1-anarsoul@gmail.com> Message-ID: <87lgbpbuoj.fsf@aikidev.net> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de On 2018-06-07, Vasily Khoruzhick wrote: > EHCI0 is bit 24, EHCI1 - 25, OHCI0 - 28, OHCI1 - 29 > > Fixes commit fef73766d9ad ("sunxi: clock: Fix OHCI clock gating for H3/H5") > > Signed-off-by: Vasily Khoruzhick > --- > arch/arm/include/asm/arch-sunxi/clock_sun6i.h | 6 ++++-- > 1 file changed, 4 insertions(+), 2 deletions(-) Tested on pine64+ grub EFI from USB, which then loaded kernel+initrd off of USB, as well as using distro_bootcmd's exlinux.conf, loading kernel+initrd+dtb from USB... For the whole series of 4 v3 patches: Tested-by: Vagrant Cascadian live well, vagrant > diff --git a/arch/arm/include/asm/arch-sunxi/clock_sun6i.h b/arch/arm/include/asm/arch-sunxi/clock_sun6i.h > index 8acf79fbba..8afeaf872e 100644 > --- a/arch/arm/include/asm/arch-sunxi/clock_sun6i.h > +++ b/arch/arm/include/asm/arch-sunxi/clock_sun6i.h > @@ -280,8 +280,10 @@ struct sunxi_ccm_reg { > #define AHB_GATE_OFFSET_USB_EHCI1 26 > #define AHB_GATE_OFFSET_USB_EHCI0 24 > #elif defined(CONFIG_MACH_SUN50I) > -#define AHB_GATE_OFFSET_USB_OHCI0 29 > -#define AHB_GATE_OFFSET_USB_EHCI0 25 > +#define AHB_GATE_OFFSET_USB_OHCI0 28 > +#define AHB_GATE_OFFSET_USB_OHCI1 29 > +#define AHB_GATE_OFFSET_USB_EHCI0 24 > +#define AHB_GATE_OFFSET_USB_EHCI1 25 > #else > #define AHB_GATE_OFFSET_USB_OHCI1 30 > #define AHB_GATE_OFFSET_USB_OHCI0 29 -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 832 bytes Desc: not available URL: