Tyan S8226: Fix printk warnings
commitddff32eb8cc8271d486537a085ed64eff5de5365
authorMartin Roth <martin.roth@se-eng.com>
Tue, 19 Feb 2013 04:33:04 +0000 (18 21:33 -0700)
committerStefan Reinauer <stefan.reinauer@coreboot.org>
Tue, 19 Feb 2013 22:42:52 +0000 (19 23:42 +0100)
tree249d3809c3b9851090e1675eb34485d466984554
parentf87855ceab7e735221c1b85ed405a0b47e329125
Tyan S8226: Fix printk warnings

Fix 84 warnings all like this one:
agesawrapper.c:289, GNU Compiler 4 (gcc), Priority: Normal
format '%lu' expects argument of type 'long unsigned int', but argument 3 has type 'UINT32' [-Wformat]

Fixed by getting rid of the l length specifier and casting to unsigned int.

Change-Id: Ic143c1034f760fa5efb2220aa33861e399ddd708
Signed-off-by: Martin Roth <martin.roth@se-eng.com>
Reviewed-on: http://review.coreboot.org/2451
Tested-by: build bot (Jenkins)
Reviewed-by: Siyuan Wang <wangsiyuanbuaa@gmail.com>
Reviewed-by: Paul Menzel <paulepanter@users.sourceforge.net>
Reviewed-by: Dave Frodin <dave.frodin@se-eng.com>
src/mainboard/tyan/s8226/agesawrapper.c