mirror of
https://github.com/enjoy-digital/litex.git
synced 2025-01-04 09:52:26 -05:00
libbase/memtest: remove 0x no longer required with %p.
This commit is contained in:
parent
01a2fc11e2
commit
1a38d51e08
1 changed files with 3 additions and 3 deletions
|
@ -224,7 +224,7 @@ void memspeed(unsigned int *addr, unsigned long size, bool read_only)
|
|||
__attribute__((unused)) unsigned long data;
|
||||
const unsigned int sz = sizeof(unsigned long);
|
||||
|
||||
printf("Memspeed at 0x%p (", addr);
|
||||
printf("Memspeed at %p (", addr);
|
||||
print_size(size);
|
||||
printf(")...\n");
|
||||
|
||||
|
@ -279,7 +279,7 @@ int memtest(unsigned int *addr, unsigned long maxsize)
|
|||
unsigned long addr_size = MEMTEST_ADDR_SIZE < maxsize ? MEMTEST_ADDR_SIZE : maxsize;
|
||||
unsigned long data_size = maxsize;
|
||||
|
||||
printf("Memtest at 0x%p (", addr);
|
||||
printf("Memtest at %p (", addr);
|
||||
print_size(data_size);
|
||||
printf(")...\n");
|
||||
|
||||
|
|
Loading…
Reference in a new issue