From: Mike Frysinger Date: Thu, 15 Dec 2011 14:22:29 -0500 Subject: [U-Boot] [PATCH/RFC] fix several printf() modifiers In-Reply-To: <4EE9B02D.8010001@gmail.com> References: <4EE843FE.1070504@wytron.com.tw> <201112150035.53473.vapier@gentoo.org> <4EE9B02D.8010001@gmail.com> Message-ID: <201112151422.31051.vapier@gentoo.org> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de On Thursday 15 December 2011 03:30:37 Andreas Bie?mann wrote: > 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). i don't know anything about AVR32 ;) > But maybe one will locate the vmr_table sometimes in SRAM some day? seems safer, although probably unlikely as i think the AVR32 is pretty much dead nowadays ? -mike -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: application/pgp-signature Size: 836 bytes Desc: This is a digitally signed message part. URL: