From 05cb5f96a12143ebc45f243b6c86b206017b402c Mon Sep 17 00:00:00 2001 From: Florent Kermarrec Date: Fri, 12 Jun 2020 10:18:44 +0200 Subject: [PATCH] bios/boot: rewrite ROM boot description. --- litex/soc/software/bios/boot.c | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/litex/soc/software/bios/boot.c b/litex/soc/software/bios/boot.c index 1582c7b83..ce4b6e298 100644 --- a/litex/soc/software/bios/boot.c +++ b/litex/soc/software/bios/boot.c @@ -86,10 +86,11 @@ enum { /*-----------------------------------------------------------------------*/ #ifdef ROM_BOOT_ADDRESS -/* When firmware is small enough, it can be interesting to run code from an - embedded blockram memory (faster and not impacted by memory controller - activity). Define ROM_BOOT_ADDRESS for that and initialize the blockram - with the firmware data. */ +/* Running the application code from ROM is the fastest way to execute code + and could be interesting when the code is small enough, on large devices + where many blockrams are available or simply when the execution speed is + critical. Defining ROM_BOOT_ADDRESS in the SoC will make the BIOS jump to + it at boot. */ void romboot(void) { boot(0, 0, 0, ROM_BOOT_ADDRESS);