[U-Boot] [PATCH 2/2] mpc512x: Use serial_setbrg() in serial_init() to not duplicate the code

Wolfgang Denk wd at denx.de
Fri Jun 5 14:19:49 CEST 2009


Dear Stefan Roese,

In message <1243954396-24775-2-git-send-email-sr at denx.de> you wrote:
> 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 at denx.de>
> ---
>  cpu/mpc512x/serial.c |   36 +++++++++++++++---------------------
>  1 files changed, 15 insertions(+), 21 deletions(-)

Applied to mpc5xxx/next. Thanks.

Best regards,

Wolfgang Denk

-- 
DENX Software Engineering GmbH,     MD: Wolfgang Denk & Detlev Zundel
HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany
Phone: (+49)-8142-66989-10 Fax: (+49)-8142-66989-80 Email: wd at denx.de
"It was the Law of the Sea, they said. Civilization ends at  the  wa-
terline.  Beyond  that,  we  all enter the food chain, and not always
right at the top."                               - Hunter S. Thompson


More information about the U-Boot mailing list