]> git.sur5r.net Git - u-boot/commit
Small refactor to remove duplicate serial code
authorSimon Glass <sjg@chromium.org>
Fri, 19 Aug 2011 11:09:43 +0000 (11:09 +0000)
committerWolfgang Denk <wd@denx.de>
Sat, 1 Oct 2011 19:52:48 +0000 (21:52 +0200)
commit857c283e9bfbafdd550970602c2dcc072579ae6e
tree5abaca81ca051d1b4a8233bc9c100a7bade87dde
parent025421eab453fd41a3cc14a0fc48115b0dc4c287
Small refactor to remove duplicate serial code

This tidies up duplicate code, and checks that default_serial_console() does
in fact produce a device.

Signed-off-by: Simon Glass <sjg@chromium.org>
Acked-by: Mike Frysinger <vapier@gentoo.org>
common/serial.c