mirror of
https://github.com/enjoy-digital/litex.git
synced 2025-01-04 09:52:26 -05:00
35250f5b11
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). It can also be a fallback option in case boot from flash failed. To use this, define ROM_BOOT_ADDRESS and initialize the blockram with the firmware data.
9 lines
143 B
C
9 lines
143 B
C
#ifndef __BOOT_H
|
|
#define __BOOT_H
|
|
|
|
void serialboot(void);
|
|
void netboot(void);
|
|
void flashboot(void);
|
|
void romboot(void);
|
|
|
|
#endif /* __BOOT_H */
|