nuttx/arch/risc-v
Eero Nurkkala f5cdfa73dc risc-v/mpfs: clear L2 before use
SiFive document: "ECC Error Handling Guide" states:

"Any SRAM block or cache memory containing ECC functionality needs to be
initialized prior to use. ECC will correct defective bits based on memory
contents, so if memory is not first initialized to a known state, then ECC
will not operate as expected. It is recommended to use a DMA, if available,
to write the entire SRAM or cache to zeros prior to enabling ECC reporting.
If no DMA is present, use store instructions issued from the processor."

Clean the cache at this early stage so no ECC errors will be flooding later.

Signed-off-by: Eero Nurkkala <eero.nurkkala@offcode.fi>
2023-09-01 19:28:54 +08:00
..
include arch/risc-v: Add support for StarFive JH7110 SoC 2023-08-03 22:55:55 -07:00
src risc-v/mpfs: clear L2 before use 2023-09-01 19:28:54 +08:00
Kconfig risc-v/litex: Add system reset and access to core control registers. 2023-08-25 17:16:28 +08:00