mirror of
https://github.com/stnolting/neorv32.git
synced 2025-04-23 13:47:33 -04:00
[sw] bootloader: minor comment edits
This commit is contained in:
parent
53b2ab16b2
commit
5532906ccd
1 changed files with 5 additions and 3 deletions
|
@ -480,7 +480,7 @@ void start_app(int boot_xip) {
|
|||
/**********************************************************************//**
|
||||
* Bootloader trap handler. Used for the MTIME tick and to capture any other traps.
|
||||
*
|
||||
* @note Since we have no runtime environment, we have to use the interrupt attribute here.
|
||||
* @note Since we have no runtime environment we have to use the interrupt attribute here.
|
||||
**************************************************************************/
|
||||
void __attribute__((interrupt("machine"))) bootloader_trap_handler(void) {
|
||||
|
||||
|
@ -728,9 +728,9 @@ void print_hex_word(uint32_t num) {
|
|||
|
||||
|
||||
|
||||
// -------------------------------------------------------------------------------------
|
||||
// ##########################################################################################################
|
||||
// SPI flash driver functions
|
||||
// -------------------------------------------------------------------------------------
|
||||
// ##########################################################################################################
|
||||
|
||||
/**********************************************************************//**
|
||||
* Wake up flash from deep sleep state
|
||||
|
@ -744,6 +744,7 @@ void spi_flash_wakeup(void) {
|
|||
#endif
|
||||
}
|
||||
|
||||
|
||||
/**********************************************************************//**
|
||||
* Check if SPI and flash are available/working by making sure the WEL
|
||||
* flag of the flash status register can be set and cleared again.
|
||||
|
@ -774,6 +775,7 @@ int spi_flash_check(void) {
|
|||
#endif
|
||||
}
|
||||
|
||||
|
||||
/**********************************************************************//**
|
||||
* Read byte from SPI flash.
|
||||
*
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue