generic: fu740: add workaround for CIP-1200 errata

Instruction TLB can fail to respect a non-global SFENCE thus we need to
flush the TLB using SFENCE.VMA x0, x0

See full description of CIP-1200 in Errata_FU740-C000_20210205 from
https://www.sifive.com/boards/hifive-unmatched

Signed-off-by: David Abdurachmanov <david.abdurachmanov@sifive.com>
Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
This commit is contained in:
David Abdurachmanov
2021-07-20 19:02:39 +02:00
committed by Anup Patel
parent 74db0acbe5
commit 217d5e4880
3 changed files with 39 additions and 0 deletions

View File

@@ -24,9 +24,11 @@
#include <sbi_utils/reset/fdt_reset.h>
extern const struct platform_override sifive_fu540;
extern const struct platform_override sifive_fu740;
static const struct platform_override *special_platforms[] = {
&sifive_fu540,
&sifive_fu740,
};
static const struct platform_override *generic_plat = NULL;