[U-Boot] [PATCH v4 1/8] serial: struct serial_device: add uninit() entry for drivers

Wolfgang Denk wd at denx.de
Sat Apr 24 22:32:41 CEST 2010


Dear Anatolij Gustschin,

In message <1272130031-26230-2-git-send-email-agust at denx.de> you wrote:
> Subsequent patch extends mpc512x serial driver to support
> multiple PSC ports. The driver will provide an uninit()
> function to stop the serial controller and to disable the
> controller's clock. Adding uninit() entry to struct serial_device
> allows disabling the serial controller after usage of
> a stdio serial device.
> 
> This patch adds uninit() entry to the struct serial_device
> and fixes initialization of this structure in the code
> accordingly.
> 
> Signed-off-by: Anatolij Gustschin <agust at denx.de>
> ---
>  arch/powerpc/cpu/mpc5xxx/serial.c  |    2 ++
>  arch/powerpc/cpu/mpc8xx/serial.c   |    2 ++
>  arch/powerpc/cpu/ppc4xx/4xx_uart.c |    2 ++
>  board/logicpd/zoom2/zoom2_serial.h |    1 +
>  drivers/serial/serial.c            |    1 +
>  drivers/serial/serial_pxa.c        |    3 +++
>  drivers/serial/serial_s3c24x0.c    |    1 +
>  drivers/serial/serial_s5pc1xx.c    |    1 +
>  include/serial.h                   |    1 +
>  9 files changed, 14 insertions(+), 0 deletions(-)

This patch is actually not 5xxx related, so I pull it directly into
"master".

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
There is, however, a strange, musty smell in the air that reminds  me
of something...hmm...yes...I've got it...there's a VMS nearby, or I'm
a Blit.          - Larry Wall in Configure from the perl distribution


More information about the U-Boot mailing list