diff options
| author | Yao Zi <[email protected]> | 2025-05-16 13:33:53 +0000 |
|---|---|---|
| committer | Anup Patel <[email protected]> | 2025-05-20 13:25:53 +0530 |
| commit | 60c3f97de840e6ad35494f9228fc83600d1dc5a2 (patch) | |
| tree | 1f7a47b4742a5acf322c9da476193630b7236e0c /lib/utils/cppc | |
| parent | 7e31dc80525f752d97c2c5a97eb4b9583054e8bc (diff) | |
lib: utils: fdt: Claim Zicntr if time CSR emulation is possible
OpenSBI is capable of emulating time CSR through an external timer
for HARTs that don't implement a full Zicntr extension. Let's add
Zicntr extension in the FDT if CSR emulation is active.
This avoids hardcoding the extension in the devicetree, which may
confuse pre-SBI bootloaders.
Signed-off-by: Yao Zi <[email protected]>
Reviewed-by: Anup Patel <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Anup Patel <[email protected]>
Diffstat (limited to 'lib/utils/cppc')
0 files changed, 0 insertions, 0 deletions
