]> git.dujemihanovic.xyz Git - u-boot.git/commit
mgcoge make ether_scc.c work with CONFIG_NET_MULTI
authorGary Jennejohn <garyj@denx.de>
Thu, 20 Nov 2008 11:28:38 +0000 (12:28 +0100)
committerBen Warren <biggerbadderben@gmail.com>
Sun, 25 Jan 2009 04:45:52 +0000 (20:45 -0800)
commitba705b5b1a97b47388ed48858bef6bf7b6bfcd56
tree738172fe3d7ef84169c16e0be268c259278bceda
parentbd3980cc095af1728b994cdd8bf1ac430b6289e6
mgcoge make ether_scc.c work with CONFIG_NET_MULTI

This change is needed for mgcoge because it uses two ethernet drivers.

Add a check for the presence of the PIGGY board on mgcoge.  Without this
board networking cannot work and the initialization must be aborted.

Only allocate rtx once to prevent DPRAM exhaustion.

Initialize ether_scc.c and the keymile-specific HDLC driver (to be added
soon) in eth.c.

Signed-off-by: Gary Jennejohn <garyj@denx.de>
Signed-off-by: Ben Warren <biggerbadderben@gmail.com>
cpu/mpc8260/Makefile
cpu/mpc8260/cpu.c
cpu/mpc8260/ether_scc.c
include/netdev.h