diff options
| author | Anup Patel <[email protected]> | 2023-02-13 10:20:30 +0530 |
|---|---|---|
| committer | Anup Patel <[email protected]> | 2023-02-27 11:26:35 +0530 |
| commit | 81adc62f45c0baf13112358164a327197e70a7af (patch) | |
| tree | 37afd08b27918809a2e3ee7090ba3108b45adc54 /platform/generic/include | |
| parent | 30ea8069f4c704e67017215f90f74b8588ee9bdf (diff) | |
lib: sbi: Align SBI vendor extension id with mvendorid CSR
As-per the SBI specification, the lower 24bits of the SBI vendor
extension id is same as lower 24bits of the mvendorid CSR.
We update the SBI vendor extension id checking based on above.
Signed-off-by: Anup Patel <[email protected]>
Diffstat (limited to 'platform/generic/include')
| -rw-r--r-- | platform/generic/include/platform_override.h | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/platform/generic/include/platform_override.h b/platform/generic/include/platform_override.h index a59b06a1..350c3811 100644 --- a/platform/generic/include/platform_override.h +++ b/platform/generic/include/platform_override.h @@ -27,7 +27,6 @@ struct platform_override { int (*extensions_init)(const struct fdt_match *match, struct sbi_hart_features *hfeatures); void (*fw_init)(void *fdt, const struct fdt_match *match); - int (*vendor_ext_check)(long extid, const struct fdt_match *match); int (*vendor_ext_provider)(long extid, long funcid, const struct sbi_trap_regs *regs, unsigned long *out_value, |
