summaryrefslogtreecommitdiff
path: root/include/sbi
diff options
context:
space:
mode:
authorAnup Patel <anup.patel@wdc.com>2020-09-22 08:42:51 +0300
committerAnup Patel <anup@brainfault.org>2020-10-20 11:42:26 +0300
commite856462ac2f191216897a492b8ca02b5b1037e9c (patch)
tree05475f91a2b6bbb81306f04ae7cef1052baac916 /include/sbi
parent5fd99dbdaa39238ebed45df3ea7dc6b47424a583 (diff)
downloadopensbi-e856462ac2f191216897a492b8ca02b5b1037e9c.tar.xz
lib: sbi: Remove redundant sbi_hart_pmp_xyz() functions
The sbi_hart_pmp_get() and sbi_hart_pmp_check_addr() functions are not used anymore hence this patch removes these functions. Signed-off-by: Anup Patel <anup.patel@wdc.com> Reviewed-by: Atish Patra <atish.patra@wdc.com>
Diffstat (limited to 'include/sbi')
-rw-r--r--include/sbi/sbi_hart.h6
1 files changed, 0 insertions, 6 deletions
diff --git a/include/sbi/sbi_hart.h b/include/sbi/sbi_hart.h
index 2efe44d..79d745a 100644
--- a/include/sbi/sbi_hart.h
+++ b/include/sbi/sbi_hart.h
@@ -38,13 +38,7 @@ static inline ulong sbi_hart_expected_trap_addr(void)
unsigned int sbi_hart_mhpm_count(struct sbi_scratch *scratch);
void sbi_hart_delegation_dump(struct sbi_scratch *scratch);
unsigned int sbi_hart_pmp_count(struct sbi_scratch *scratch);
-int sbi_hart_pmp_get(struct sbi_scratch *scratch, unsigned int n,
- unsigned long *prot_out, unsigned long *addr_out,
- unsigned long *size);
void sbi_hart_pmp_dump(struct sbi_scratch *scratch);
-int sbi_hart_pmp_check_addr(struct sbi_scratch *scratch,
- unsigned long daddr, unsigned long mode,
- unsigned long attr);
int sbi_hart_pmp_configure(struct sbi_scratch *scratch);
bool sbi_hart_has_feature(struct sbi_scratch *scratch, unsigned long feature);
void sbi_hart_get_features_str(struct sbi_scratch *scratch,