From mboxrd@z Thu Jan 1 00:00:00 1970 From: =?UTF-8?B?QW5kcmVhcyBCaWXDn21hbm4=?= Date: Thu, 15 Dec 2011 09:30:37 +0100 Subject: [U-Boot] [PATCH/RFC] fix several printf() modifiers In-Reply-To: <201112150035.53473.vapier@gentoo.org> References: <4EE843FE.1070504@wytron.com.tw> <1323857047-11574-1-git-send-email-andreas.devel@googlemail.com> <201112150035.53473.vapier@gentoo.org> Message-ID: <4EE9B02D.8010001@gmail.com> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de Dear Mike Frysinger, On 15.12.2011 06:35, Mike Frysinger wrote: > On Wednesday 14 December 2011 05:04:07 Andreas Bie?mann wrote: >> --- a/arch/avr32/cpu/at32ap700x/mmu.c >> +++ b/arch/avr32/cpu/at32ap700x/mmu.c >> >> - printf("VMR table @ 0x%08x\n", vmr_table_addr); >> + printf("VMR table @ %#lx\n", vmr_table_addr); > > this isn't the same. probably should be %08lx. You are right, but as you may know the memory map for at32ap7000 has its SDRAM physically at 0x10000000. Therefore the result will be the same for 0x%08lx and %#lx (in all currently available boards). But maybe one will locate the vmr_table sometimes in SRAM some day? I will provide v2 which change this back, split off in three patches and add the respective custodian in cc. best regards Andreas Bie?mann