mpc512x: Use serial_setbrg() in serial_init() to not duplicate the code
authorStefan Roese <sr@denx.de>
Tue, 2 Jun 2009 14:53:16 +0000 (16:53 +0200)
committerWolfgang Denk <wd@denx.de>
Fri, 12 Jun 2009 18:47:17 +0000 (20:47 +0200)
commitba4feae90ca71de1681d5808f17e73224d8f03c4
treec72baa3fd5838e19de89acb87643d09685659311
parentb8c1d6a54ff8195488b68e163de8ec31f1603496
mpc512x: Use serial_setbrg() in serial_init() to not duplicate the code

This patch removes the duplicated code for baudrate generator configuration
in the PSC serial_init() implementation by calling serial_setbrg() instead
of duplicating the code.

Signed-off-by: Stefan Roese <sr@denx.de>
cpu/mpc512x/serial.c