ppc4xx: Fix POST ethernet test for Haleakala
authorStefan Roese <sr@denx.de>
Thu, 25 Oct 2007 10:24:59 +0000 (12:24 +0200)
committerStefan Roese <sr@denx.de>
Wed, 31 Oct 2007 20:20:51 +0000 (21:20 +0100)
commit7d47cee2cc57f907380f2c06f5b6c683d03e423a
treef19cda7667d3ef36bdf3e0bbe816dd1084f5dfff
parentf10493c6d77a1e07a6c2ff4d772937a5e7359d6a
ppc4xx: Fix POST ethernet test for Haleakala

The POST ethernet test needed to be changed to dynamically determine
the count of ethernet devices. This code is cloned from the 4xx
ethernet driver.

Signed-off-by: Stefan Roese <sr@denx.de>
post/cpu/ppc4xx/ether.c