[U-Boot] [PATCH] fixed #if chain and added AVR32 case in cmd_bdinfo.c

Wolfgang Denk wd at denx.de
Tue Jun 29 22:32:34 CEST 2010


Dear Reinhard Meyer,

In message <4C11E777.3060205 at emk-elektronik.de> you wrote:
> This is a multi-part message in MIME format.
> --------------060008080708060407080307
> Content-Type: text/plain; charset=ISO-8859-15
> Content-Transfer-Encoding: 7bit
> 
> From: Reinhard Meyer <info at emk-elektronik.de>
> Date: Sun, 6 Jun 2010 19:01:59 +0200
> Subject: [PATCH] fixed #if chain and added AVR32 case in cmd_bdinfo.c
> 
> AVR32 case was missing in cmd_bdinfo, resulting in compiler warning
> (bd->bi_baudrate declared unsigned int at AVR32, but printf used %d)
> 
> At the same time slightly reordered #if #elif #endif to make ARM one
> of the cases and not an extra case surrounding all others
> 
> 
> Signed-off-by: Reinhard Meyer <info at emk-elektronik.de>
> ---
>  common/cmd_bdinfo.c |   44 +++++++++++++++++++++++++++++++++++---------
>  1 files changed, 35 insertions(+), 9 deletions(-)

Applied to "next".

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
People are always a lot more complicated than you  think.  It's  very
important to remember that.             - Terry Pratchett, _Truckers_


More information about the U-Boot mailing list