]> git.dujemihanovic.xyz Git - u-boot.git/commit
Fix #if chain and added AVR32 case in cmd_bdinfo.c
authorReinhard Meyer <info@emk-elektronik.de>
Sun, 6 Jun 2010 17:01:59 +0000 (19:01 +0200)
committerWolfgang Denk <wd@denx.de>
Tue, 29 Jun 2010 20:32:13 +0000 (22:32 +0200)
commitc99ea790788ae83d813e2c6c03291cb5672cc6c0
treed760eaf6c399c9f4996643f5a08dd618f90209e7
parentd04250cbe1999cfaafee590dfb3191ade305fb63
Fix #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@emk-elektronik.de>
Tested-by: Andreas Bießmann <biessmann@corscience.de>
common/cmd_bdinfo.c