CRIS: Better handling of pinmux settings
authorJesper Nilsson <jesper.nilsson@axis.com>
Wed, 4 Aug 2010 09:03:57 +0000 (11:03 +0200)
committerJesper Nilsson <jesper.nilsson@axis.com>
Wed, 4 Aug 2010 11:02:37 +0000 (13:02 +0200)
commit0c07d3abc8d76120317c108062cc7aa81fbd96d6
tree3ba62b6532bd8388651405847cce91cf3112b300
parent6f09963caf5ff7cb4b8de600caee3ff016e97139
CRIS: Better handling of pinmux settings

Depending on eth, eth_mido and geth fields in wr_hwprot, don't set
corresponding pins on gpio port b to gpio mode. This avoids
re-resetting the ethernet PHY should this already have been done.

Signed-off-by: Jesper Nilsson <jesper.nilsson@axis.com>
arch/cris/include/arch-v32/mach-a3/mach/startup.inc