]> git.karo-electronics.de Git - mv-sheeva.git/commit
m68knommu: simplify the 5206 UART setup code
authorGreg Ungerer <gerg@uclinux.org>
Fri, 23 Dec 2011 14:49:12 +0000 (00:49 +1000)
committerGreg Ungerer <gerg@uclinux.org>
Sun, 4 Mar 2012 23:43:06 +0000 (09:43 +1000)
commita579748dc1b5233e13c7b2fdb0f005f93369bb83
tree38c0ea2dc2004a565e0e3aad6b0ed6c4676033d5
parentbbbeeaf2f74b634c95af3492e4958e752966eaa5
m68knommu: simplify the 5206 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/5206/config.c