From: Jagan Teki Date: Tue, 12 Dec 2017 12:28:24 +0530 Subject: [U-Boot] [PATCH 09/16] sunxi: usb_phy: Update a64 sunxi_usb_phy base In-Reply-To: <1513061911-30076-1-git-send-email-jagan@amarulasolutions.com> References: <1513061911-30076-1-git-send-email-jagan@amarulasolutions.com> Message-ID: <1513061911-30076-10-git-send-email-jagan@amarulasolutions.com> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de a64 has shared PHY#0(for OTG and USB-OTG-HCI) which start at 0x01C19000 which different than other allwinner SOC, so update the same for sunxi_usb_phy[0] base. Signed-off-by: Jagan Teki --- arch/arm/mach-sunxi/usb_phy.c | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/arch/arm/mach-sunxi/usb_phy.c b/arch/arm/mach-sunxi/usb_phy.c index 4bc47a1..cc66446 100644 --- a/arch/arm/mach-sunxi/usb_phy.c +++ b/arch/arm/mach-sunxi/usb_phy.c @@ -63,7 +63,11 @@ static struct sunxi_usb_phy { { .usb_rst_mask = CCM_USB_CTRL_PHY0_RST | CCM_USB_CTRL_PHY0_CLK, .id = 0, +#ifdef CONFIG_MACH_SUN50I + .base = SUNXI_USBPHY_BASE, +#else .base = SUNXI_USB0_BASE, +#endif }, { .usb_rst_mask = CCM_USB_CTRL_PHY1_RST | CCM_USB_CTRL_PHY1_CLK, -- 2.7.4