m68knommu: simplify the 527x UART setup code
authorGreg Ungerer <gerg@uclinux.org>
Fri, 23 Dec 2011 14:59:03 +0000 (00:59 +1000)
committerGreg Ungerer <gerg@uclinux.org>
Sun, 4 Mar 2012 23:43:07 +0000 (09:43 +1000)
commit1eb1391638633cdeb7dcaacd295bfcbec216ea8f
tree5584f34f922ed7bc97b1aa2b2db2e26464f626a1
parent6b656e8a74ca81e04b281a135a49df76ada28a41
m68knommu: simplify the 527x UART setup code

Simplify the UART setup code so that it no longer loops for each UART
present. Just make it do all the work it needs in a single function.
This will make the code easier to share when we move to a single set
of platform data for ColdFire UARTs.

Signed-off-by: Greg Ungerer <gerg@uclinux.org>
arch/m68k/platform/527x/config.c