[U-Boot] [PATCH 1/3] serial: push default_serial_console to drivers
Wolfgang Denk
wd at denx.de
Tue Jul 26 16:38:12 CEST 2011
Dear Mike Frysinger,
In message <1304136211-1316-1-git-send-email-vapier at gentoo.org> you 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(-)
Applied, 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
Lead me not into temptation... I can find it myself.
More information about the U-Boot
mailing list