[U-Boot] rockchip: rk3288: grf: FIX the correct gmac tx_delay shift

Kever Yang kever.yang at rock-chips.com
Fri Apr 14 09:23:33 UTC 2017


Hi David,


On 04/14/2017 05:02 PM, David Wu wrote:
> If the tx_delay is not enabled, the RGMII/1000M can't work.
>
> Signed-off-by: David Wu <david.wu at rock-chips.com>
> ---
>   arch/arm/include/asm/arch-rockchip/grf_rk3288.h | 2 +-
>   1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/arch/arm/include/asm/arch-rockchip/grf_rk3288.h b/arch/arm/include/asm/arch-rockchip/grf_rk3288.h
> index 1a7c819..6e5a947 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 =

Reviewed-by: Kever Yang <kever.yang at rock-chips.com>

Thanks,
- Kever



More information about the U-Boot mailing list