libbase/memtest: revert previous printf (the informations are provided below and this make it too verbose).
This commit is contained in:
parent
5e2a4efac6
commit
0a80e4c3d6
|
@ -182,7 +182,7 @@ void memspeed(unsigned int *addr, unsigned long size, bool read_only)
|
||||||
__attribute__((unused)) unsigned long data;
|
__attribute__((unused)) unsigned long data;
|
||||||
const unsigned int sz = sizeof(unsigned long);
|
const unsigned int sz = sizeof(unsigned long);
|
||||||
|
|
||||||
printf("Memspeed at 0x%p size 0x%x (%u read or write operations), read_only? %s...\n", addr, size, (size/sz), read_only?"true":"false");
|
printf("Memspeed at 0x%p...\n", addr);
|
||||||
|
|
||||||
/* init timer */
|
/* init timer */
|
||||||
timer0_en_write(0);
|
timer0_en_write(0);
|
||||||
|
@ -233,7 +233,7 @@ int memtest(unsigned int *addr, unsigned long maxsize)
|
||||||
unsigned long addr_size = MEMTEST_ADDR_SIZE < maxsize ? MEMTEST_ADDR_SIZE : maxsize;
|
unsigned long addr_size = MEMTEST_ADDR_SIZE < maxsize ? MEMTEST_ADDR_SIZE : maxsize;
|
||||||
unsigned long data_size = maxsize;
|
unsigned long data_size = maxsize;
|
||||||
|
|
||||||
printf("Memtest at 0x%p size 0x%x...\n", addr, maxsize);
|
printf("Memtest at 0x%p...\n", addr);
|
||||||
|
|
||||||
bus_errors = memtest_bus(addr, bus_size);
|
bus_errors = memtest_bus(addr, bus_size);
|
||||||
addr_errors = memtest_addr(addr, addr_size, MEMTEST_ADDR_RANDOM);
|
addr_errors = memtest_addr(addr, addr_size, MEMTEST_ADDR_RANDOM);
|
||||||
|
|
Loading…
Reference in New Issue