Commit f4cf6da7 authored by Alistair Francis's avatar Alistair Francis Committed by Anup Patel
Browse files

sbi_emulate_csr: Shift sbi_timer_value directly



csr_val is a tartget length based variable, so on 32-bit devices it's
only 32-bits. To avoid clearing the entire register perform both steps
in a single line.

Signed-off-by: default avatarAlistair Francis <alistair.francis@wdc.com>
parent 9f44d07d
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment