Blackfin: bf533-stamp: rewrite resource swap logic
authorMike Frysinger <vapier@gentoo.org>
Sun, 12 Oct 2008 02:38:37 +0000 (22:38 -0400)
committerMike Frysinger <vapier@gentoo.org>
Wed, 28 Jan 2009 18:27:28 +0000 (13:27 -0500)
commit1f75d6f0ff005762d3e6ad92ae4ce2ab366b3bb5
tree80c3670ab9e50d36669ef0370a10748ab12fd892
parent29d4ea0a9073c82469184331010136f52edf8db6
Blackfin: bf533-stamp: rewrite resource swap logic

The old swap function tended to clobber unrelated pins and screw up masks.
Rewrite the thing from scratch so it only uses the resources it needs.

Signed-off-by: Mike Frysinger <vapier@gentoo.org>
board/bf533-stamp/bf533-stamp.c