mx25 3ds: fix fec initialization
commit1b1fa988bae8728c09375da799b3a6889449fd56
authorBaruch Siach <baruch@tkos.co.il>
Wed, 9 Jun 2010 07:05:06 +0000 (9 10:05 +0300)
committerSascha Hauer <s.hauer@pengutronix.de>
Thu, 10 Jun 2010 06:39:27 +0000 (10 08:39 +0200)
tree4f8a3af7ce4e68f630793a25ebf6ca98cb27e3e0
parentdcdd890e0c2e5aca9de6f254d6812941402538bf
mx25 3ds: fix fec initialization

The fec network interface initialization depends on the initialization of the
PMIC. Once the MC34704 driver is registered we can enable the PHY power supply,
and go on with the PHY initialization.

While we are at it convert the hard-coded GPIO registers access to the general
GPIO API for shorter and clearer code.

Signed-off-by: Baruch Siach <baruch@tkos.co.il>
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
board/freescale-mx25-3-stack/3stack.c