]> git.sur5r.net Git - u-boot/commit
serial: push default_serial_console to drivers
authorMike Frysinger <vapier@gentoo.org>
Fri, 29 Apr 2011 18:03:29 +0000 (18:03 +0000)
committerWolfgang Denk <wd@denx.de>
Tue, 26 Jul 2011 14:37:57 +0000 (16:37 +0200)
commit6c768ca746c341dd6acbb8b39f48acb48e964d83
tree1c20bed09fe9e70e525a2761d660301947f07dae
parent6262e4e74e2cdb9f231dc71c9893d4a4bd1e88df
serial: push default_serial_console to drivers

Rather than sticking arch/board/driver specific logic in the common
serial code, push it all out to the respective drivers.  The serial
drivers declare these funcs weak so that boards can still override
things with their own definition.

Signed-off-by: Mike Frysinger <vapier@gentoo.org>
CC: Heiko Schocher <hs@denx.de>
CC: Anatolij Gustschin <agust@denx.de>
CC: Tom Rix <Tom.Rix@windriver.com>
CC: Minkyu Kang <mk7.kang@samsung.com>
CC: Craig Nauman <cnauman@diagraph.com>
CC: Prafulla Wadaskar <prafulla@marvell.com>
CC: Mahavir Jain <mjain@marvell.com>
Tested-by: Minkyu Kang <mk7.kang@samsung.com>
arch/powerpc/cpu/mpc512x/serial.c
arch/powerpc/cpu/mpc5xxx/serial.c
arch/powerpc/cpu/mpc8xx/serial.c
board/logicpd/zoom2/zoom2_serial.c
common/serial.c
drivers/serial/serial.c
drivers/serial/serial_s3c24x0.c
drivers/serial/serial_s5p.c