summaryrefslogtreecommitdiff
path: root/arch/riscv/include/asm/csr.h
diff options
context:
space:
mode:
authorLeo Yu-Chi Liang <ycliang@andestech.com>2023-12-26 14:17:32 +0800
committerLeo Yu-Chi Liang <ycliang@andestech.com>2023-12-27 17:29:07 +0800
commitc36eb2f91766642e41ce2e5895cce928e68ddc1f (patch)
treea708650c490519583a4f7fa6dc810cd5aa69254b /arch/riscv/include/asm/csr.h
parent670db88c79ce88ff6c053f6507404bd6752b664f (diff)
andes: csr.h: Clean up CSR definition
Signed-off-by: Leo Yu-Chi Liang <ycliang@andestech.com> Reviewed-by: Yu Chien Peter Lin <peterlin@andestech.com>
Diffstat (limited to 'arch/riscv/include/asm/csr.h')
-rw-r--r--arch/riscv/include/asm/csr.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/arch/riscv/include/asm/csr.h b/arch/riscv/include/asm/csr.h
index 1a15089cae9..986f951c31a 100644
--- a/arch/riscv/include/asm/csr.h
+++ b/arch/riscv/include/asm/csr.h
@@ -142,6 +142,7 @@
#define CSR_CYCLEH 0xc80
#define CSR_TIMEH 0xc81
#define CSR_INSTRETH 0xc82
+#define CSR_MARCHID 0xf12
#define CSR_MHARTID 0xf14
#ifndef __ASSEMBLY__