Commit c0addfe7 authored by Olof Johansson's avatar Olof Johansson Committed by Anup Patel
Browse files

riscv_asm.h: Use CSR_<FOO> instead of <foo> for csr_read()



Some toolchains might not have all the CSRs available (as seen with
GCC 7.2). So, instead use the defined CSR_ values.

Signed-off-by: default avatarOlof Johansson <olof@lixom.net>
parent 30dfdf6e
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