aboutsummaryrefslogtreecommitdiff
path: root/lib/utils/serial
diff options
context:
space:
mode:
authorMayuresh Chitale <mchitale@ventanamicro.com>2022-04-11 08:34:10 +0530
committerAnup Patel <anup@brainfault.org>2022-04-11 08:34:10 +0530
commitd44568a0f2e6301d3ad77a48370b0bfef4bfe5a0 (patch)
treee8d11a4bc4516db5f3a0537d438c1e160bdc4657 /lib/utils/serial
parent499601a4fff98ff258076c010c980c5dbcc0c24d (diff)
downloadopensbi-d44568a0f2e6301d3ad77a48370b0bfef4bfe5a0.zip
opensbi-d44568a0f2e6301d3ad77a48370b0bfef4bfe5a0.tar.gz
opensbi-d44568a0f2e6301d3ad77a48370b0bfef4bfe5a0.tar.bz2
lib: sbi: Detect Smstateen CSRs at boot-time
Extend HART feature detection to discover Smstateen CSRs at boot-time and configure mstateen envcfg bit depending on availability of menvcfg CSR. Signed-off-by: Mayuresh Chitale <mchitale@ventanamicro.com> Reviewed-by: Xiang W <wxjstz@126.com> Reviewed-by: Anup Patel <anup@brainfault.org>
Diffstat (limited to 'lib/utils/serial')
0 files changed, 0 insertions, 0 deletions