URL
https://opencores.org/ocsvn/neorv32/neorv32/trunk
[/] [neorv32/] [trunk/] [sw/] [bootloader/] [bootloader.c] - Diff between revs 34 and 35
Go to most recent revision |
Show entire file |
Details |
Blame |
View Log
Rev 34 |
Rev 35 |
Line 413... |
Line 413... |
*
|
*
|
* @param src Source of executable stream data. See #EXE_STREAM_SOURCE.
|
* @param src Source of executable stream data. See #EXE_STREAM_SOURCE.
|
**************************************************************************/
|
**************************************************************************/
|
void get_exe(int src) {
|
void get_exe(int src) {
|
|
|
// is instruction memory (IMEM) read-only?
|
// is MEM implemented and read-only?
|
if (SYSINFO_FEATURES & (1 << SYSINFO_FEATURES_MEM_INT_IMEM_ROM)) {
|
if ((SYSINFO_FEATURES & (1 << SYSINFO_FEATURES_MEM_INT_IMEM_ROM)) &&
|
|
(SYSINFO_FEATURES & (1 << SYSINFO_FEATURES_MEM_INT_IMEM))) {
|
system_error(ERROR_ROM);
|
system_error(ERROR_ROM);
|
}
|
}
|
|
|
// flash image base address
|
// flash image base address
|
uint32_t addr = SPI_FLASH_BOOT_ADR;
|
uint32_t addr = SPI_FLASH_BOOT_ADR;
|
© copyright 1999-2025
OpenCores.org, equivalent to Oliscience, all rights reserved. OpenCores®, registered trademark.