mirror of
https://github.com/riscv-software-src/opensbi.git
synced 2026-10-24 04:32:05 +01:00
platform: generic: andes: add Andes SBI call to probe Andes PMA feature
Add a new Andes SBI call to check whether PPMA is supported by hardware or not. Signed-off-by: Ben Zong-You Xie <ben717@andestech.com> Reviewed-by: Anup Patel <anup@brainfault.org>
This commit is contained in:
1 parent
17100394f9
commit
4a72abb5f4
4 files changed
+25
-2
No files matched your search
@@ -19,6 +19,7 @@
|
||||
#include <sbi/sbi_ipi.h>
|
||||
#include <sbi/sbi_init.h>
|
||||
#include <andes/andes.h>
|
||||
#include <andes/andes_sbi.h>
|
||||
|
||||
static struct smu_data smu = { 0 };
|
||||
extern void __ae350_enable_coherency_warmboot(void);
|
||||
@@ -120,4 +121,5 @@ const struct platform_override andes_ae350 = {
|
||||
.final_init = ae350_final_init,
|
||||
.extensions_init = andes_pmu_extensions_init,
|
||||
.pmu_init = andes_pmu_init,
|
||||
.vendor_ext_provider = andes_sbi_vendor_ext_provider,
|
||||
};
|
||||
Reference in new issue
Block a user