[U-Boot] [PATCH 2/4] sunxi: Add a GMAC Transmit Clock Delay Chain Kconfig option
Ian Campbell
ijc+uboot at hellion.org.uk
Wed Jan 28 10:10:22 CET 2015
On Sun, 2015-01-25 at 15:35 +0100, Hans de Goede wrote:
> And use this to set the GMAC Transmit Clock Delay Chain value on Banana
> boards, rather then keying of CONFIG_TARGET_FOO.
>
> Signed-off-by: Hans de Goede <hdegoede at redhat.com>
Acked-by: Ian Campbell <ijc at hellion.org.uk>
Although:
> @@ -24,20 +24,13 @@ int sunxi_gmac_initialize(bd_t *bis)
> #ifdef CONFIG_RGMII
> setbits_le32(&ccm->gmac_clk_cfg, CCM_GMAC_CTRL_TX_CLK_SRC_INT_RGMII |
> CCM_GMAC_CTRL_GPIT_RGMII);
> + setbits_le32(&ccm->gmac_clk_cfg,
> + CCM_GMAC_CTRL_TX_CLK_DELAY(CONFIG_GMAC_TX_DELAY));
You could have added
| CCM_GMAC_CTRL_TX_CLK_DELAY(CONFIG_GMAC_TX_DELAY)
to the existing setbits I think. Ack to that change too if you prefer
it.
Ian.
More information about the U-Boot
mailing list