riscv: Add CSR numbers
authorBin Meng <bmeng.cn@gmail.com>
Wed, 12 Dec 2018 14:12:36 +0000 (06:12 -0800)
committerAndes <uboot@andestech.com>
Tue, 18 Dec 2018 01:56:27 +0000 (09:56 +0800)
commitea53f1c74272bd7b1d9c8a28df4ac145c72131dd
treeca62776a9b1f04df964623b80df6dd1dd8594546
parent3c276b27032f53bef478f9a2c05fd6923ad560bf
riscv: Add CSR numbers

The standard RISC-V ISA sets aside a 12-bit encoding space for up
to 4096 CSRs. This adds all known CSR numbers as defined in the
RISC-V Privileged Architecture Version 1.10.

Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
Reviewed-by: Lukas Auer <lukas.auer@aisec.fraunhofer.de>
Reviewed-by: Anup Patel <anup@brainfault.org>
arch/riscv/include/asm/encoding.h