[sw] bootloader: minor comment edits

This commit is contained in:
stnolting 2024-07-02 20:15:31 +02:00
parent 53b2ab16b2
commit 5532906ccd

View file

@ -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.
*