mirror of
https://github.com/enjoy-digital/litex.git
synced 2025-01-04 09:52:26 -05:00
bios: Fix warning on 64-bit
This fixes an incorrect printf format specifier Signed-off-by: Benjamin Herrenschmidt <benh@kernel.crashing.org>
This commit is contained in:
parent
fbbbdf03b5
commit
2d70220b80
1 changed files with 1 additions and 1 deletions
|
@ -903,7 +903,7 @@ static void memspeed(void)
|
|||
end = timer0_value_read();
|
||||
read_speed = (8*MEMTEST_DATA_SIZE*(CONFIG_CLOCK_FREQUENCY/1000000))/(start - end);
|
||||
|
||||
printf("Memspeed Writes: %dMbps Reads: %dMbps\n", write_speed, read_speed);
|
||||
printf("Memspeed Writes: %ldMbps Reads: %ldMbps\n", write_speed, read_speed);
|
||||
}
|
||||
|
||||
int memtest(void)
|
||||
|
|
Loading…
Reference in a new issue