diff options
| author | Samuel Holland <[email protected]> | 2024-07-10 07:26:06 -0700 |
|---|---|---|
| committer | Anup Patel <[email protected]> | 2024-07-24 10:42:46 +0530 |
| commit | 4afb57c9ebe27e29ce3777024bfc186991a8b4fe (patch) | |
| tree | 75e23b51f978c3d25b1053b5fc3cd42c5c261a70 /lib/utils/timer | |
| parent | f7a92f6b67bda221e96eb8dfa54e1eb162fa984f (diff) | |
lib: sbi_hsm: Save/restore menvcfg only when it exists
Attempting to access the menvcfg CSR raises an illegal instruction
exception on hardware which implements Sm1p11 or older.
Fixes: e9ee9678ba50 ("lib: sbi: fwft: add support for SBI_FWFT_PTE_AD_HW_UPDATING")
Signed-off-by: Samuel Holland <[email protected]>
Reviewed-by: Anup Patel <[email protected]>
Diffstat (limited to 'lib/utils/timer')
0 files changed, 0 insertions, 0 deletions
