[U-Boot] [PATCH 3/3] serial: drop useless ctlr field
Wolfgang Denk
wd at denx.de
Tue Jul 26 16:38:34 CEST 2011
Dear Mike Frysinger,
In message <1304136211-1316-3-git-send-email-vapier at gentoo.org> you wrote:
> The multi serial support has a "ctlr" field which almost no one uses,
> but everyone is forced to set to useless strings. So punt it.
>
> Funny enough, the only code that actually reads this field (the mpc8xx
> driver) has a typo where it meant to look for the SCC driver. Fix it
> while converting the check to use the name field.
>
> 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: Marek Vasut <marek.vasut at gmail.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 | 11 +++++------
> arch/powerpc/cpu/mpc5xxx/serial.c | 2 --
> arch/powerpc/cpu/mpc8xx/serial.c | 8 +++-----
> board/logicpd/zoom2/zoom2_serial.h | 2 --
> drivers/serial/serial.c | 11 +++++------
> drivers/serial/serial_pxa.c | 3 ---
> drivers/serial/serial_s3c24x0.c | 9 ++++-----
> drivers/serial/serial_s5p.c | 11 +++++------
> include/serial.h | 2 --
> 9 files changed, 22 insertions(+), 37 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
1 1 was a race-horse, 2 2 was 1 2. When 1 1 1 1 race, 2 2 1 1 2.
More information about the U-Boot
mailing list