bios/boot/copy_image_from_flash_to_ram: add missing init_progression_bar.

This commit is contained in:
Florent Kermarrec 2020-06-10 09:59:38 +02:00
parent df9146fb78
commit f7e06a7e3f
1 changed files with 1 additions and 0 deletions

View File

@ -452,6 +452,7 @@ static int copy_image_from_flash_to_ram(unsigned int flash_address, unsigned int
if(length > 0) { if(length > 0) {
printf("Copying %d bytes from 0x%08x to 0x%08x...\n", length, flash_address, ram_address); printf("Copying %d bytes from 0x%08x to 0x%08x...\n", length, flash_address, ram_address);
offset = 0; offset = 0;
init_progression_bar(length);
while (length > 0) { while (length > 0) {
uint32_t chunk_length; uint32_t chunk_length;
chunk_length = min(length, 0x8000); /* 32KB chunks */ chunk_length = min(length, 0x8000); /* 32KB chunks */