diff options
author | he.he <he.he@amlogic.com> | 2019-03-19 15:42:52 +0800 |
---|---|---|
committer | Dongjin Kim <tobetter@gmail.com> | 2020-02-10 22:49:50 +0900 |
commit | 9e53299712e2e7e621123c42b28bcdc5bb7d08ae (patch) | |
tree | 6173de3968ae9502b048c2131b7ed9f51183a2fe /arch | |
parent | d152e4f279d6157c4b6e17a8da644bbabb655087 (diff) | |
download | u-boot-odroid-c1-9e53299712e2e7e621123c42b28bcdc5bb7d08ae.tar.gz |
usb: some udisk amldevread data failed [1/1]
PD#SWPL-5292
Problem:
g12b-revB, some u disk amldevread test failed
Solution:
Changing the register 0x54 to 0x2a, enabled the hs rx idle noise filter,
and the abnormal u-disk has no problem in the amldevread test.
Verify:
g12b revB, PASS
Test: pass
Change-Id: I3ddf566ad53ee3bb7ac42de8f8411a44147163ba
Signed-off-by: he.he <he.he@amlogic.com>
Diffstat (limited to 'arch')
-rw-r--r-- | arch/arm/cpu/armv8/g12b/usb.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/arch/arm/cpu/armv8/g12b/usb.c b/arch/arm/cpu/armv8/g12b/usb.c index 07f2de0b73..0c75a05cd2 100644 --- a/arch/arm/cpu/armv8/g12b/usb.c +++ b/arch/arm/cpu/armv8/g12b/usb.c @@ -138,6 +138,7 @@ void set_usb_phy_tuning_1(int port) if (board_usb_get_revb_type() == 1) { (*(volatile uint32_t *)(phy_reg_base + 0x54)) = 0x2a; (*(volatile uint32_t *)(phy_reg_base + 0x50)) = USB_G12x_PHY_PLL_SETTING_1; + (*(volatile uint32_t *)(phy_reg_base + 0x54)) = 0x2a; (*(volatile uint32_t *)(phy_reg_base + 0x34)) = USB_G12x_PHY_PLL_SETTING_3 & (0x1f << 16); return; } |