![]() |
RAFW Flexible Software Package Documentation
Release v2.0.1
|
|
Cache configuration settings.
Macros | |
| #define | dg_configCACHEABLE_QSPI_AREA_LEN |
| Set the size (in bytes) of the QSPI flash cacheable area. More... | |
| #define | dg_configCACHE_ASSOCIATIVITY |
| Set the associativity of the cache. More... | |
| #define | dg_configCACHE_LINESZ |
| Set the line size of the cache. More... | |
| #define dg_configCACHEABLE_QSPI_AREA_LEN |
Set the size (in bytes) of the QSPI flash cacheable area.
All reads from offset 0 up to (not including) offset dg_configCACHEABLE_QSPI_AREA_LEN will be cached. In addition, any writes to this area will trigger cache flushing, to avoid any cache incoherence.
The size must be 64KB-aligned, due to the granularity of CACHE_CTRL2_REG[CACHE_LEN].
Special values:
| #define dg_configCACHE_ASSOCIATIVITY |
Set the associativity of the cache.
Available values: 0 /// direct-mapped 1 /// 2-way set associative 2 /// 4-way set associative 3 /// leave as set by the ROM booter
| #define dg_configCACHE_LINESZ |
Set the line size of the cache.
Available values: 0 /// 8 bytes 1 /// 16 bytes 2 /// 32 byte 3 /// leave as set by the ROM booter