[POWERPC] bootwrapper: Add TARGET_HAS_ETHn tests to ppcboot.h
authorScott Wood <scottwood@freescale.com>
Mon, 20 Aug 2007 17:39:52 +0000 (03:39 +1000)
committerPaul Mackerras <paulus@samba.org>
Wed, 22 Aug 2007 05:21:48 +0000 (15:21 +1000)
commit61d3b949b70802c4f32d540b11a93128c31c67ea
treec5cfec894732ac730e47fe1a1e07921a678a3ac3
parent6e913c67b3eb93e2b8bc1dc0ff854f00a760f41b
[POWERPC] bootwrapper: Add TARGET_HAS_ETHn tests to ppcboot.h

U-boots more recent than when ppcboot.h was forked allow the board config
file to enable additional ethernet ports explicitly, rather than
using a hardcoded list of targets.  This allows bootwrapper platform
files to do the same.

Fortunately, nothing after the ethernet addresses is of interest to
cuboot platforms, so the inevitable mismatches won't be too catastrophic.

Signed-off-by: Scott Wood <scottwood@freescale.com>
Acked-by: David Gibson <david@gibson.dropbear.id.au>
Signed-off-by: Paul Mackerras <paulus@samba.org>
arch/powerpc/boot/ppcboot.h