]> git.dujemihanovic.xyz Git - u-boot.git/commitdiff
GCC4.6: Squash warning in tegra2 board.c
authorMarek Vasut <marek.vasut@gmail.com>
Mon, 24 Oct 2011 23:41:39 +0000 (23:41 +0000)
committerWolfgang Denk <wd@denx.de>
Thu, 27 Oct 2011 21:54:09 +0000 (23:54 +0200)
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>
arch/arm/cpu/armv7/tegra2/board.c

index 9061d181d541aa915c09d2d281b8f2efebaf6d03..751102d180806023dce64718d5888d2030013873 100644 (file)
@@ -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) {