[U-Boot] [PATCH/RFC] fix several printf() modifiers

Andreas Bießmann andreas.devel at googlemail.com
Thu Dec 15 09:30:37 CET 2011


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


More information about the U-Boot mailing list