[U-Boot] [PATCH] fm-eth: Add ability for board code to disable a port

Kumar Gala galak at kernel.crashing.org
Mon Oct 3 15:45:24 CEST 2011


On Sep 14, 2011, at 12:13 PM, Kumar Gala wrote:

> The SoC configuration may have more ports enabled than a given board
> actually can utilize.  Add a routinue that allows the board code to
> disable a port that it knows isn't being used.
> 
> fm_disable_port() needs to be called before cpu_eth_init().
> 
> Signed-off-by: Kumar Gala <galak at kernel.crashing.org>
> ---
> drivers/net/fm/fm.h    |    1 +
> drivers/net/fm/init.c  |    8 ++++++++
> drivers/net/fm/p1023.c |    6 ++++++
> drivers/net/fm/p4080.c |    6 ++++++
> drivers/net/fm/p5020.c |    6 ++++++
> include/fm_eth.h       |    1 +
> 6 files changed, 28 insertions(+), 0 deletions(-)

applied to 85xx

- k


More information about the U-Boot mailing list