[U-Boot] [PATCH v5] serial: uartlite: Support for SERIAL_MULTI

Wolfgang Denk wd at denx.de
Tue Oct 18 08:06:32 CEST 2011


Dear Michal Simek,

In message <1317020588-12083-1-git-send-email-monstr at monstr.eu> you wrote:
> Add support for SERIAL MULTI for uartlite.
> 
> Signed-off-by: Michal Simek <monstr at monstr.eu>
> 
> ---
> v2: Use in/out_be32 functions
> 
> v3: Clean coding style
> 
> v4: Simplify userial_ports array initialization
> 
> v5: const userial_ports
>     Do not use u32
>     Separate declarations and code by a single blank line
>     Update copyright
> ---
>  common/serial.c                   |   14 ++++
>  drivers/serial/serial_xuartlite.c |  140 ++++++++++++++++++++++++++++++++-----
>  include/serial.h                  |    7 ++
>  3 files changed, 142 insertions(+), 19 deletions(-)

This commit causes new warnings for the following boards:

	ml507                   v5fx30teval_flash       xilinx-ppc440-generic
	ml507_flash             xilinx-ppc405-generic   xilinx-ppc440-generic_f
	v5fx30teval             xilinx-ppc405-generic_f

For example:

Configuring for xilinx-ppc440-generic - Board: xilinx-ppc440-generic, Options: SYS_TEXT_BASE=0x04000000,RESET_VECTOR_ADDRESS=0x04100000,BOOT_FROM_XMD=1
serial_xuartlite.c: In function 'uartlite_serial_putc':
serial_xuartlite.c:60: warning: initialization discards qualifiers from pointer target type
serial_xuartlite.c: In function 'uartlite_serial_getc':
serial_xuartlite.c:78: warning: initialization discards qualifiers from pointer target type
serial_xuartlite.c: In function 'uartlite_serial_tstc':
serial_xuartlite.c:87: warning: initialization discards qualifiers from pointer target type


Please fix.

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 no distinctly American criminal class except Congress."
- Mark Twain


More information about the U-Boot mailing list