From: Florent Kermarrec Date: Wed, 10 Jun 2020 07:59:38 +0000 (+0200) Subject: bios/boot/copy_image_from_flash_to_ram: add missing init_progression_bar. X-Git-Tag: 24jan2021_ls180~196 X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=f7e06a7e3fd08f5a06f31c647dfbb448dde1ee99;p=litex.git bios/boot/copy_image_from_flash_to_ram: add missing init_progression_bar. --- diff --git a/litex/soc/software/bios/boot.c b/litex/soc/software/bios/boot.c index 634a1eb9..5ccb24bc 100644 --- a/litex/soc/software/bios/boot.c +++ b/litex/soc/software/bios/boot.c @@ -452,6 +452,7 @@ static int copy_image_from_flash_to_ram(unsigned int flash_address, unsigned int if(length > 0) { printf("Copying %d bytes from 0x%08x to 0x%08x...\n", length, flash_address, ram_address); offset = 0; + init_progression_bar(length); while (length > 0) { uint32_t chunk_length; chunk_length = min(length, 0x8000); /* 32KB chunks */