[U-Boot] Compilation warning: "MSR_RI" redefined

Stefan Roese sr at denx.de
Thu Apr 2 08:56:46 CEST 2009


Hi Detlev,

your patch 7b5611cdd12ca0cc33f994f0d4a4454788fc3124 [inka4x0: Add hardware 
diagnosis functions for inka4x0] introduced all kind of new defines in the 
ns16550.h header resulting in a warning on some 4xx platforms:

[stefan at kubuntu u-boot (master)]$ ./MAKEALL ml300
Configuring for ml300 board...
In file included from serial.c:53:
/home/stefan/git/u-boot/u-boot/include/ns16550.h:151:1: warning: "MSR_RI" 
redefined
In file included from serial.c:41:
/home/stefan/git/u-boot/u-boot/include/asm/processor.h:48:1: warning: this is 
the location of the previous definition

I suggest to either remove this MSI_RI from the header again (it doesn't seem 
to be used here) or rename it.

Thanks.

Best regards,
Stefan

=====================================================================
DENX Software Engineering GmbH,     MD: Wolfgang Denk & Detlev Zundel
HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany
Phone: +49-8142-66989-0 Fax: +49-8142-66989-80  Email: office at denx.de
=====================================================================


More information about the U-Boot mailing list