summaryrefslogtreecommitdiff
path: root/arch
diff options
context:
space:
mode:
authorMarek Vasut <marek.vasut@gmail.com>2011-10-21 14:17:02 +0000
committerWolfgang Denk <wd@denx.de>2011-10-27 23:53:59 +0200
commit506b9f2b2d236fcfd40c323ba3836e76f25446f5 (patch)
tree1d56ea354f16f58484bdb17b84a705aabf27bd5a /arch
parent9660e442de66e7a80513b30e5226eeec73b9c17a (diff)
downloadu-boot-imx-506b9f2b2d236fcfd40c323ba3836e76f25446f5.zip
u-boot-imx-506b9f2b2d236fcfd40c323ba3836e76f25446f5.tar.gz
u-boot-imx-506b9f2b2d236fcfd40c323ba3836e76f25446f5.tar.bz2
PowerPC: Squash warning in mpc512x serial.c
serial.c: In function 'serial_setbrg_dev': serial.c:143: warning: format '%d' expects type 'int', but argument 4 has type 'long unsigned int' Signed-off-by: Marek Vasut <marek.vasut@gmail.com> Cc: Wolfgang Denk <wd@denx.de> Cc: Simon Glass <sjg@chromium.org> Cc: Mike Frysinger <vapier@gentoo.org>
Diffstat (limited to 'arch')
-rw-r--r--arch/powerpc/cpu/mpc512x/serial.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/powerpc/cpu/mpc512x/serial.c b/arch/powerpc/cpu/mpc512x/serial.c
index 5ee9cef..7c53346 100644
--- a/arch/powerpc/cpu/mpc512x/serial.c
+++ b/arch/powerpc/cpu/mpc512x/serial.c
@@ -140,7 +140,7 @@ void serial_setbrg_dev(unsigned int idx)
if (br_env)
baudrate = simple_strtoul(br_env, NULL, 10);
- debug("%s: idx %d, baudrate %d\n", __func__, idx, baudrate);
+ debug("%s: idx %d, baudrate %ld\n", __func__, idx, baudrate);
}
/* calculate divisor for setting PSC CTUR and CTLR registers */