[U-Boot] [PATCH 1/3] serial: push default_serial_console to drivers
Minkyu Kang
promsoft at gmail.com
Tue May 3 07:57:02 CEST 2011
Dear Mike Frysinger,
On 30 April 2011 13:03, Mike Frysinger <vapier at gentoo.org> wrote:
> 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 at gentoo.org>
> CC: Heiko Schocher <hs at denx.de>
> CC: Anatolij Gustschin <agust at denx.de>
> CC: Tom Rix <Tom.Rix at windriver.com>
> CC: Minkyu Kang <mk7.kang at samsung.com>
> CC: Craig Nauman <cnauman at diagraph.com>
> CC: Prafulla Wadaskar <prafulla at marvell.com>
> CC: Mahavir Jain <mjain at marvell.com>
> ---
> note: while i've compiled tested all of these, i obviously can't
> runtime test them ... i have runtime tested the common code
> though on a Blackfin part ...
>
> arch/powerpc/cpu/mpc512x/serial.c | 12 ++++++
> arch/powerpc/cpu/mpc5xxx/serial.c | 6 +++
> arch/powerpc/cpu/mpc8xx/serial.c | 10 +++++
> board/logicpd/zoom2/zoom2_serial.c | 5 +++
> common/serial.c | 68 ------------------------------------
> drivers/serial/serial.c | 17 +++++++++
> drivers/serial/serial_s3c24x0.c | 14 +++++++
> drivers/serial/serial_s5p.c | 16 ++++++++
> 8 files changed, 80 insertions(+), 68 deletions(-)
>
Tested on S5P based boards.
Tested-by: Minkyu Kang <mk7.kang at samsung.com>
Thanks
Minkyu Kang
--
from. prom.
www.promsoft.net
More information about the U-Boot
mailing list