platform: generic: Add Sifive FU540 TLB flush range limit override

We need to override the remote TLB flush range limit for SiFive FU540
so we add platform override to achieve this.

Signed-off-by: Anup Patel <anup.patel@wdc.com>
Reviewed-by: Atish Patra <atish.patra@wdc.com>
This commit is contained in:
Anup Patel
2020-04-28 09:35:32 +05:30
committed by Anup Patel
parent 2ba7087b09
commit 4f18c6e550
3 changed files with 39 additions and 1 deletions

View File

@@ -21,7 +21,11 @@
#include <sbi_utils/ipi/fdt_ipi.h>
#include <sbi_utils/reset/fdt_reset.h>
static const struct platform_override *special_platforms[] = { };
extern const struct platform_override sifive_fu540;
static const struct platform_override *special_platforms[] = {
&sifive_fu540,
};
static const struct platform_override *generic_plat = NULL;
static const struct fdt_match *generic_plat_match = NULL;