serial: Make default_serial_console() a weak function
authorMatthias Fuchs <matthias.fuchs@esd-electronics.com>
Thu, 27 Dec 2007 15:57:23 +0000 (16:57 +0100)
committerWolfgang Denk <wd@denx.de>
Wed, 9 Jan 2008 12:27:39 +0000 (13:27 +0100)
commit1208a2dfde02bedd3c5bda29a606632b8e0be058
tree158c20760e0c4dee8094a4d9d27c280b2c6857bf
parentd16471ee05ce7ac5392bc0e9fe3ff4b58a768f33
serial: Make default_serial_console() a weak function

With this patch it is possible to reimplement default_serial_console()
in board specific code. This will be done in the upcomming PMC440
U-Boot port. This also allows the lwmon board maintainer to
remove the '#if !defined(CONFIG_LWMON) ...' from common/serial.c.

Signed-off-by: Matthias Fuchs <matthias.fuchs@esd-electronics.com>
common/serial.c