bios/boot: rewrite ROM boot description.
This commit is contained in:
parent
bdcccb9216
commit
05cb5f96a1
|
@ -86,10 +86,11 @@ enum {
|
||||||
/*-----------------------------------------------------------------------*/
|
/*-----------------------------------------------------------------------*/
|
||||||
|
|
||||||
#ifdef ROM_BOOT_ADDRESS
|
#ifdef ROM_BOOT_ADDRESS
|
||||||
/* When firmware is small enough, it can be interesting to run code from an
|
/* Running the application code from ROM is the fastest way to execute code
|
||||||
embedded blockram memory (faster and not impacted by memory controller
|
and could be interesting when the code is small enough, on large devices
|
||||||
activity). Define ROM_BOOT_ADDRESS for that and initialize the blockram
|
where many blockrams are available or simply when the execution speed is
|
||||||
with the firmware data. */
|
critical. Defining ROM_BOOT_ADDRESS in the SoC will make the BIOS jump to
|
||||||
|
it at boot. */
|
||||||
void romboot(void)
|
void romboot(void)
|
||||||
{
|
{
|
||||||
boot(0, 0, 0, ROM_BOOT_ADDRESS);
|
boot(0, 0, 0, ROM_BOOT_ADDRESS);
|
||||||
|
|
Loading…
Reference in New Issue