]> git.sur5r.net Git - u-boot/commit
powerpc: cast bi_memsize to ulong for %ld usage
authorValentin Longchamp <valentin.longchamp@keymile.com>
Fri, 18 Oct 2013 09:47:14 +0000 (11:47 +0200)
committerYork Sun <yorksun@freescale.com>
Thu, 24 Oct 2013 16:35:15 +0000 (09:35 -0700)
commit13287e3d47e40dd0b6cbcbae19fe705617fc42d9
treebd3e0aeff31e888b4cb8f44920198e849e47443b
parent77354e9d502837c156149109f4dd36b7bc12d6b3
powerpc: cast bi_memsize to ulong for %ld usage

When exporting the new memsize without reserved PRAM area, the -Wformat
option produces a warning since %ld is used for snprintf and bi_memsize
is phys_size_t.

This patch removes this warning for all PRAM PowerPC boards.

Signed-off-by: Valentin Longchamp <valentin.longchamp@keymile.com>
arch/powerpc/lib/board.c