m68knommu: simplify the 532x UART setup code
authorGreg Ungerer <gerg@uclinux.org>
Fri, 23 Dec 2011 15:04:22 +0000 (01:04 +1000)
committerGreg Ungerer <gerg@uclinux.org>
Sun, 4 Mar 2012 23:43:07 +0000 (09:43 +1000)
commita75bc61952fdc903a7434acb25b20ec703c23803
tree1cefc0d160e6a559d51f72704deeb64ad7601104
parent7bdebba492d92837e7f93e9a6ddfb11a498619b7
m68knommu: simplify the 532x 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/532x/config.c