summaryrefslogtreecommitdiff
path: root/arch
diff options
context:
space:
mode:
authorMarek Vasut <marek.vasut@gmail.com>2011-10-24 23:41:39 +0000
committerWolfgang Denk <wd@denx.de>2011-10-27 23:54:09 +0200
commit4a34af7114982904e3d69fdf379bf8e1c919f081 (patch)
tree02083645a12ddb30774c02acd07a43be17bb9e0c /arch
parent4754c82372c1f995b760ab35456cf8ebe1d8f8bc (diff)
downloadu-boot-imx-4a34af7114982904e3d69fdf379bf8e1c919f081.zip
u-boot-imx-4a34af7114982904e3d69fdf379bf8e1c919f081.tar.gz
u-boot-imx-4a34af7114982904e3d69fdf379bf8e1c919f081.tar.bz2
GCC4.6: Squash warning in tegra2 board.c
board.c:43:2: warning: format '%08lX' expects type 'long unsigned int', but argument 2 has type 'u32' 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/arm/cpu/armv7/tegra2/board.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/arm/cpu/armv7/tegra2/board.c b/arch/arm/cpu/armv7/tegra2/board.c
index 9061d18..751102d 100644
--- a/arch/arm/cpu/armv7/tegra2/board.c
+++ b/arch/arm/cpu/armv7/tegra2/board.c
@@ -40,7 +40,7 @@ unsigned int query_sdram_size(void)
u32 reg;
reg = readl(&pmc->pmc_scratch20);
- debug("pmc->pmc_scratch20 (ODMData) = 0x%08lX\n", reg);
+ debug("pmc->pmc_scratch20 (ODMData) = 0x%08x\n", reg);
/* bits 31:28 in OdmData are used for RAM size */
switch ((reg) >> 28) {