From f7e06a7e3fd08f5a06f31c647dfbb448dde1ee99 Mon Sep 17 00:00:00 2001 From: Florent Kermarrec Date: Wed, 10 Jun 2020 09:59:38 +0200 Subject: [PATCH] bios/boot/copy_image_from_flash_to_ram: add missing init_progression_bar. --- litex/soc/software/bios/boot.c | 1 + 1 file changed, 1 insertion(+) diff --git a/litex/soc/software/bios/boot.c b/litex/soc/software/bios/boot.c index 634a1eb93..5ccb24bcf 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 */