diff options
author | Sascha Hauer <s.hauer@pengutronix.de> | 2013-01-26 12:40:48 +0100 |
---|---|---|
committer | Sascha Hauer <s.hauer@pengutronix.de> | 2013-01-27 14:24:10 +0100 |
commit | a01e54d2015ea692e96f8909b3b1a75e0443445e (patch) | |
tree | c2313760cfa75a6bfb17f9524b78289847912fd1 /arch | |
parent | ea53e1b5724d78bc6e5cf49d48bf33bdef74faa5 (diff) | |
download | barebox-a01e54d2015ea692e96f8909b3b1a75e0443445e.tar.gz barebox-a01e54d2015ea692e96f8909b3b1a75e0443445e.tar.xz |
treewide: fix format specifiers
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
Diffstat (limited to 'arch')
-rw-r--r-- | arch/arm/mach-imx/esdctl.c | 4 | ||||
-rw-r--r-- | arch/arm/mach-omap/gpmc.c | 6 | ||||
-rw-r--r-- | arch/ppc/lib/board.c | 4 |
3 files changed, 7 insertions, 7 deletions
diff --git a/arch/arm/mach-imx/esdctl.c b/arch/arm/mach-imx/esdctl.c index dd70e6ddfc..841a9ed796 100644 --- a/arch/arm/mach-imx/esdctl.c +++ b/arch/arm/mach-imx/esdctl.c @@ -168,8 +168,8 @@ static inline unsigned long imx_v4_sdram_size(void __iomem *esdctlbase, int cs) static void add_mem(unsigned long base0, unsigned long size0, unsigned long base1, unsigned long size1) { - debug("%s: cs0 base: 0x%08x cs0 size: 0x%08x\n", __func__, base0, size0); - debug("%s: cs1 base: 0x%08x cs1 size: 0x%08x\n", __func__, base1, size1); + debug("%s: cs0 base: 0x%08lx cs0 size: 0x%08lx\n", __func__, base0, size0); + debug("%s: cs1 base: 0x%08lx cs1 size: 0x%08lx\n", __func__, base1, size1); if (base0 + size0 == base1 && size1 > 0) { /* diff --git a/arch/arm/mach-omap/gpmc.c b/arch/arm/mach-omap/gpmc.c index 3aaa4f69e7..bb84b38650 100644 --- a/arch/arm/mach-omap/gpmc.c +++ b/arch/arm/mach-omap/gpmc.c @@ -89,7 +89,7 @@ void gpmc_generic_init(unsigned int cfg) * But NEVER run me in XIP mode! I will Die! */ while (x < GPMC_NUM_CS) { - debug("gpmccs=%d Reg:0x%x <-0x0\n", x, reg); + debug("gpmccs=%d Reg:0x%p <-0x0\n", x, reg); writel(0x0, reg); reg += GPMC_CONFIG_CS_SIZE; x++; @@ -119,14 +119,14 @@ void gpmc_cs_config(char cs, struct gpmc_config *config) /* Write the CFG1-6 regs */ while (x < 6) { - debug("gpmccfg%d Reg:0x%x <-0x%08x\n", + debug("gpmccfg%d Reg:0x%p <-0x%08x\n", x, reg, config->cfg[x]); writel(config->cfg[x], reg); reg += GPMC_CONFIG_REG_OFF; x++; } /* reg now points to CFG7 */ - debug("gpmccfg%d Reg:0x%x <-0x%08x\n", + debug("gpmccfg%d Reg:0x%p <-0x%08x\n", x, reg, (0x1 << 6) | /* CS enable */ ((config->size & 0xF) << 8) | /* Size */ ((config->base >> 24) & 0x3F)); diff --git a/arch/ppc/lib/board.c b/arch/ppc/lib/board.c index d2198627f9..18d2588e2c 100644 --- a/arch/ppc/lib/board.c +++ b/arch/ppc/lib/board.c @@ -52,8 +52,8 @@ void board_init_r (ulong end_of_ram) */ malloc_end = (_text_base - (128 << 10)) & ~(4095); - debug("malloc_end: 0x%08x\n", malloc_end); - debug("TEXT_BASE after relocation: 0x%08x\n", _text_base); + debug("malloc_end: 0x%08lx\n", malloc_end); + debug("TEXT_BASE after relocation: 0x%08lx\n", _text_base); mem_malloc_init((void *)(malloc_end - MALLOC_SIZE), (void *)(malloc_end - 1)); |