[U-Boot] [PATCH/RFC] fix several printf() modifiers
Mike Frysinger
vapier at gentoo.org
Thu Dec 15 20:22:29 CET 2011
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: <http://lists.denx.de/pipermail/u-boot/attachments/20111215/6a4b7ec0/attachment.pgp>
More information about the U-Boot
mailing list