[PATCH 5/9] net: macb: using default value for FBLDO

Sascha Hauer s.hauer at pengutronix.de
Sun Sep 21 21:59:13 PDT 2014


On Wed, Sep 17, 2014 at 06:21:31PM +0800, Bo Shen wrote:
> Signed-off-by: Bo Shen <voice.shen at atmel.com>
> ---
> 
>  drivers/net/macb.c | 1 -
>  1 file changed, 1 deletion(-)
> 
> diff --git a/drivers/net/macb.c b/drivers/net/macb.c
> index 12a2a3c..ef49f74 100644
> --- a/drivers/net/macb.c
> +++ b/drivers/net/macb.c
> @@ -304,7 +304,6 @@ static void macb_configure_dma(struct macb_device *bp)
>  	if (macb_is_gem(bp)) {
>  		dmacfg = gem_readl(bp, DMACFG) & ~GEM_BF(RXBS, -1L);
>  		dmacfg |= GEM_BF(RXBS, bp->rx_buffer_size / RX_BUFFER_MULTIPLE);
> -		dmacfg |= GEM_BF(FBLDO, 16);

Why is this done? Does this still work on other SoCs?

Sascha

-- 
Pengutronix e.K.                           |                             |
Industrial Linux Solutions                 | http://www.pengutronix.de/  |
Peiner Str. 6-8, 31137 Hildesheim, Germany | Phone: +49-5121-206917-0    |
Amtsgericht Hildesheim, HRA 2686           | Fax:   +49-5121-206917-5555 |



More information about the barebox mailing list