We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent c606994 commit 9bda80bCopy full SHA for 9bda80b
ports/raspberrypi/supervisor/internal_flash.c
@@ -51,7 +51,9 @@ static void save_psram_settings(void) {
51
// We're about to invalidate the XIP cache, clean it first to commit any dirty writes to PSRAM
52
uint8_t *maintenance_ptr = (uint8_t *)XIP_MAINTENANCE_BASE;
53
for (int i = 1; i < 16 * 1024; i += 8) {
54
- maintenance_ptr[i] = 0;
+ // Background info: https://forums.raspberrypi.com/viewtopic.php?t=378249
55
+ maintenance_ptr[i] = 0; // Clean
56
+ maintenance_ptr[i - 1] = 0; // Explicitly invalidate
57
}
58
59
m1_timing = qmi_hw->m[1].timing;
0 commit comments