summaryrefslogtreecommitdiff
path: root/platform/generic/include
diff options
context:
space:
mode:
Diffstat (limited to 'platform/generic/include')
-rw-r--r--platform/generic/include/andes/andes.h4
-rw-r--r--platform/generic/include/thead/c9xx_errata.h1
2 files changed, 5 insertions, 0 deletions
diff --git a/platform/generic/include/andes/andes.h b/platform/generic/include/andes/andes.h
index dd245171..dfa9f3c1 100644
--- a/platform/generic/include/andes/andes.h
+++ b/platform/generic/include/andes/andes.h
@@ -96,9 +96,13 @@ struct andes_hart_data {
unsigned long pmacfg0;
unsigned long pmacfg2;
unsigned long pmaaddrX[16];
+
+ /* Set when the CSRs above hold a saved copy awaiting restore */
+ bool saved;
};
void ae350_non_ret_save(struct sbi_scratch *scratch);
+void ae350_non_ret_discard(struct sbi_scratch *scratch);
void ae350_non_ret_restore(struct sbi_scratch *scratch);
void ae350_enable_coherency_warmboot(void);
diff --git a/platform/generic/include/thead/c9xx_errata.h b/platform/generic/include/thead/c9xx_errata.h
index 40c1587b..7a419e41 100644
--- a/platform/generic/include/thead/c9xx_errata.h
+++ b/platform/generic/include/thead/c9xx_errata.h
@@ -8,6 +8,7 @@
*/
#define THEAD_QUIRK_ERRATA_TLB_FLUSH BIT(0)
#define THEAD_QUIRK_ERRATA_THEAD_PMU BIT(1)
+#define THEAD_QUIRK_ERRATA_JTLB BIT(2)
void thead_register_tlb_flush_trap_handler(void);