From mboxrd@z Thu Jan 1 00:00:00 1970 From: Marek Vasut Date: Mon, 22 Oct 2012 08:28:10 +0200 Subject: [U-Boot] [PATCH v3] powerpc/usb: fix bug of CPU hang when missing USB PHY clock In-Reply-To: <1350883104-31561-1-git-send-email-Shengzhou.Liu@freescale.com> References: <1350883104-31561-1-git-send-email-Shengzhou.Liu@freescale.com> Message-ID: <201210220828.10597.marex@denx.de> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de Dear Shengzhou Liu, > when missing USB PHY clock, u-boot will hang during USB > initialization when issuing "usb start". We should check > USBGP[PHY_CLK_VALID] bit to avoid CPU hanging in this case. > > Due to controller issue of PHY_CLK_VALID in ULPI mode, we set > USB_EN before checking PHY_CLK_VALID, otherwise PHY_CLK_VALID > doesn't work. > > Signed-off-by: Shengzhou Liu > Acked-by: Marek Vasut [...] Applied, thanks Best regards, Marek Vasut