From: Marek Vasut Date: Mon, 24 Oct 2011 23:41:39 +0000 (+0000) Subject: GCC4.6: Squash warning in tegra2 board.c X-Git-Tag: v2011.12-rc1~348 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=4a34af7114982904e3d69fdf379bf8e1c919f081;p=u-boot 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 Cc: Wolfgang Denk Cc: Simon Glass Cc: Mike Frysinger --- diff --git a/arch/arm/cpu/armv7/tegra2/board.c b/arch/arm/cpu/armv7/tegra2/board.c index 9061d181d5..751102d180 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) {