Skip to content

Commit

Permalink
[sw] bootloader: minor comment edits
Browse files Browse the repository at this point in the history
  • Loading branch information
stnolting committed Jul 2, 2024
1 parent 53b2ab1 commit 5532906
Showing 1 changed file with 5 additions and 3 deletions.
8 changes: 5 additions & 3 deletions sw/bootloader/bootloader.c
Original file line number Diff line number Diff line change
Expand Up @@ -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) {

Expand Down Expand Up @@ -728,9 +728,9 @@ void print_hex_word(uint32_t num) {



// -------------------------------------------------------------------------------------
// ##########################################################################################################
// SPI flash driver functions
// -------------------------------------------------------------------------------------
// ##########################################################################################################

/**********************************************************************//**
* Wake up flash from deep sleep state
Expand All @@ -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.
Expand Down Expand Up @@ -774,6 +775,7 @@ int spi_flash_check(void) {
#endif
}


/**********************************************************************//**
* Read byte from SPI flash.
*
Expand Down

0 comments on commit 5532906

Please sign in to comment.