diff options
author | Romain Perier <romain.perier@collabora.com> | 2017-06-02 09:19:43 (GMT) |
---|---|---|
committer | Simon Glass <sjg@chromium.org> | 2017-06-08 03:30:48 (GMT) |
commit | fefe9d06bd0917739822a4be4c702f1d5d0e0899 (patch) | |
tree | 8a91be7ed4a303cc512eebbdffd026f45a946025 /arch/arm/include/asm/arch-rockchip/grf_rk3288.h | |
parent | cf35242a3e6e15c36150c132b3da8032fa21f91b (diff) | |
download | u-boot-fefe9d06bd0917739822a4be4c702f1d5d0e0899.tar.xz |
rockchip: rk3288: grf: Fix shift for RK3288_TXCLK_DLY_ENA_GMAC_ENABLE
RK3288_TXCLK_DLY_ENA_GMAC_ENABLE, in GRF_SOC_CON3, is supposed to be bit
0xe and not 0xf. Otherwise, it is RGMII RX clock delayline enable and
introduces random delays and data lose.
This commit fixes the issue by replacing RK3288_TXCLK_DLY_ENA_GMAC_ENABLE
with the right shift.
Signed-off-by: Romain Perier <romain.perier@collabora.com>
Reviewed-by: Simon Glass <sjg@chromium.org>
Diffstat (limited to 'arch/arm/include/asm/arch-rockchip/grf_rk3288.h')
-rw-r--r-- | arch/arm/include/asm/arch-rockchip/grf_rk3288.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/arm/include/asm/arch-rockchip/grf_rk3288.h b/arch/arm/include/asm/arch-rockchip/grf_rk3288.h index 7d56b8c..fbc4a0d 100644 --- a/arch/arm/include/asm/arch-rockchip/grf_rk3288.h +++ b/arch/arm/include/asm/arch-rockchip/grf_rk3288.h @@ -813,7 +813,7 @@ enum { (1 << RK3288_TXCLK_DLY_ENA_GMAC_SHIFT), RK3288_TXCLK_DLY_ENA_GMAC_DISABLE = 0, RK3288_TXCLK_DLY_ENA_GMAC_ENABLE = - (1 << RK3288_RXCLK_DLY_ENA_GMAC_SHIFT), + (1 << RK3288_TXCLK_DLY_ENA_GMAC_SHIFT), RK3288_CLK_RX_DL_CFG_GMAC_SHIFT = 0x7, RK3288_CLK_RX_DL_CFG_GMAC_MASK = |