From: Wolfgang Denk Date: Fri, 05 Jun 2009 14:19:49 +0200 Subject: [U-Boot] [PATCH 2/2] mpc512x: Use serial_setbrg() in serial_init() to not duplicate the code In-Reply-To: <1243954396-24775-2-git-send-email-sr@denx.de> References: <1243954396-24775-1-git-send-email-sr@denx.de> <1243954396-24775-2-git-send-email-sr@denx.de> Message-ID: <20090605121949.BE4818246B12@gemini.denx.de> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de Dear Stefan Roese, In message <1243954396-24775-2-git-send-email-sr@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 > --- > 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