]> git.karo-electronics.de Git - mv-sheeva.git/commit
m68knommu: simplify the 54xx UART setup code
authorGreg Ungerer <gerg@uclinux.org>
Fri, 23 Dec 2011 15:08:47 +0000 (01:08 +1000)
committerGreg Ungerer <gerg@uclinux.org>
Sun, 4 Mar 2012 23:43:07 +0000 (09:43 +1000)
commitb9a0c3f88ef6163f56662d0121d4932b457568bb
tree1dbd3956ec1cc2d46ea9fcbe825ace87d5f1c51f
parentb77fb7faa9c80021e885749f8e4cf84a4981c8ba
m68knommu: simplify the 54xx 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/54xx/config.c