3 comments:
File src/soc/sifive/fu540/spi_flash.c:
Patch Set #22, Line 29: // Max desired SPI clock is 10MHz
why? is that a soc limit?
Not a limit, this is a desired value, used to ensure that FLASH can work, this comment may not be good
Patch Set #22, Line 40: int _initialize_spi_flash_mmap(
what does this function do?
This function is used to map flash to memory space and tells soc how to operate flash
Patch Set #22, Line 63: int initialize_spi_flash_mmap_single(
where's the difference to initialize_spi_flash_mmap_quad ?
These two functions are used to set the SPI to use how many data lines to transfer data. This setting is now moved to ffmt_rawbits, so repeat this feature.
To view, visit change 30466. To unsubscribe, or for help writing mail filters, visit settings.